Zalo CN Message Trigger icon

Zalo CN Message Trigger

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

Zalo CN Message Trigger

AI-generated

Summary

Listen for incoming messages from Zalo users or groups based on selected event types, optionally including messages sent by the user itself.

Inputs

  • Event Types (required) — Select which types of Zalo messages to listen for: user messages, group messages, or both.
  • Self Listen (required) — Choose whether to receive events for messages sent by the authenticated Zalo user itself.

Output shape

A JSON array containing the raw message data received from Zalo as webhook events.

The trigger emits one output per received message matching the selected event types. It relies on a webhook internally and requires valid Zalo credentials. Messages sent by the user are only included if 'Self Listen' is enabled.

Examples

Example 1: Listening to both user and group messages excluding self-sent messages

Set 'Event Types' to both 'User Messages' and 'Group Messages', and 'Self Listen' to false. The trigger will emit an event whenever any other Zalo user or group sends a message.

Example 2: Listening only to user messages including own sent messages

Set 'Event Types' to 'User Messages' only, and enable 'Self Listen' to true. The trigger fires for all user messages, including those sent by the authenticated user.

Links

Discussion