How to receive WhatsApp message in Make.com

You can receive WhatsApp messages in Make.com Scenarios using the Webhooks. This tutorial will show you step-by-step how to receive messages in Make and a few example about how to responde to these messages based on the content (WhatsApp message received). For example, if you want to implement your own WhatsApp chatbot using Make.com

More Instructions about Make.com:

  • If you want to send Text Messages from Make.com, please look at this post.

Step-by-step instructions on how to do it:

1) Create a new Scenario and add the “Webhook” App:

 

2) Selet “Custom webhook” Trigger

3) Create a new Webhook

4) Name the webhook (put any name) and Click “Save”

5) Copy the Webhook URL

For example: https://hook.us1.make.com/jrgt1ddqr3h5i3vffce9w4lq2hjvfks5
You can select and copy it manually or click “Copy address to clipboard”.

6) Click “Save”

7) Your Webhook is ready and waiting for messages. Now you need to configure the new Webhook in your TextMeBot API.

8) Open the TextMeBot Webhook configuration page using the following URL:

https://api.textmebot.com/webhook.php?apikey=<your_apikey>

Replace <your_apikey> by your actual APIkey.
For Example: https://api.textmebot.com/webhook.php?apikey=Gmfb4Wb2reBS

9) Click “Set Webhook”

10) Paste the URL that you copied in step 5 into the Webhook Endpoint field and Click “Set Webhook”

11) That’s it! Now all the messages received in your number will be sent to Make.Com

If you have any problem or questions, please contact me at [email protected]
Make.com is the easiest way to manage WhatsApp Messages.

How to Test the Webhook in Make.com

While the Scenario is running, send a whatsapp message to the number that is connected to the API and you will see the message coming into your Make Scenario inmediatelly.

  1. Please ensure that the Scenario is Running.

2. Send a WhatsApp message to your number and you should see the message coming into Make inmediatelly.

All the messages received will be visible in your Make webhook:

If you receive a message while the Scenario is not running, all the received messages will be in the Make Webook Queue

If you have any problem or questions, please contact me at [email protected]

How to use the WhatsApp Message received to react on a Make.com Scenario

You can use the data received to perform an Action. For example, if the message receivied is “Hello”, then answer “Hi! How are you doing?”.

For step-by-step instructions about how to Send a WhatsApp message using Make.com, please check instructions here.

0) Before seting up a Filter, send a test message while the Scenario is running. Doing that, you will see the field names like “from”, “from_name”, “message”, etc in the Filter conditions.

1) Set up a filter between the Webhook and the HTTP request that is used to send the message

2) Name the filter, complete the condition and “Save”

Please note that the Variable names will appear in the “Favorites” only when you send a test message while the Scenario is running.

3) That’s it. Now the next Action will only be actioned when the filter is met (Message = “Hello”)

If you have any problem or questions, please contact me at [email protected]