Actions48
- Get Actions
- Message Actions
- Friend Actions
- Group Actions
Message → Send Message
AI-generatedOverview
This node sends messages to a specified Zalo user or group. It supports sending text messages with optional attachments, styles, mentions, quotes, and message lifetime settings. It is useful for automating communication in Zalo chats, such as sending notifications, updates, or interactive messages to users or groups.
Use Case Examples
- Sending a text message to a Zalo user with attachments and styled text.
- Sending a message to a Zalo group mentioning specific users.
- Sending a message with a quoted previous message and setting message urgency.
Properties
| Name | Meaning |
|---|---|
| User/Group Id | ID of the Zalo User or Group to send the message to or to send typing events. |
| Message | Content of the message to be sent. |
| Thread Type | Type of conversation, either User or Group. |
| Attachments | Files to attach to the message, specified by file paths or URLs. |
| Styles | List of text styles and colors to apply to the message content. |
| Urgency | Priority level of the message. |
| Mentions | Users to mention in the message, with position and length. |
| Quote Message | Quoted message content to include in the message. |
| Message Lifetime | Time to live for the message before it expires. |
Output
JSON
success- Indicates if the message was sent successfully.data- Response data from the message sending operation.
Dependencies
- Zalo API or SDK for sending messages
Troubleshooting
- Ensure the User/Group ID is correct and the bot has permission to send messages to the target.
- Check that attachments paths or URLs are accessible and valid.
- Verify that the styles and mentions are correctly formatted.
- Handle API errors gracefully and check error messages for details.
Links
- Zalo Send Message API - Official documentation for sending messages via Zalo API.