Rasa integrate with whatsapp api

Can Rasa integrate with whatsapp api ,if yes then how?

Hi,

any news on this?

Did anyone get the his number approved by whatsapp business api?

Hello! I managed to join Rasa to Chat-Api (https://chat-api.com/). I use communication via CURL towards Rasa’s callback. The output is processed to avoid sending button structures to WhatsApp.

Hi @matias18233,

but did you need to get your whatsapp phone number approved for whatsapp business api?

It is not necessary, you can create a trial account (3 days demo) and try it with your personal number :rocket:

But I want to use it in production for more than 3 days.

Hi, @rasafan!

Unfortunately Chat-API is not free, you will have to pay a monthly fee to use it. The good thing is that they do not charge for individual message delivery, so you can send a large number of messages for the same price.

It is not problem to pay, but can I use my own number for wp business api with chat api?

Hello, @rasafan :slight_smile:

So is! You can use your personal number or a business phone number. Any of the options

Only one account is created and a session similar to “Web WhatsApp” is started. Once this is done, they will provide you with a token number and an identification number. These values ​​will be useful for communication with Rasa.

I use the Rasa callback to make the link. In the output, I transform the buttons into lists to avoid sending buttons to WhatsApp (since WhatsApp is not compatible with the buttons, at the moment :weary:).

WhatsApp Business API:

Twilio provides $ 15 to test Whatsapp through the sandbox, just create a webhook and consume Rasa using the HTTP API.

Another unofficial way is by using this project:GitHub - mukulhase/WebWhatsapp-Wrapper: An API for sending and receiving messages over web.whatsapp [Working as of 18th May 2018]

Hi, @Xaviertoor!

As a negative point of Twilio is that a commercial number is necessary. On the other hand, Chat-Api can be used from minute 1 with a commercial number or a personal number.

On the other hand, the GitHub link is excellent. I will read more about him.

To create a whatsapp chatbot with rasa, you would need to apply for whatsapp official API.

https://developers.facebook.com/docs/whatsapp/api/reference

there is also a Whatsapp API community about it Facebook Groups