{"id":3248,"date":"2024-08-15T14:43:42","date_gmt":"2024-08-15T11:43:42","guid":{"rendered":"https:\/\/docs.unibell.tech\/?page_id=3248"},"modified":"2024-08-15T15:06:17","modified_gmt":"2024-08-15T12:06:17","slug":"scenario-builder","status":"publish","type":"page","link":"https:\/\/docs.unibell.tech\/?page_id=3248","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\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder0-1.png\" alt=\"\" class=\"wp-image-3348\"\/><\/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\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder1-1024x548.png\" alt=\"\" class=\"wp-image-2959\"\/><\/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\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder2-1024x627.png\" alt=\"\" class=\"wp-image-2960\"\/><\/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>By default, the settings of the provider, Tts language and Tts voice are also available, which 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\/05\/scenario_builder3-1.png\"><img decoding=\"async\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder3-1-1024x403.png\" alt=\"\" class=\"wp-image-3320\"\/><\/a><\/figure>\n\n\n\n<p>In both cases of scenarios, a pop-up list will be available in the default settings, in which:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The following options will be available in the &#8220;Provider&#8221; field: Yandex.Tts and Sber.tts;<\/li>\n\n\n\n<li>In the &#8220;Tts language&#8221; field, different languages will be available depending on the selected provider;<\/li>\n\n\n\n<li>In the &#8220;Tts voice&#8221; field, certain voices (male, female, or both) will be available for each language.<\/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.unibell.tech\/?page_id=3250\">Player<\/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 class=\"wp-block-list\">\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\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder4-1024x635.png\" alt=\"\" class=\"wp-image-2962\"\/><\/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 class=\"wp-block-list\">\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\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder5-1024x659.png\" alt=\"\" class=\"wp-image-2963\"\/><\/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\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder6-1024x714.png\" alt=\"\" class=\"wp-image-2964\"\/><\/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\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder7-1024x683.png\" alt=\"\" class=\"wp-image-2965\"\/><\/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 class=\"wp-block-list\">\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\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder8-1024x720.png\" alt=\"\" class=\"wp-image-2966\"\/><\/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\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario_builder9.png\" alt=\"\" class=\"wp-image-2967\"\/><\/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.unibell.tech\/?page_id=3248\" class=\"more-link\">&#8230;<span class=\"screen-reader-text\">  Scenario Builder<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"tpl\/scenario-personal.php","meta":{"footnotes":""},"class_list":["post-3248","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=\/wp\/v2\/pages\/3248","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3248"}],"version-history":[{"count":2,"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=\/wp\/v2\/pages\/3248\/revisions"}],"predecessor-version":[{"id":3299,"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=\/wp\/v2\/pages\/3248\/revisions\/3299"}],"wp:attachment":[{"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}