# \[Solution\] WhatsApp/SMS/USSD Integration with RASA

**URL:** <https://forum.rasa.com/t/solution-whatsapp-sms-ussd-integration-with-rasa/48347>\
**Category:** Contributing Code\
**Tags:** rasa, whatsapp\
**Created:** [October 9, 2021, 4:04am UTC](https://forum.rasa.com/t/solution-whatsapp-sms-ussd-integration-with-rasa/48347 "2021-10-09T04:04:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandeep2213](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@sandeep2213](https://forum.rasa.com/u/sandeep2213)\
**Post date:** [October 9, 2021, 4:04am UTC](https://forum.rasa.com/t/solution-whatsapp-sms-ussd-integration-with-rasa/48347/1 "2021-10-09T04:04:43Z")

</div>

Hi All! Facing issues to integrate your rasa chatbot with WhatsApp, SMS, USSD due to lack of support of buttons across these platforms. I developed a solution for this problem. I **Boyinapalli Sandeep Dora** wrote an API that accepts rasa data format that is

```auto
{
     message : "",
     sender: "",
     metadata: {}
}

```

And converts the buttons, text, image into a beautiful format:

```auto
Text
Image
0 Button 1
1 Button 2
2 Button 3

```

And also converts the number 0 or 1 or 2 into rasa’s button payload. And vice-versa.

Check my GitHub Repo: [https://github.com/LEAGUEDORA/rasa-whatsapp-addon](https://github.com/LEAGUEDORA/rasa-whatsapp-addon) All you need to do is point out the messaging service callback URL to :5000/incoming and convert the message receiving part in the `whatsapp.py` file.

If you are facing any issues, create an issue in my GitHub repo

---

<div class="post-metadata">

**Author:** ![ChrisRahme](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/chrisrahme/32/15572_2.png) [@ChrisRahme](https://forum.rasa.com/u/ChrisRahme)\
**Post date:** [October 9, 2021, 12:59pm UTC](https://forum.rasa.com/t/solution-whatsapp-sms-ussd-integration-with-rasa/48347/2 "2021-10-09T12:59:00Z")

</div>

Awesome, thank you for sharing this!

---

<div class="post-metadata">

**Author:** ![sandeep2213](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@sandeep2213](https://forum.rasa.com/u/sandeep2213)\
**Post date:** [October 9, 2021, 1:30pm UTC](https://forum.rasa.com/t/solution-whatsapp-sms-ussd-integration-with-rasa/48347/3 "2021-10-09T13:30:29Z")

</div>

Thank you, Chris. I also wrote to RASA Team and suggested them to modify the code and add this into their channels, so that users can have seamless integration with whatsapp

---

<div class="post-metadata">

**Author:** ![ethanmiles](https://avatars.discourse-cdn.com/v4/letter/e/87869e/32.png) [@ethanmiles](https://forum.rasa.com/u/ethanmiles)\
**Post date:** [February 6, 2022, 12:25pm UTC](https://forum.rasa.com/t/solution-whatsapp-sms-ussd-integration-with-rasa/48347/4 "2022-02-06T12:25:16Z")

</div>

Thank you for solving this issue of rasa chatbot integration with WhatsApp… But I would like to know is it possible to integrate rasa chatbot with a WhatsApp third party app like this [gb whatsapp](https://gbapps.net/gbwhatsapp-apk/)?..thanks…

---

<div class="post-metadata">

**Author:** ![vaidehi](https://avatars.discourse-cdn.com/v4/letter/v/9fc348/32.png) [@vaidehi](https://forum.rasa.com/u/vaidehi)\
**Post date:** [November 9, 2022, 4:21am UTC](https://forum.rasa.com/t/solution-whatsapp-sms-ussd-integration-with-rasa/48347/5 "2022-11-09T04:21:07Z")

</div>

What changes needed in rasa bot end if I start running this flask server in one terminal .Just went through the repo so got confused. where to callback to be configure where is it in credential file

---

<div class="post-metadata">

**Author:** ![vaidehi](https://avatars.discourse-cdn.com/v4/letter/v/9fc348/32.png) [@vaidehi](https://forum.rasa.com/u/vaidehi)\
**Post date:** [November 15, 2022, 6:01am UTC](https://forum.rasa.com/t/solution-whatsapp-sms-ussd-integration-with-rasa/48347/6 "2022-11-15T06:01:01Z")

</div>

Did it solve if yes please tell me how I tried its not working for me
