{"id":821,"date":"2023-03-09T16:08:35","date_gmt":"2023-03-09T13:08:35","guid":{"rendered":"https:\/\/docs.unibell.ru\/?page_id=821"},"modified":"2025-02-07T07:32:46","modified_gmt":"2025-02-07T04:32:46","slug":"%d0%ba%d0%be%d0%bd%d1%81%d1%82%d1%80%d1%83%d0%ba%d1%82%d0%be%d1%80-%d1%81%d1%86%d0%b5%d0%bd%d0%b0%d1%80%d0%b8%d0%b5%d0%b2","status":"publish","type":"page","link":"https:\/\/docs.cpaas.mittoapi.net\/?page_id=821","title":{"rendered":"Scenario Builder"},"content":{"rendered":"\n<p>Scenario builder is used to create scenarios for incoming and outgoing calls in text and graphic format.<\/p>\n\n\n\n<h2 id=\"\u0441onstructor-access\" class=\"anchor\">Access to builder<\/h2>\n\n\n\n<p>To use the builder you can go to the &#8220;Apps and services&#8221; page (from the home page of your personal account) and click the &#8220;Voice bot&#8221; section.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder0-1.png\"><img decoding=\"async\" width=\"274\" height=\"331\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder0-1.png\" alt=\"\" class=\"wp-image-3348\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder0-1.png 274w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder0-1-248x300.png 248w\" sizes=\"(max-width: 274px) 100vw, 274px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder1.png\"><img decoding=\"async\" width=\"1024\" height=\"548\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder1-1024x548.png\" alt=\"\" class=\"wp-image-2959\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder1-1024x548.png 1024w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder1-300x160.png 300w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder1.png 1391w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Next you can choose any scenario for outgoing or incoming calls that has been already created or you can create a new one by clicking the \u2018+Add\u2019 button:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder2.png\"><img decoding=\"async\" width=\"1024\" height=\"627\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder2-1024x627.png\" alt=\"\" class=\"wp-image-2960\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder2-1024x627.png 1024w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder2-300x184.png 300w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder2.png 1371w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h2 id=\"synthesis_settings\" class=\"anchor\">Default synthesis settings<\/h2>\n\n\n\n<p>When creating an outgoing scenario, come up with a name for it by entering it in the &#8220;Name&#8221; field (required), a comment in the &#8220;Comment&#8221; field (you can leave it empty). By default, you can also select the provider, Tts language and Tts voice, but these settings can be changed according to your preferences.<\/p>\n\n\n\n<p>And when creating an incoming scenario, under the fields &#8220;Name&#8221; and &#8220;Comment&#8221; you will see a drop-down list &#8220;Number&#8221; to select the phone number to which calls will be received in this incoming scenario. At this stage, you can skip the phone number selection. <\/p>\n\n\n\n<p><strong>Important<\/strong><\/p>\n\n\n\n<p>The search for phone numbers will only work if you enter at least 4 characters.<\/p>\n\n\n\n<p><strong>Usage example<\/strong><\/p>\n\n\n\n<p>When adding or searching for a phone number to call (incoming call), the filter will start showing results only if you enter at least 4 characters.<\/p>\n\n\n\n<p>The settings of the synthesis provider, synthesis language, synthesis voice, recognition provider and recognition language are available and can be changed at your discretion.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/09\/scenario_builder3.png\"><img decoding=\"async\" width=\"1024\" height=\"456\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/09\/scenario_builder3-1024x456.png\" alt=\"\" class=\"wp-image-3824\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/09\/scenario_builder3-1024x456.png 1024w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/09\/scenario_builder3-300x134.png 300w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/09\/scenario_builder3.png 1636w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>In both cases (outgoing and incoming scripts), a pop-up list will be available in the default settings, in which<\/p>\n\n\n\n<ul>\n<li>The following options are available in the &#8220;Synthesis provider&#8221; field: Yandex.Tts and Sber.Tts;<\/li>\n\n\n\n<li>Different languages are available in the &#8220;Synthesis language&#8221; field, depending on the selected provider;<\/li>\n\n\n\n<li>In the &#8220;Synthesis voice&#8221; field, specific voices are available for each language: male, female, or both;<\/li>\n\n\n\n<li>In the &#8220;Recognition provider&#8221; field, the provider that will recognize speech is selected: Yandex.Tts and Sber.Tts;<\/li>\n\n\n\n<li>In the &#8220;Recognition language&#8221; field, different languages are available for speech recognition in the &#8220;<a href=\"https:\/\/docs.cpaas.mittoapi.net\/?page_id=835\">Recognition<\/a>&#8221; block depending on the selected provider.<\/li>\n<\/ul>\n\n\n\n<p>When creating script blocks, you can use other settings that will allow you to set different parameters for each block (see the <a href=\"https:\/\/docs.cpaas.mittoapi.net\/?page_id=1034\">Player<\/a>, <a href=\"https:\/\/docs.cpaas.mittoapi.net\/?page_id=1042\">IVR<\/a>).<\/p>\n\n\n\n<p>Please note that only one outgoing script can be created for one application. In the case of incoming scripts, you can create:<\/p>\n\n\n\n<ul>\n<li>without a phone number \u2014 unlimited number of scenarios;<\/li>\n\n\n\n<li>with a phone number \u2014 the number of scenarios cannot exceed the number of numbers allocated to you.<\/li>\n<\/ul>\n\n\n\n<p>Fill all the fields needed and click the button \u2019Save\u2019 that starts to be clickable after you fill the forms. This way a new scenario is being created and saved in the app and you will see the page of the scenario builder.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder4.png\"><img decoding=\"async\" width=\"1024\" height=\"635\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder4-1024x635.png\" alt=\"\" class=\"wp-image-2962\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder4-1024x635.png 1024w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder4-300x186.png 300w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder4.png 1372w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h2 id=\"\u0441onstructor-interface\" class=\"anchor\">Builder\u2019s interface <\/h2>\n\n\n\n<p>Scenario builder\u2019s working area consists of the following sections:<\/p>\n\n\n\n<ol>\n<li>Algorithm;<\/li>\n\n\n\n<li>Variables;<\/li>\n\n\n\n<li>Building area;<\/li>\n\n\n\n<li>Features of the block.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder5.png\"><img decoding=\"async\" width=\"1024\" height=\"659\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder5-1024x659.png\" alt=\"\" class=\"wp-image-2963\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder5-1024x659.png 1024w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder5-300x193.png 300w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder5.png 1354w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Algorithm section consists of the range of functional blocks that scenarios are created from. To put any block into your scenario you should drag it to the building area.<\/p>\n\n\n\n<p>Outgoing or Incoming call block (depending on whether you create an outgoing or an incoming scenario) is placed in the building area and is used as a start to create any scenario.<\/p>\n\n\n\n<p>After you place any of the blocks into the building area you will see the settings of it in the Features of the block field:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder6.png\"><img decoding=\"async\" width=\"1024\" height=\"714\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder6-1024x714.png\" alt=\"\" class=\"wp-image-2964\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder6-1024x714.png 1024w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder6-300x209.png 300w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder6.png 1342w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>To delete a functional block from the building area (from a scenario) you can click it and then click the close button on the top left corner.<\/p>\n\n\n\n<p>To connect two blocks (two events in a scenario) drag the mouse from the downside circle of one block (output) to the upside circle of another block (input). In the context of a scenario it means that event B starts after event A is over.<\/p>\n\n\n\n<p>Any block that is not connected to another one means the end of a scenario so after this block the system will end the call.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder7.png\"><img decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder7-1024x683.png\" alt=\"\" class=\"wp-image-2965\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder7-1024x683.png 1024w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder7-300x200.png 300w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder7.png 1326w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>To separate two blocks click the arrow and then the close button next to it.<\/p>\n\n\n\n<p>Added hotkeys for working with blocks in the scenario:<\/p>\n\n\n\n<ul>\n<li>Ctrl+C \u2014 copy;<\/li>\n\n\n\n<li>Ctrl+V \u2014 paste;<\/li>\n\n\n\n<li>Ctrl+X \u2014 cut;<\/li>\n\n\n\n<li>Delete\/Backspace \u2014 delete block;<\/li>\n\n\n\n<li>Holding Shift allows you to select multiple blocks.<\/li>\n<\/ul>\n\n\n\n<h2 id=\"variable\" class=\"anchor\">Variables<\/h2>\n\n\n\n<p>Variable in a scenario is an abstract link to a saved value. A value to a variable can be assigned while a scenario is being created or it can be assigned from the outside, for instance, from a list of subscribers from an uploaded file or from the call itself.<\/p>\n\n\n\n<p>Therefore direct value can be assigned to any variable that means \u2018variable is equal to\u2026\u2019. Or choose the option when a value to variable is assigned from the outside and put the variable\u2019s name into the brackets {}, for example, you can put a variable this way into a message text for the robot.<\/p>\n\n\n\n<p>You can create variables in the \u2018Variables\u2019 block. To create a new variable click the \u2018+Add\u2019 button and enter a name for it. The variable name can have alphabets and digits. Moreover you can add a description to the variable in the \u2018Comment\u2019 section or leave it empty.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder8.png\"><img decoding=\"async\" width=\"1024\" height=\"720\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder8-1024x720.png\" alt=\"\" class=\"wp-image-2966\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder8-1024x720.png 1024w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder8-300x211.png 300w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder8.png 1343w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>After clicking the &#8220;Save&#8221; button, the variable will be created and will appear in the &#8220;Variables&#8221; area, where all variables are sorted alphabetically.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder9.png\"><img decoding=\"async\" width=\"232\" height=\"334\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder9.png\" alt=\"\" class=\"wp-image-2967\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder9.png 232w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder9-208x300.png 208w\" sizes=\"(max-width: 232px) 100vw, 232px\" \/><\/a><\/figure>\n\n\n\n<p>You can create an unlimited number of variables and also delete them by clicking the trash icon.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Scenario builder is used to create scenarios for incoming and outgoing calls in text and graphic format. Access to builder To use the builder you can go to the &#8220;Apps and services&#8221; page (from the home page of your personal account) and click the &#8220;Voice bot&#8221; section. Next you can choose any scenario for outgoing <a href=\"https:\/\/docs.cpaas.mittoapi.net\/?page_id=821\" class=\"more-link\">&#8230;<span class=\"screen-reader-text\">  Scenario Builder<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":862,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"tpl\/scenario-personal.php","meta":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages\/821"}],"collection":[{"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=821"}],"version-history":[{"count":24,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages\/821\/revisions"}],"predecessor-version":[{"id":4147,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages\/821\/revisions\/4147"}],"up":[{"embeddable":true,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages\/862"}],"wp:attachment":[{"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=821"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}