{"id":265,"date":"2022-10-11T10:29:12","date_gmt":"2022-10-11T07:29:12","guid":{"rendered":"http:\/\/192.168.200.3:8082\/?page_id=265"},"modified":"2025-02-06T15:30:39","modified_gmt":"2025-02-06T12:30:39","slug":"%d1%81%d0%b1%d0%be%d1%80-%d1%81%d1%82%d0%b0%d1%82%d0%b8%d1%81%d1%82%d0%b8","status":"publish","type":"page","link":"https:\/\/docs.cpaas.mittoapi.net\/?page_id=265","title":{"rendered":"Collecting statistics from campaigns"},"content":{"rendered":"\n<p>By analyzing the values of certain variables obtained as a result of the campaign, you can generate useful statistics and use it in the future to create a variety of funnels.<\/p>\n\n\n\n<p>Let\u2019s consider a case in which we need to conduct an NPS survey (Net Promoter Score \u2014 \u00abcustomer loyalty index\u00bb) for a delivery restaurant using an automated call campaign.<\/p>\n\n\n\n<p><strong>Target:<\/strong><\/p>\n\n\n\n<p>\u201cTo conduct an automated survey of customers for satisfaction with the quality of service on a five-point scale and analyze the results.\u201d<\/p>\n\n\n\n<p><strong>Solution:<\/strong><\/p>\n\n\n\n<p>In the script designer, we create a script for an outgoing call of an upcoming survey, consisting of sequentially arranged blocks of the IVR, Variables and the Player and configure each of them.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario0.png\"><img decoding=\"async\" width=\"1024\" height=\"633\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario0-1024x633.png\" alt=\"\" class=\"wp-image-2884\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario0-1024x633.png 1024w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario0-300x186.png 300w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario0.png 1463w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>In the properties of the IVR block, we will write the text that the robot will say after the subscriber picks up the phone, for example:<\/p>\n\n\n\n<p>\u201cGood afternoon! Delivery restaurant \u00abDelicious! Quickly!\u00bb. We are conducting a survey among our clients. Use the keys from 1 to 5 to rate our service. Thanks!\u201d<\/p>\n\n\n\n<p>After that, we add the answer options to the IVR block: Key 1, Key 2,\u2026, Key 5.<\/p>\n\n\n\n<p>Next, in the Variables area, we will create a variable named \u201crating\u201d, in which the subscriber\u2019s response option will be saved.<\/p>\n\n\n\n<p>Now, under the IVR block, we will place 5 Variable blocks, each of which will contain the variable \u201crating\u201d, but have its own value for it (1,2,3,4,5) and connect them with arrows with the corresponding answer options of the IVR block.<\/p>\n\n\n\n<p>At the last step, we will place the Player block with the message:<\/p>\n\n\n\n<p>\u201cThank you for paying attention to our survey. Goodbye!\u201d<\/p>\n\n\n\n<p>Let\u2019s save the resulting script.<\/p>\n\n\n\n<p>Now we will create and launch a campaign in which the robot will conduct a survey among customers and collect data. And after its completion, we will go to the details, where in the \u201cScript variables\u201d column we will see which answer option each of the clients has chosen. In our example, this will be the value of the variable \u201cscore\u201d.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2023\/07\/collectin-statistics_2.png\"><img decoding=\"async\" width=\"1024\" height=\"191\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2023\/07\/collectin-statistics_2-1024x191.png\" alt=\"\" class=\"wp-image-2189\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2023\/07\/collectin-statistics_2-1024x191.png 1024w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2023\/07\/collectin-statistics_2-300x56.png 300w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2023\/07\/collectin-statistics_2.png 1551w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/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\/scenario1.png\"><img decoding=\"async\" width=\"1024\" height=\"445\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario1-1024x445.png\" alt=\"\" class=\"wp-image-2886\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario1-1024x445.png 1024w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario1-300x130.png 300w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/scenario1.png 1458w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p style=\"font-size:15px\">Thus, we have at our disposal the results of a survey of our customer base for satisfaction with the quality of service, which we can copy and paste from the detail table into Excel or any other tabular editor and use to build a funnel.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>By analyzing the values of certain variables obtained as a result of the campaign, you can generate useful statistics and use it in the future to create a variety of funnels. Let\u2019s consider a case in which we need to conduct an NPS survey (Net Promoter Score \u2014 \u00abcustomer loyalty index\u00bb) for a delivery restaurant <a href=\"https:\/\/docs.cpaas.mittoapi.net\/?page_id=265\" class=\"more-link\">&#8230;<span class=\"screen-reader-text\">  Collecting statistics from campaigns<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2,"menu_order":3,"comment_status":"closed","ping_status":"closed","template":"tpl\/personal-content.php","meta":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages\/265"}],"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=265"}],"version-history":[{"count":15,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages\/265\/revisions"}],"predecessor-version":[{"id":4140,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages\/265\/revisions\/4140"}],"up":[{"embeddable":true,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages\/2"}],"wp:attachment":[{"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=265"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}