Zalo User Trigger icon

Zalo User Trigger

Receive events from Zalo User and trigger workflows

Zalo User Trigger

AI-generated

Summary

Triggers a workflow when selected Zalo events occur, such as incoming messages, group updates, reactions, or recalled messages.

Inputs

  • events (required) — The types of Zalo events to listen for (Message, Group, Reaction, Undo).
  • includeSelfEvents (required) — Whether to process events originating from the authenticated Zalo account.
  • allowedThreadIds — Comma-separated list of user or group thread IDs to filter in. If omitted, all threads are allowed.
  • blockedThreadIds — Comma-separated list of user or group thread IDs to ignore.
  • getMetadata (required) — Whether to fetch additional profile and conversation details from Zalo to append to the event object.
  • webhookCallbackUrl — Optional webhook callback URL for Zalo Manager integration when Get Metadata is enabled.

Output shape

a list of items

Each output item contains an event object under json, the event type name, execution timestamp, and workflow_id. When Get Metadata is enabled, a metadata key with user and conversation profile data is included inside json.

Examples

Example 1: Listen for any incoming chat message

Events: ['Message'], Include Self Events: false, Get Metadata: false.

Example 2: Track reactions in specific Zalo groups with user metadata

Events: ['Reaction'], Allowed Thread IDs: '123456789,987654321', Get Metadata: true.

Links

Discussion