Zalo Send Message icon

Zalo Send Message

Send text, image, and video messages through a Zalo Web session

Send Message

AI-generated

Summary

Send a text message to a Zalo user or group, optionally with mentions and images. The node can also include images from incoming item JSON or binary data, sending them in batches when needed.

Inputs

  • Thread ID (required) — The recipient user or group ID.
  • Thread Type — Choose User or Group; defaults to Group.
  • Message — Text to send. If mentions need labels and Auto Append Mention Labels is enabled, missing @Name or @All labels are appended.
  • Urgency — Message urgency: Default, Important, or Urgent.
  • Mentions — Mention entries with a UID and optionally a position and length in the message. Mentions can also be supplied on each input item as zaloMentions, mentions, or mention.
  • Auto Append Mention Labels — Defaults to enabled. Adds a missing mention label to the message when its position and length are not provided.
  • Image URLs — Image sources separated by newlines or |. The node also reads imageUrls and imageUrl from each input item's JSON.
  • Attachments — Additional image URLs entered as attachment entries.
  • Image Batch Size — Maximum images per Zalo request; defaults to 10.
  • Image Batch Delay MS — Delay between image batches in milliseconds; defaults to 800.
  • Skip Failed Images — Defaults to enabled. Skips image sources that fail preparation if others succeed; an error is returned if all requested images fail.
  • Binary Images — Choose whether to omit binary data, include selected binary properties, or include all image-type binary properties.
  • Binary Property Names — Comma or newline separated names of binary properties to include when Binary Images is set to Selected Binary Properties.

Output shape

One output item per input item, containing a JSON result.

Successful results include success, threadId, send response data, cookie status, and image and mention details. Images may cause multiple send requests; responses contains each result and response is the last one. When continuing on failure is enabled, failures are returned as items with success false and error details; otherwise the node raises an operation error.

Links

Discussion