Pulse Trigger icon

Pulse Trigger

Triggers on new WhatsApp messages or status updates via Pulse

Pulse Trigger

AI-generated

Summary

Triggers on new WhatsApp messages or status updates via Pulse. Listens for incoming POST requests at /pulse-webhook and emits workflow items for each matching event.

Inputs

None.

Output shape

workflowData array where each element is { json: }. The event object contains details depending on the selected event types.

If no matching events are found, an empty array is returned.

Examples

Example 1: Receive a new text message

Events = ['message'] (default). The node receives a webhook payload containing entry[0].changes[0].value.messages[0] with type 'text'. The output will be a workflow item whose json includes event='message', from='...', type='text', timestamp='...', messageId='...', text='Hello', contactName='John Doe', phoneNumberId='1234567890'.

Example 2: Receive a status update for a sent message

Events = ['status']. The node receives a webhook payload containing entry[0].changes[0].value.statuses[0] with status='delivered'. The output will be a workflow item whose json includes event='status', messageId='...', status='delivered', recipientId='...', timestamp='...'.

Links

Discussion