How do i add verification token for whatsapp business cloud trigger?

i am running n8n on my local machine, and i used ngrok to expose my webhook to meta. Now i have added the public exposed url to meca configs, but there is the verify token field. My whatsapp business cloud trigger does not have the verify token field. When i add chats as a trigger and prompt the agent, i get a whatsapp message response. But i cant seem to send a message from my whatsapp and trigger the ai agent.

how do i get the verification token on my n8n local instance and be able o trigger the agent from my whatsapp in my phone.



1 Like

So its a tad confusing.

The connections for the WhatsApp triggers are different than the connections for the WhatsApp Business nodes. Despite them being grouped together.

You can see this here:

Supported authentication methods#

Still not get it. I’ve read the whole documentation and there’s nothing explaining why pasting the url is not working. Can you give me more info, please?

Oh I see another issue.

So you have in “callback URL” a non-real url. ngrok-secure-url is not a domain name. Was that an accident?

I was getting the same issue. I found the answer.
Need to set an environment variable: WEBHOOK_VERIFY_TOKEN

How were you able to solve it, I also tried adding the environment variable: WEBHOOK_VERIFY_TOKEN but it didn’t work

I was using railway to host it. i am not so sure about local deployment… u using node.js or docker?

I’m using docker. I was able to solve it. The WEBHOOK_VERIFY_TOKEN variable is not needed.

I created a post and recieved a reply with the solution here: WhatsApp Trigger failing on Self-Hosted n8n. Where to set Meta Verify Token?