RASA: An Open source conversational AI, which made our work a lot easier. Many say it doesn’t require any programming skills. It is up to you to decide whether you need programming skills or not.
Rasa mainly has 2 main modules,
- Rasa NLU → which understands messages
- Rasa Core → it just decides what to do next.
I guess like me, you must also be not interested to look into theory blah blah blah stuff, so let’s get started.
Before proceeding with this, let me tell you about the version which I have used here.
Well, if you haven’t installed Rasa for building your conversational AI then, you can check out my other blog where I have written how to
Well, once all that is done you’re good to go.
With Whats App Business API, everyone is actually trying to integrate their chat bot with whats app and am also one of those techie out there who would love to do this and succeeded finally.
There’s no proper documentation yet to do this work and zero help from YouTube too.
Yupppp, you can go to YouTube and check out there ain’t just one video of Rasa integration with Whats app yet and so I just got the job done and will help you now what to do.
First now you need to get your own trial account with Twilio for integration of Whats App.
Create your Project Link
Enable Whats app sandbox under Programmable SMS
You need to send that join <your twilio whats app name> to that number. It will establish the connection.
Select Phone Number Link
Now you have to add Twilio channel to your RASA “credentials.yml”.
Now you can launch your Rasa chat bot,
Open up 3 different terminals and type out the following commands,
Terminal / cmd 1: rasa run -m models — enable-api
Terminal / cmd 2: rasa run actions
Terminal / cmd 3: ngrok http 5005 → 5005 is your local host port number
You terminal / cmd should look like the following,
Go the Step 2 i.e. Phone Number which you have activated,
Under Managed Number you will find out number which is active
Once you open that, you need to add your Rasa Twilio Webhook which looks like this,
Then once again scroll down and update the same as shown below
Select Programmable SMS
Then copy the ngrok link which you have hosted the http and not the https link and your supposed to update that in the Whats app beta sandbox,
Once you have update it save,
I guess you’re all good to go now, you can now chat with your own chat bot now.
If you wish to stay connected, LinkedIn Or just drop a mail to firstname.lastname@example.org, Happy to help..!!!