Overview
This node acts as a trigger for incoming WhatsApp events from a backend service. It is designed to listen for WhatsApp messages or events sent to a specified webhook URL and then trigger workflows in n8n based on those events. This is useful for automating responses, processing incoming messages, or integrating WhatsApp communication into broader automation workflows.
Use Case Examples
- Automatically respond to incoming WhatsApp messages.
- Log WhatsApp messages into a database.
- Trigger notifications or other workflows based on WhatsApp events.
Output
JSON
json- The JSON payload of the incoming WhatsApp event received from the webhook
Dependencies
- Requires an API key credential for WhatsApp API authentication to manage webhooks and receive events.
Troubleshooting
- Ensure the WhatsApp API credentials are correctly configured and have the necessary permissions.
- Verify that the webhook URL is correctly set and accessible from the WhatsApp backend service.
- If the webhook does not trigger, check if the webhook is properly registered with the WhatsApp API using the node's webhook management methods.
- Common errors may include authentication failures or network issues when registering or deleting webhooks. Verify credentials and network connectivity.