Zalo Message Trigger icon

Zalo Message Trigger

Sự kiện lắng nghe tin nhắn trên Zalo

Zalo Message Trigger

AI-generated

Summary

Listen for incoming Zalo messages from users and groups, optionally including self-sent messages, and trigger the workflow with either a legacy or normalized event payload.

Inputs

  • Output Mode — Choose how the trigger event payload is returned to the workflow: as a legacy raw webhook body or a normalized event payload.
  • Event Types (required) — Select which types of message threads to listen for: user messages, group messages, or both.
  • Self Listen (required) — Enable to listen to messages sent by yourself in addition to those from others.

Output shape

a JSON array containing a single object representing the incoming Zalo message event

The object structure depends on the Output Mode: 'legacy' mode returns the raw message in a single 'message' property; 'normalized' mode returns a standardized event structure including event name, type, thread info, timestamp, and raw data. The trigger automatically listens to messages on credentialed Zalo account and emits events matching selected filters.

Examples

Example 1: Trigger workflow on any incoming user or group message except self-sent

Event Types set to User Messages and Group Messages, Self Listen disabled, Output Mode set to Legacy

Example 2: Trigger workflow on normalized events from group messages including self-sent

Event Types set to Group Messages, Self Listen enabled, Output Mode set to Normalized

Links

Discussion