Actions28
- Messages Actions
- Media Actions
- Templates Actions
- Contacts Actions
- Analytics Actions
- Webhooks Actions
Overview
This node provides enhanced integration with the WhatsApp Business API through the "N8N Tools - WhatsApp Enhanced" package. Specifically, for the Webhooks resource and the Parse Webhook Data operation, it allows users to input raw webhook data received from WhatsApp and parse it into a structured format that can be used further in n8n workflows.
This operation is beneficial when you want to process incoming WhatsApp webhook events (such as messages, status updates, or notifications) within your automation workflows. Instead of manually handling raw JSON payloads, this node parses the webhook data into a more usable form.
Practical example:
You receive webhook data from WhatsApp about an incoming message. Using this node's Parse Webhook Data operation, you convert the raw webhook JSON into structured data fields, which you can then use to trigger other actions like sending automated replies, logging conversations, or updating CRM records.
Properties
| Name | Meaning |
|---|---|
| Webhook Data | The raw webhook JSON data to parse. This should be the exact JSON payload received from WhatsApp webhooks. |
Output
The output contains a json field with the parsed webhook data transformed into a structured object. This parsed data represents the meaningful content extracted from the raw webhook payload, such as message details, sender information, event types, timestamps, etc.
No binary data output is indicated for this operation.
Dependencies
- Requires an active subscription and valid API key credential for the N8N Tools API service.
- The node internally uses the WhatsApp API helper class from the bundled
whatsapp-apimodule to perform parsing. - Proper configuration of credentials in n8n for accessing the N8N Tools API is necessary.
- No additional environment variables are explicitly required beyond standard n8n credential setup.
Troubleshooting
- Invalid subscription or API key error: If the node throws errors related to invalid subscription or API key, verify that the API key credential is correctly configured and active.
- Malformed webhook data: Ensure the input webhook JSON is well-formed and exactly matches the expected structure from WhatsApp webhooks. Parsing will fail if the JSON is incomplete or corrupted.
- Continue on Fail: If enabled, the node will continue processing subsequent items even if one fails parsing, returning error details in the output.