Zalo CN Unified Trigger icon

Zalo CN Unified Trigger

Bộ trigger hợp nhất cho Zalo: lắng nghe tin nhắn + sự kiện kết bạn + sự kiện nhóm trên cùng 1 WebSocket. Dùng Switch node để phân loại event.

Zalo CN Unified Trigger

AI-generated

Summary

Listen to incoming Zalo events including incoming messages (personal and group), friend events, and group events over a WebSocket connection, optionally forwarding them to other workflows via specified webhook URLs.

Inputs

  • listenMessage — Boolean option to listen for incoming messages from individuals and groups (default: true).
  • listenFriendEvent — Boolean option to listen for friend-related events such as friend requests (default: true).
  • listenGroupEvent — Boolean option to listen for group-related events such as join, leave, or kick events (default: true).
  • selfListen — Boolean option to include events and messages sent by yourself (default: false).
  • routeWorkflows — Optional collection of routing rules to forward particular event types (Message User, Message Group, Friend Event, Group Event) to specified webhook URLs of other workflows.

Output shape

a stream of event objects corresponding to Zalo messages and events

The node outputs event data via its webhook trigger; the events are delivered as JSON objects with fields depending on the event type (message, friend_event, or group_event). If routing is configured, the node also forwards events to other specified workflows asynchronously.

Links

Discussion