Whaapy Trigger
AI-generatedSummary
Starts a workflow when Whaapy sends a webhook for the selected event. It registers the n8n webhook URL with Whaapy on activation and removes it on deactivation.
Inputs
- Event (required) — Event to listen for: message.received (default), message.sent, message.delivered, message.read, message.failed, conversation.created, conversation.updated, conversation.handoff, or * for all events.
- Options — An empty collection with no configurable fields. The webhook secret is generated by Whaapy and sent in the X-Webhook-Signature header. The node does not verify it.
Output shape
One item per accepted webhook call with the fields event, timestamp, data, headers and raw.
event is body.event or body.type. timestamp is body.timestamp, or the current time if the body has none. data is body.data, then body.payload, then the whole body. headers holds the incoming request headers, and raw is the full body. If the selected event isn't *, a call for a different event produces no workflow data. n8n still replies immediately (responseMode onReceived). The node doesn't verify the signature. Requires a whaapyApi credential (baseUrl and apiKey). Webhook registration errors are swallowed and return false.
Examples
Example 1: Reply to incoming WhatsApp messages
Event = Message Received; connect downstream nodes that read data from the output.
Example 2: Alert when AI hands a chat to a human
Event = Conversation Handoff; send a Slack or email notification from the output.
Example 3: Log every Whaapy event
Event = All Events; route on the output's event field with a Switch node.