Affibot Trigger icon

Affibot Trigger

Handle WhatsApp events via Affibot webhooks

Affibot Trigger

AI-generated

Summary

Filter incoming WhatsApp webhook events and return matching bodies on the main output.

Inputs

None.

Output shape

main

Returns the webhook body as a JSON array when the received event matches the selected events parameter; otherwise returns no data.

Examples

Example 1: Message event selected

When 'message' is chosen in the Events parameter, the node triggers on incoming WhatsApp messages and passes the webhook payload forward.

Example 2: Session event selected

When 'session' is chosen, the node triggers on session status changes instead.

Links

Discussion