N8n WhatsApp integration

Hello, I am making a workflow in n8n and it has a trigger that waits for a WhatsApp message. Here is the problem: I saw a lot of videos where people make the connection between WhatsApp and n8n using third-party apps like WAAPI, but this disappeared (I can’t find this application anymore).
Also, I want to make the connection like a professional, so I have an account in Meta for Developers, an account in Meta Business, and I have an app in Meta for Developers. This app has 2 tools: WhatsApp and Webhooks. I don’t understand how I should configure all this to make the workflow work.
My main problem is that when I configure the Webhook tool, it tells me that I must enter a token, and I don’t understand what this is because the node in n8n (the trigger) doesn’t say anything about it.
This problem started when I added a number to use a bot, because I am trying to put my workflow in production and I can’t do this with the test number.

Hey! I struggled with this too at first because I didn’t understand what that “token” Meta asked for in the Webhooks setup was. After testing, I realized that this token doesn’t come from n8n or Meta — you make it up yourself. It’s just a word or string you choose to prove the webhook is yours (for example: mytoken123).

Here’s what I did:

  1. In n8n I created a Webhook Trigger and copied the URL.

  2. In Meta for Developers, under Webhooks, I pasted that URL into the Callback URL field.

  3. In the Verify Token field I wrote the value I invented (mytoken123).

  4. Saved it, and Meta automatically sent a verification request to my webhook.

Once the verification passed, my workflow was receiving messages.

Then came the second part: moving from test to production. For that you can’t use the test number anymore, you need to register your real number in WhatsApp Business Manager and use a Permanent Access Token (generated in Meta Business → System Users). That’s the token I use in n8n when I send messages back through an HTTP node.

In short:

  • The “token” for Webhooks is one you create.

  • The “access token” for sending messages is the one Meta gives you.

cuando hizo clic en verificar y guardar La URL de devolución de llamada o el token de verificación no se pudieron validar. Verifique la información proporcionada o intente más tarde. ocurrió este error.

@JAYESH_PATEL1 abre tu URL de callback en un navegador con esto añadido:

?hub.mode=subscribe&hub.verify_token=mytoken123&hub.challenge=12345

Lo que regresa te dice la causa:

  1. Muestra 12345, el endpoint está bien, solo haz clic en Verify y guarda de nuevo.
  2. Muestra JSON como {“message”:“Workflow was started”}, estás en un nodo Webhook simple. Meta necesita que hub.challenge se devuelva como texto plano, así que cambia al nodo WhatsApp Trigger, o establece Respond to Using Respond to Webhook node y devuelve {{ $json.query[‘hub.challenge’] }} como Text.
  3. Muestra 404 o webhook no registrado, el workflow no está Active.

El banner de aplicación sin publicar en rojo no está relacionado, eso solo afecta la entrega de mensajes en vivo, no la verificación.