twilio-studio

Twilio Studio - how to play back gathered digits individually?

对着背影说爱祢 提交于 2021-01-29 06:49:30
问题 In Twilio Studio, I am attempting to play back digits gathered by a "Gather Input On Call" widget. I have the following text specified to be spoken aloud: "You entered {{widgets.GatherPIN.Digits}}." When this message plays, I hear something like: "You entered one thousand three hundred twenty four," rather than, "You entered one - three - two - four." How can I specify that each digit should be read aloud individually? 回答1: SSML in Studio is currently not officially supported by Twilio, so it

How do I send an incoming message to flex and also call a function? Connect 2 actions to 1 trigger

試著忘記壹切 提交于 2020-01-16 09:09:08
问题 Trying to connect 2 actions from 1 trigger in the message flow. I want to connect a function that will run after an incoming message arrives and also send this message to flex from their pre-made widget. I am using twilio message flow widgets and functions. 来源: https://stackoverflow.com/questions/58102014/how-do-i-send-an-incoming-message-to-flex-and-also-call-a-function-connect-2-ac

Twilio : Setting phone number for the outgoing call widget

霸气de小男生 提交于 2020-01-14 18:50:23
问题 In the below widget, the field NUMBER TO CALL cannot be edited. So, how do we set the value of the phone number that needs to be called 回答1: You can't change the NUMBER TO CALL in Twilio Studio for this case. The {{contact.channel.address}} value comes in as the To parameter for the Trigger widget when you make the POST request to Studio's REST API. So, you'll have to pass the number when you trigger the flow. Docs: (https://www.twilio.com/docs/studio/user-guide#rest-api) 来源: https:/

Twilio : Setting phone number for the outgoing call widget

拜拜、爱过 提交于 2020-01-14 18:50:17
问题 In the below widget, the field NUMBER TO CALL cannot be edited. So, how do we set the value of the phone number that needs to be called 回答1: You can't change the NUMBER TO CALL in Twilio Studio for this case. The {{contact.channel.address}} value comes in as the To parameter for the Trigger widget when you make the POST request to Studio's REST API. So, you'll have to pass the number when you trigger the flow. Docs: (https://www.twilio.com/docs/studio/user-guide#rest-api) 来源: https:/

LIQUID TEMPLATE LANGUAGE Twilio Studio Variables

萝らか妹 提交于 2019-12-13 04:28:07
问题 Does anyone know how I can assign liquid template language variables to widget variables? {% assign name='{{widgets.send_and_reply_3.inbound.Body}}'%} This does not seem to work. I have removed the '' and that does not work either. Thanks in advance! 回答1: Twilio developer evangelist here. When using widget variables within other liquid tags you don't need to include the { or } brackets. So this should work for you: {% assign name = widgets.send_and_reply_3.inbound.Body %} 来源: https:/

Twilio Studio HTTP Post Request Header

不打扰是莪最后的温柔 提交于 2019-12-13 03:25:19
问题 I am trying to use the Http Request Widget, content type - application/json. I do not see an option to add a request header to supply a token. This .Net code gets a success response: string str = "Hello Webservice"; string url = "https://website.com/webserviceurl.php"; HttpClient httpClient = new HttpClient(); httpClient.DefaultRequestHeaders.Add("token", "xxxx"); HttpResponseMessage response = await httpClient.PostAsync(url, new StringContent(str)); In Twilio Studio I tried setting the

twilio studio does not allow headers in http requests if the body is JSON

感情迁移 提交于 2019-12-11 06:05:04
问题 I am designing an IVR with Twilio studio, so it remains modular and flexible. At some point I have to use the widget "http request" to an external application. When I complete the widget, if I select content type "Application/JSON" instead of "Form URL Encoded" (this is needed by my external application), then the field of the hearders dissapears and it is not possible annymore to specify a Authorization/Bearer like a normal POST request. If I switch back to "From URL encoded", then the field

How can i add pause to Twilio studio Say/Play widget

耗尽温柔 提交于 2019-11-28 06:18:40
问题 I have a say widget > "Hello ... Thanks" I've tried add a pause string like twilML to that element like so > "Hello <Pause length="10"/> ... Thanks" but it just speaks out the Pause length="10" section how can i add a pause to a Say/Play widget ? 回答1: According to Twilio documentation on widgets, pauses can be added by placing space separated periods, where 15 of these is equivalent to 1 second delay. So, the following Text to say would have a 1 second delay between sentences: Hello, John! .