WhatsApp Gateway Trigger icon

WhatsApp Gateway Trigger

Dispara quando o WhatsApp Gateway envia um evento (mensagem, status da sessão)

WhatsApp Gateway Trigger

AI-generated

Summary

Receives selected WhatsApp Gateway events through an n8n webhook and starts the workflow with each delivery as JSON. On activation, it registers the webhook with the gateway; on deactivation, it removes it.

Inputs

  • Events (required) — Select one or more event types to receive, or All Events. Defaults to Message (Received/Sent).
  • Session (Name or ID) — Optionally limit deliveries to one session by name or ID. Leave blank to receive events from all sessions.
  • Verify Signature — When enabled, registers a webhook secret and validates each delivery's HMAC-SHA512 signature from the x-webhook-signature header. Uses the credential's webhookSecret if set; otherwise generates a secret.

Output shape

One n8n item containing the webhook request body as JSON for each accepted delivery.

Requires the WhatsApp Gateway API credential. If signature verification is enabled and the signature is missing or invalid, the webhook responds with HTTP 401 and does not start the workflow.

Links

Discussion