How to let bot start the Twilio SMS conversation first?

Hi,

I need to make python application. Python code have to provide phone number to Rasa. Rasa will send SMS to client via Twilio.

Could you help me? How can I implement it?

Regards, Oleg

Hi @olegtropinin you can read about how to connect to twilio here

Hi, @akelad. Thank you for answer. This documentation page show how to connect Rasa to Twilio. When client send SMS to Twilio phone number. Message go to Rasa. Rasa send response to client.

I need another way of use. I have phone number of client. I want to provide phone number to Rasa. Rasa will send SMS to client using Twilio connection. In short. Rasa create first SMS in conversation.

You can do that with the trigger_intent endpoint, please take a look here

Hi @olegtropinin I’ve very similar situation for my bot. Could you make it happen? I have problems to start conversations from a python script and sending the answer to other channel (twilio). Any help would be great, as the documentation is not very helpy… THANKS!

Hi @adrianpizani not sure if it is still relevant for you but maybe it will be useful for anyone else. you can use trigger_intent for this purposes but specify output channel like: “http://localhost:5005/conversations/whatsapp:+1409900990099/trigger_intent?output_channel=twilio