Actions17
- Get Actions
- Message Actions
- Friend Actions
- Group Actions
Overview
This n8n custom node allows you to send a sticker message to a Zalo user or group. Zalo is a popular messaging platform, and this node is useful for automating the sending of stickers based on workflow triggers or other automation logic. Typical use cases include:
- Sending automated sticker responses in customer support workflows.
- Notifying users or groups with fun or branded stickers as part of marketing campaigns.
- Enhancing chatbot interactions by including stickers.
Practical Example:
When a new lead is added to your CRM, automatically send a "congratulations" sticker to a Zalo group to notify your sales team.
Properties
Below are the input properties relevant to the Message → Send Sticker Message operation:
| Display Name | Type | Required | Description |
|---|---|---|---|
| User/Group Id | String | Yes | ID của Zalo User/Group để gửi tin nhắn đến. (The recipient's Zalo user or group ID) |
| Thread Type | Options | Yes | Loại cuộc trò chuyện. User hoặc Group. (Type of conversation: User or Group) |
| Sticker Keywords | String | Yes | Từ khóa của sticker. Ví dụ: cute, funny (Keywords for selecting the sticker, e.g., "cute", "funny") |
Output
The output of this node is a JSON object for each item processed. The structure typically includes:
{
"success": true,
"data": {
// Details about the sent sticker message, such as message ID, timestamp, etc.
}
}
- If the operation is successful,
successwill betrue, anddatawill contain information about the sent message. - In case of an error, the output will include an error message and stack trace:
{
"success": false,
"error": "Error message",
"stack": "Stack trace"
}
Dependencies
- Zalo API Access: You must have valid credentials/API keys for the Zalo Official Account API.
- n8n Configuration: Ensure that any required authentication (such as OAuth tokens or API keys) is set up in n8n credentials.
- Network Access: The n8n instance must be able to reach Zalo's API endpoints.
Troubleshooting
Common Issues
- Invalid User/Group ID: If the provided ID does not exist or is incorrect, the message will not be delivered, and an error will be returned.
- Missing Permissions: The Zalo account used must have permission to send messages to the specified user or group.
- Sticker Not Found: If the
Sticker Keywordsdo not match any available stickers, the message may fail to send. - API Rate Limits: Exceeding Zalo's API rate limits can result in temporary blocks or errors.
Error Messages
- "Recipient not found": Check that the User/Group ID is correct and that your bot has access to the recipient.
- "Invalid sticker keyword": Ensure the keywords correspond to available stickers in Zalo.
- "Authentication failed": Verify your Zalo API credentials in n8n.
- "Permission denied": Make sure your Zalo Official Account is allowed to send messages to the target user/group.
Resolution Steps:
- Double-check all input fields for typos or missing values.
- Review your Zalo developer dashboard for API usage and permissions.
- Consult n8n logs for more detailed error traces if needed.