-
Notifications
You must be signed in to change notification settings - Fork 0
/
.studio.json
1 lines (1 loc) · 3.22 KB
/
.studio.json
1
{"sid":"FW41c48a1cc7a87b98708641d7a6339f97","accountSid":"AC43b8a5d6bc45d4f656967166a24ceb2d","friendlyName":"My first flow","definition":{"states":[{"transitions":[{"event":"incomingMessage"},{"event":"incomingCall","next":"gather_input"},{"event":"incomingRequest"}],"type":"trigger","name":"Trigger","properties":{"offset":{"y":50,"x":250}}},{"transitions":[{"event":"keypress","next":"split_key_press"},{"event":"speech","next":"split_speech_result"},{"event":"timeout"}],"type":"gather-input-on-call","name":"gather_input","properties":{"stop_gather":false,"language":"en","gather_language":"en","say":"Hello there, how can we direct your call? Press 1 for sales, or say sales. To reach support, press 2 or say support.","loop":1,"timeout":5,"offset":{"y":250,"x":290},"voice":"alice","speech_timeout":"auto","finish_on_key":"","profanity_filter":"true"}},{"transitions":[{"event":"noMatch"},{"conditions":[{"type":"equal_to","friendly_name":"1","arguments":["{{widgets.gather_input.Digits}}"],"value":"1"}],"event":"match","next":"connect_call_to_sales"},{"conditions":[{"type":"equal_to","friendly_name":"2","arguments":["{{widgets.gather_input.Digits}}"],"value":"2"}],"event":"match","next":"connect_call_to_support"}],"type":"split-based-on","name":"split_key_press","properties":{"input":"{{widgets.gather_input.Digits}}","offset":{"y":510,"x":100}}},{"transitions":[{"event":"noMatch"},{"conditions":[{"type":"matches_any_of","friendly_name":"sales","arguments":["{{widgets.gather_input.SpeechResult}}"],"value":"sales"}],"event":"match","next":"connect_call_to_sales"},{"conditions":[{"type":"matches_any_of","friendly_name":"support","arguments":["{{widgets.gather_input.SpeechResult}}"],"value":"support"}],"event":"match","next":"connect_call_to_support"}],"type":"split-based-on","name":"split_speech_result","properties":{"input":"{{widgets.gather_input.SpeechResult}}","offset":{"y":510,"x":510}}},{"transitions":[{"event":"callCompleted"}],"type":"connect-call-to","name":"connect_call_to_sales","properties":{"to":"15555551234","noun":"number","caller_id":"{{contact.channel.address}}","offset":{"y":750,"x":100}}},{"transitions":[{"event":"callCompleted"}],"type":"connect-call-to","name":"connect_call_to_support","properties":{"to":"15555555678","noun":"number","caller_id":"{{contact.channel.address}}","offset":{"y":750,"x":520}}}],"initial_state":"Trigger","flags":{"allow_concurrent_calls":true},"description":"IVR"},"status":"published","revision":8,"commitMessage":"Merged impekablemeek flow. (Branch: studio/flex) to production flow on twilio. Updated .studio.json on github. Created a github release FWb0955cc41d99700d1e78557b67681f62.json.","valid":true,"errors":[],"warnings":[],"dateCreated":"2021-02-23T08:13:02.000Z","dateUpdated":"2021-04-29T21:05:03.000Z","webhookUrl":"https://webhooks.twilio.com/v1/Accounts/AC43b8a5d6bc45d4f656967166a24ceb2d/Flows/FW41c48a1cc7a87b98708641d7a6339f97","url":"https://studio.twilio.com/v2/Flows/FW41c48a1cc7a87b98708641d7a6339f97","links":{"test_users":"https://studio.twilio.com/v2/Flows/FW41c48a1cc7a87b98708641d7a6339f97/TestUsers","revisions":"https://studio.twilio.com/v2/Flows/FW41c48a1cc7a87b98708641d7a6339f97/Revisions","executions":"https://studio.twilio.com/v2/Flows/FW41c48a1cc7a87b98708641d7a6339f97/Executions"}}