Reputation: 1
Is there any way to make the Autopilot start the conversation. What i need is, I have Customer Mobile Numbers and i need to send to them a automated WhatsApp Message. and based on there inputs, Autopilot response to them.
Thanks,
Upvotes: 0
Views: 505
Reputation: 3300
Twilio developer evangelist here.
Welcome to StackOverflow!
You can initiate a session with the user without the user greeting the bot by connecting the trigger widget's Rest API
trigger event to either a make outgoing call
or, in your case, the send message
widget, as shown below.
Then, if the call is answered or the message is sent, you can connect those actions to the Send to Autopilot
widget, below.
Lastly, under the config
section of your Send to Autopilot
widget, put in the Collection task you want to run when the outbound call or message is initiated by your Twilio client and not the user.
Let me know if this helps :D
Upvotes: 0
Reputation: 10771
you should be able to initiate a conversation using one of your WhatsApp approved templates using the Twilio Messages resources. Once the user responds (and the 24 hour free form text opens), you can configure the Webhook for WhatsApp to execute your Autopilot assistant.
Twilio WhatsApp production sender and template creation
Twilio API for WhatsApp *(Send an outbound freeform WhatsApp Message)
Upvotes: 1