Zalo Friend Trigger
AI-generatedSummary
Listen for specified friend-related events on Zalo and trigger a workflow when these events occur. Return the event data in either legacy webhook format or a normalized payload according to the chosen output mode.
Inputs
- Output Mode — Select how the trigger event data is returned in the workflow output, either as a legacy-format webhook body or a normalized event payload.
- Event Types (required) — Choose one or more friend event types to listen for, such as friend requests, friend added, friend removed, block, unblock, and related events.
Output shape
A JSON object representing the friend event data as received via webhook POST. The shape corresponds to either the legacy webhook body containing raw event data or a normalized payload including event name, type, thread ID, and additional metadata.
The output payload format depends on the selected Output Mode parameter. Multiple event types can be listened to simultaneously. Errors during webhook creation or event posting raise node execution errors.
Examples
Example 1: Trigger a workflow when receiving friend requests on Zalo, returning normalized event data.
Output Mode set to 'Normalized', Event Types set to 'Friend Requests'.