Blogs

Here is where we discuss everything from strategy and technology to creativity and coding. Go ahead and have fun exploring.

Integrate RASA With Whatsapp
RASA

Integrate RASA With Whatsapp

March 29, 2020

RASA is an opensource framework for building AI-powered chatbots. You can use RASA to create awesome bots for various channels such as Facebook, Telegram, Slack, etc.

After the announcement of Whatsapp Business API, everyone has been trying to find a way to integrate Rasa with Whatsapp and create engaging bots for the world’s most used messaging platform. When I was trying to do the same, there were no proper guidelines for doing the same and it was super hard to figure out an easy way to do this.

Somehow I managed to make it work using Twilio Whatsapp APIs. I’m going to share those steps in this blog.

I’m assuming you have a trained chatbot using Rasa. If not, go here

Implementation of leading API management platforms comes with heavy weight components and at a high cost. Even after successful implementation, maintenance remains a challenge in terms of resource availability. Adopting lean custom built API management platforms will help enterprises overcome this.

Step 1

Signup for a Twilio account here

Step 2

Create a project

Step 3

Enable Whatsapp sandbox under Programmable SMS

Step 4

Add Twilio channel to your RASA credentials.yml.

More info here

Step 5

Launch your rasa instance. You can use ngrok to get a public https URL for your bot instance. More info here Your URL will look something like this https://cde07de9.ngrok.io

Step 6

Add your Rasa Twilio Webhook to Sandbox configuration

https://.ngrok.io/webhooks/twilio/webhook/

Step 7

Finally follow the instruction here to join the WhatsApp sandbox from your mobile number

That's it! Now you have your RASA bot integrated with Whatsapp 😌 😍

Latest Updates

  • Ethics

    Ethics in Everything

    Nobody has a problem in being a Law-abiding person. But when it comes to areas where a definite Law or policy has not been enacted, the discretion is at the mercy of ethical values the person holds.

    September 7, 2018
  • Products

    Two Factors that influence to build successful products

    Every product is unique on its own and has a life cycle. After the product is introduced, it is hand held by the creator till it reaches the growth stage.

    June 20, 2018
  • DIGITAL TRANSFORMATION

    Relooking Digital Transformation at the Grassroot Level

    Any Transformation will be complete only if it takes into account all its integral constituent entities. It is heartening to see the pace at which developing countries like India is embracing technology in payments, education etc.

    May 13, 2018