Zalo Gửi tin nhắn by diginno.net
AI-generatedSummary
Send a Zalo message to a user or group using the required Zalo API credentials. Choose text with optional formatting, mentions, a quote, and attachments, or send a video, contact card, bank card, link, or voice message; you can also upload a file to Zalo without sending a message.
Inputs
- Thread ID (required) — Conversation ID to send to.
- Type — Choose User (default) or Group.
- Content type — Choose Text/Image (default), Video, Contact Card, Bank Card, Link Preview, Voice, or Upload Only.
- Text message options — For Text/Image, provide the required message. Optionally enable Markdown formatting, choose urgency, set a message TTL in milliseconds, quote a message using its IDs, sender, content, and timestamp, or mention group members with @[uid] or @all. Add multiple attachments from public URLs or local server paths; URL lists and local path lists accept JSON arrays or comma-separated values.
- Video options — Choose a public URL or a binary property from an earlier node. For URL videos, provide the video URL and optionally a thumbnail URL. Set the optional caption, duration, dimensions, and TTL; automatic metadata is enabled by default. Binary videos are uploaded to Catbox to obtain a public video URL, and a thumbnail is generated and hosted automatically. Automatic metadata and thumbnail generation require ffprobe and ffmpeg, respectively; sending fails if no thumbnail URL is obtained.
- Contact card options — Provide the required user ID for the contact card; phone number and TTL are optional.
- Bank card options — Provide the required bank BIN and account number; account holder name is optional.
- Link options — Provide the required URL; accompanying text and TTL are optional.
- Voice options — Provide the required audio file URL and optionally set a TTL.
- Upload-only option — Provide a file URL to upload to Zalo without sending a message.
Output shape
One output item per input item, with a JSON result describing the operation and Zalo API response.
Successful results include success, threadId, threadType, messageType, and response; text results also include messageContent, and video results include video-specific details. With Continue On Fail enabled, a failed item returns success: false and an error; otherwise the node throws an item-scoped error. Attachments for text messages are downloaded or read from the n8n server, then temporary downloaded files are cleaned up.