Whatsapp trigger not working

Hello, I am trying to make a bot with whatsapp but as soon as I stopped using the test number it stopped working. Im not receiving any messages, and the number appears as offline in Meta.

The business is verified too

Hi @carlos_van_kurczyn

Test phone numbers provided by Meta for the WhatsApp Business API are intended for development purposes and come with limitations.

Test phone numbers allow you to send free messages for 90 days.

image

That’s probably the reason that the number appears as offline in Meta

Hey!

What I meant is that test number works perfectly. But as soon as I changed to a real number it is not working.

The number on meta platform appears as offline. And also on n8n I did make sure to change the business id

Hey.

I had a maybe similar issue. When I was working with the WhatsApp trigger node, the web-hook was only responding to the messages sent to the test number, so anything sent to the production number was being ignored.

I finally found out that you need to subscribe your production number to the WABA (WhatsApp Business Account) with:

curl -X POST \
  -H "Authorization: Bearer $TOKEN" \
  "https://graph.facebook.com/v22.0/$WABA_ID/subscribed_apps"

Where $WABA is your Whatsapp Business Account ID for the production number found in the app dashboard in the meta developers platform

2 Likes

Hey! thanks for the help. Im not a tech person so sorry if its this very dumb.

But where should I put that?

thanks in advance

Well, that should be sent to the meta API from whatever platform you are using, thats on their docs, it can be a terminal command, a python script or whatever, I personally use Postman.