Commit 072038bd by Pavel Fedorov

сценарий собран, проверка запуска

1 parent eb12ee3f
...@@ -168,6 +168,24 @@ ...@@ -168,6 +168,24 @@
"excludes":[ "excludes":[
"я не знаю" "я не знаю"
] ]
},
"ididnt_watch": {
"includes": [
"ну я просто не полностью булановой бинари",
"у меня вырубило интернет",
"я не был",
"я не была",
"не посещала",
"не посещал",
"я иллюминаторы не посещала",
"просто оставляла данные хотела",
"не я посещал",
"не посмотрел",
"не посмотрела",
"я даже не смотрела",
"у меня интернет что то обрываться"
],
"excludes":[]
} }
} }
} }
\ No newline at end of file
...@@ -102,9 +102,11 @@ node helpful_pos ...@@ -102,9 +102,11 @@ node helpful_pos
} }
transitions transitions
{ {
positive: goto send_it on #messageHasSentiment("positive") || #messageHasIntent("send_it");
negative: goto dont_need on #messageHasSentiment("negative");
} }
} }
node helpful_neg //pair2 node helpful_neg //pair2
{ {
do do
...@@ -118,6 +120,7 @@ node helpful_neg //pair2 ...@@ -118,6 +120,7 @@ node helpful_neg //pair2
understood: goto understood on true; understood: goto understood on true;
} }
} }
node understood //pair3 node understood //pair3
{ {
do do
...@@ -132,6 +135,7 @@ node understood //pair3 ...@@ -132,6 +135,7 @@ node understood //pair3
negative: goto dont_need on #messageHasSentiment("negative"); negative: goto dont_need on #messageHasSentiment("negative");
} }
} }
node send_it node send_it
{ {
do do
...@@ -146,6 +150,7 @@ node send_it ...@@ -146,6 +150,7 @@ node send_it
negative: goto no_whatsapp on #messageHasSentiment("negative") || #messageHasIntent("no_whatsapp"); negative: goto no_whatsapp on #messageHasSentiment("negative") || #messageHasIntent("no_whatsapp");
} }
} }
node dont_need node dont_need
{ {
do do
...@@ -159,6 +164,7 @@ node dont_need ...@@ -159,6 +164,7 @@ node dont_need
negative: goto thanks_bye_2 on #messageHasSentiment("negative") || #messageHasIntent("not_interested"); negative: goto thanks_bye_2 on #messageHasSentiment("negative") || #messageHasIntent("not_interested");
} }
} }
node thanks_bye_2 node thanks_bye_2
{ {
do do
...@@ -172,6 +178,7 @@ node thanks_bye_2 ...@@ -172,6 +178,7 @@ node thanks_bye_2
do_before_exit: goto do_before_exit; do_before_exit: goto do_before_exit;
} }
} }
node yes_whatsapp node yes_whatsapp
{ {
do do
...@@ -184,6 +191,7 @@ node yes_whatsapp ...@@ -184,6 +191,7 @@ node yes_whatsapp
end_conversation: goto end_conversation; end_conversation: goto end_conversation;
} }
} }
node no_whatsapp node no_whatsapp
{ {
do do
...@@ -196,7 +204,16 @@ node no_whatsapp ...@@ -196,7 +204,16 @@ node no_whatsapp
{ {
thanks_bye: goto thanks_bye on true; thanks_bye: goto thanks_bye on true;
} }
onexit
{
thanks_bye: do
{
var contact = #getMessageText();
set $another_phone_number = external numbers_from_text(contact);
}
}
} }
node thanks_bye node thanks_bye
{ {
do do
...@@ -210,6 +227,7 @@ node thanks_bye ...@@ -210,6 +227,7 @@ node thanks_bye
end_conversation: goto end_conversation; end_conversation: goto end_conversation;
} }
} }
node can_talk //могу говорить node can_talk //могу говорить
{ {
do do
...@@ -223,8 +241,72 @@ node can_talk //могу говорить ...@@ -223,8 +241,72 @@ node can_talk //могу говорить
{ {
positive: goto helpful_pos on #messageHasSentiment("positive"); positive: goto helpful_pos on #messageHasSentiment("positive");
negative: goto helpful_neg on #messageHasSentiment("negative"); negative: goto helpful_neg on #messageHasSentiment("negative");
didnt_whatc: goto not_present on #messageHasIntent("ididnt_watch");
} }
} }
node not_present // Давайте проведем бесплатный Зум, где вы за полчаса
{
do
{
#say("free_zoom");
wait*;
}
transitions
{
positive: goto zoom_positive on #messageHasSentiment("positive");
negative: goto zoom_negitive on #messageHasSentiment("negative");
}
}
node zoom_positive // Ожидайте звонка. Всего доброго, до свидания!
{
do
{
#say("zoom_positive");
goto do_before_exit;
}
transitions
{
do_before_exit: goto do_before_exit;
}
}
node zoom_negitive // Подскажите, пожалуйста, а что Вас смущает?
{
do
{
#say("zoom_negative");
wait*;
}
transitions
{
retry: goto retry on true;
}
}
node retry // За полчаса мы можем показать вам точки роста вашей карточки.
{
do
{
#say("retry");
wait*;
}
transitions
{
positive: goto zoom_positive on #messageHasSentiment("positive");
negative: goto thanks_bye_2 on #messageHasSentiment("negative");
}
}
node cant_talk_rn //не могу говорить node cant_talk_rn //не могу говорить
{ {
do do
......
...@@ -155,41 +155,7 @@ ...@@ -155,41 +155,7 @@
"text": "Ваше обращение принято и будет направлено на соответствующего сотрудника. В ближайшее время сотрудник Вам перезвонит. Благодарю за Ваше обращение. Всего доброго. До свидания." "text": "Ваше обращение принято и будет направлено на соответствующего сотрудника. В ближайшее время сотрудник Вам перезвонит. Благодарю за Ваше обращение. Всего доброго. До свидания."
} }
], ],
"ask_company_name": [
{
"text": "Подскажите, название Вашей организации?"
}
],
"request_accepted": [
{
"text": "Ваше обращение принято и будет направлено на соответствующего сотрудника. В ближайшее время сотрудник Вам перезвонит."
}
],
"get_client_request": [
{
"text": "Опишите, пожалуйста, суть вопроса/ситуации."
}
],
"get_cell_phone": [
{
"text": "Тогда продиктуйте мобильный, что бы мы смогли 100% дозвониться Вам"
}
],
"check_is_shared": [
{
"text": "Подскажите, по этому номеру наш специалист сможет дозвониться напрямую к вам или это общий номер?"
}
],
"get_phone_suffix": [
{
"text": "Подскажите, пожалуйста, ваш добавочный номер, чтобы менеджер мог дозвониться к вам напрямую"
}
],
"get_another_phone": [
{
"text": "Продиктуете ваш контактный номер телефона"
}
],
"willcall": [ "willcall": [
{ {
"text": "Оставайтесь на связи, наш менеджер свяжется с вами в течение 15 минут" "text": "Оставайтесь на связи, наш менеджер свяжется с вами в течение 15 минут"
...@@ -286,6 +252,27 @@ ...@@ -286,6 +252,27 @@
{ {
"text": "Поняла Вас. Благодарю за уделенное время, всего доброго." "text": "Поняла Вас. Благодарю за уделенное время, всего доброго."
} }
],
"free_zoom":[
{
"text": "Тогда предлагаю провести для вас бесплатный Зум, за полчаса вы освоите большинство фишек сервиса, согласны?"
}
],
"zoom_positive":[
{
"text": "Отлично! Наш менеджер свяжется с Вами для согласования даты и времени. Ожидайте звонка. Всего доброго, до свидания!"
}
],
"zoom_negative":[
{
"text": "вас что то смущает?"
}
]
,
"retry":[
{
"text": "За полчаса мы можем показать вам точки роста вашей карточки. Вы поймёте на что сделать упор. Это ни к чему не обязывает и требует всего 30 минут времени, согласны?"
}
] ]
}, },
...@@ -304,23 +291,11 @@ ...@@ -304,23 +291,11 @@
"yes_i_am_a_robot": {}, "yes_i_am_a_robot": {},
"is_that_all": {}, "is_that_all": {},
"end_conversation": {}, "end_conversation": {},
"something_else":{}, "free_zoom":{},
"im_wrighting":{}, "zoom_positive":{},
"work_greetings": {}, "zoom_negative":{},
"work_goodbye": {}, "retry":{}
"ask_company_name": {},
"request_accepted": {},
"get_client_request": {},
"get_cell_phone": {},
"check_is_shared": {},
"get_phone_suffix": {},
"get_another_phone": {},
"willcall": {},
"phone_number": {},
"kontakt_nomer": {},
"thanks_foryour_time": {},
"otherposib": {},
"keep_in_touch": {}
} }
} }
} }
\ No newline at end of file
{ {
"node::root": { "node::root": {
"common.position": { "common.position": {
"x": 600, "x": 517.9082477902639,
"y": 0 "y": -103.3776291578932
} }
}, },
"node::caller_id": { "node::caller_id": {
"common.position": { "common.position": {
"x": 573.5712618840289, "x": 528.505811773166,
"y": 129.43367020903653 "y": 37.849045790186
} }
}, },
"node::end_conversation": { "node::end_conversation": {
"common.position": { "common.position": {
"x": 600, "x": 528.7129149640887,
"y": 1090.3536507636595 "y": 297.97028247987566
} }
}, },
"node::do_before_exit": { "node::do_before_exit": {
"common.position": { "common.position": {
"x": 567.9587737432382, "x": 532.9780457429673,
"y": 822.8981982625207 "y": 434.93012407769817
} }
}, },
"node::repeat_or_ping_hangup": { "node::repeat_or_ping_hangup": {
"common.position": { "common.position": {
"x": 0, "x": 1198.1492701147708,
"y": 415 "y": 232.90242370502384
} }
}, },
"node::hello_hangup": { "node::hello_hangup": {
"common.position": { "common.position": {
"x": 0, "x": 1192.871079497525,
"y": 220 "y": 483.9095308622843
} }
}, },
"node::dont_understand_hangup": { "node::dont_understand_hangup": {
"common.position": { "common.position": {
"x": 0, "x": 1200,
"y": 715 "y": -195.48788147488085
} }
}, },
"node::conversation_done": { "node::conversation_done": {
...@@ -79,74 +79,74 @@ ...@@ -79,74 +79,74 @@
}, },
"node::ping": { "node::ping": {
"common.position": { "common.position": {
"x": 0, "x": 1192.871079497525,
"y": 315 "y": 357.2255249379655
} }
}, },
"node::repeat": { "node::repeat": {
"common.position": { "common.position": {
"x": 0, "x": 1200,
"y": 515 "y": 100.66203654621364
} }
}, },
"node::repeat_hangup_params": { "node::repeat_hangup_params": {
"common.position": { "common.position": {
"x": 600, "x": 1200,
"y": 530 "y": 797.1255592747959
} }
}, },
"node::repeat_preprocessor": { "node::repeat_preprocessor": {
"common.position": { "common.position": {
"x": 600, "x": 1200,
"y": 475 "y": 711.9149305472893
} }
}, },
"node::hello_preprocessor": { "node::hello_preprocessor": {
"common.position": { "common.position": {
"x": 585.529768787269, "x": 1200,
"y": 611.8732865379292 "y": 898.079242903782
} }
}, },
"node::hello": { "node::hello": {
"common.position": { "common.position": {
"x": 0, "x": 1200,
"y": 115 "y": 1398.2812005686826
} }
}, },
"node::hangup": { "node::hangup": {
"common.position": { "common.position": {
"x": 0, "x": 1200,
"y": 20 "y": 1266.0393848965912
} }
}, },
"node::dont_understand_preprocessor": { "node::dont_understand_preprocessor": {
"common.position": { "common.position": {
"x": 600, "x": 1200,
"y": 370 "y": 1104.9199698844689
} }
}, },
"node::dont_understand": { "node::dont_understand": {
"common.position": { "common.position": {
"x": 0, "x": 1200,
"y": 810 "y": -322.1718873991997
} }
}, },
"node::dont_understand_hangup_params": { "node::dont_understand_hangup_params": {
"common.position": { "common.position": {
"x": 600, "x": 1200,
"y": 420 "y": 626.7043018197826
} }
}, },
"node::can_hear_you": { "node::can_hear_you": {
"common.position": { "common.position": {
"x": 582.4290049559694, "x": 1200,
"y": 684.2763418631273 "y": 977.4869167758536
} }
}, },
"node::exit_dig": { "node::exit_dig": {
"common.position": { "common.position": {
"x": 0, "x": 1200,
"y": 615 "y": -52.69111308157926
} }
}, },
"node::no_message": { "node::no_message": {
...@@ -238,5 +238,95 @@ ...@@ -238,5 +238,95 @@
"x": 2680, "x": 2680,
"y": 425.40569848894876 "y": 425.40569848894876
} }
},
"node::cant_talk_rn": {
"common.position": {
"x": 539.3895427947649,
"y": 188.10230376939322
}
},
"node::can_talk": {
"common.position": {
"x": 0,
"y": -127.6146348080104
}
},
"node::thanks_bye": {
"common.position": {
"x": -1520,
"y": -645.2734329873446
}
},
"node::no_whatsapp": {
"common.position": {
"x": -1201.493710691824,
"y": -820.6185914652003
}
},
"node::yes_whatsapp": {
"common.position": {
"x": -1200,
"y": -471.41632819016826
}
},
"node::thanks_bye_2": {
"common.position": {
"x": -920,
"y": -41.11145328245487
}
},
"node::dont_need": {
"common.position": {
"x": -920,
"y": -203.2541915207347
}
},
"node::send_it": {
"common.position": {
"x": -920,
"y": -643.093056278675
}
},
"node::understood": {
"common.position": {
"x": -600,
"y": -456.0096450099001
}
},
"node::helpful_neg": {
"common.position": {
"x": -320,
"y": -264.0282233948906
}
},
"node::helpful_pos": {
"common.position": {
"x": -320,
"y": 70.80459026304402
}
},
"node::can_hear_you_preprocessor": {
"common.position": {
"x": 1193.5743605033206,
"y": 1187.6509145454877
}
},
"node::not_present": {
"common.position": {
"x": -320,
"y": 334.9670811997074
}
},
"node::zoom_positive": {
"common.position": {
"x": -320,
"y": 479.64169381107496
}
},
"node::zoom_negitive": {
"common.position": {
"x": -320,
"y": 617.9331306990881
}
} }
} }
\ No newline at end of file
File mode changed
*.txt
*.log
*.debug
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!