How to integrate my microsoft bot framework (depoyed on azure) with whatsapp using twilio?

Anonymous
2024-11-05T10:04:14.6366667+00:00

Hello,
I want your help, I developed my microsoft bot framework and tested it on the bot framework emulator and worked perfectly (the dialog's flow's logic), and deployed the bot on azure as well.
Now I am trying to integrate the deployed chatbot on whatsapp using twilio but it doesn't work please if you can help me it would be much appreciated!
Please note that on twilio I have a trial account so I am using the whatsapp sandbox of twilio, y personal number and a trial number provided by twilio and am using the node.js for the development of the chatbot

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
941 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SriLakshmi C 6,010 Reputation points Microsoft External Staff Moderator
    2024-11-05T17:00:21.1633333+00:00

    Hello rama chaker,

    Welcome to Microsoft Q&A! Thanks for posting the question.

    To integrate your Microsoft Bot Framework with WhatsApp using Twilio, begin by ensuring that your Twilio account is properly set up, either with a trial account or a full subscription. You'll need to fetch your Twilio ACCOUNT SID and AUTH TOKEN from the Twilio console. In your Customer Service or Contact Center admin center, create a new WhatsApp channel by providing the necessary account details and connecting your Twilio number to your WhatsApp Business Profile. Ensure that you configure the message types according to WhatsApp's guidelines, adhering to the 24-hour session rule for session messages and using approved template messages afterward. Finally, set up your Twilio sandbox for testing by entering the inbound URL in the WhatsApp sandbox settings and sending a test message to validate the integration. This will enable your chatbot to engage effectively with customers on WhatsApp, enhancing their overall experience.

    For more details, please refer these documents

    Configure WhatsApp channel through Twilio

    Connect a bot to Twilio (SMS) - Bot Service

    Whats App Channel in the healthcare agent service

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful.

    Thank you!


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.