Actions25
- Message Actions
- Friend Actions
- Get Actions
- Group Actions
- Tool Actions
Overview
This node is designed to send a sticker message via the Zalo messaging platform. It targets a specific user or group chat by their ID and sends a sticker identified by keywords. This functionality is useful in automating interactions on Zalo, such as sending fun or expressive stickers in response to events, notifications, or user inputs.
Common scenarios:
- Automatically sending a "thank you" or celebratory sticker after a user completes a form.
- Sending a funny or cute sticker to a group chat when a certain condition is met.
- Enhancing chatbot conversations with sticker responses for better engagement.
Practical example:
You have an automation that triggers when a customer places an order. The node sends a "thank you" sticker to the customer's Zalo user ID to acknowledge the order in a friendly way.
Properties
| Name | Meaning |
|---|---|
| User/Group Id | The unique identifier of the Zalo user or group chat where the sticker will be sent. |
| Thread Type | Specifies whether the target is a single user or a group chat. Options: User, Group. |
| Sticker Keywords | Keywords identifying the sticker to send (e.g., "cute", "funny"). |
Output
The node outputs JSON data representing the result of the sticker message sending operation. The output typically includes:
- A success flag indicating if the message was sent successfully.
- Details about the sent message or any error information if the operation failed.
No binary data output is involved in this operation.
Dependencies
- Requires an active connection to the Zalo API with appropriate authentication credentials (an API key or token).
- The node depends on internal SDK or API client libraries to interact with Zalo's messaging services.
- Proper configuration of credentials within n8n is necessary to authorize requests.
Troubleshooting
Common issues:
- Invalid User/Group ID: If the provided thread ID does not exist or is incorrect, the message will fail to send.
- Incorrect Thread Type: Specifying the wrong thread type (user vs. group) may cause the API call to fail.
- Sticker Keyword Not Found: If the keyword does not match any available sticker, the message cannot be sent.
- Authentication Errors: Missing or invalid API credentials will prevent successful communication with Zalo.
Error messages and resolutions:
- "Unauthorized" or "Authentication failed": Check that the API key/token credential is correctly configured and valid.
- "Thread not found" or similar: Verify the thread ID and thread type are correct.
- "Sticker not found": Confirm the sticker keyword matches an existing sticker in Zalo.
- Network errors/timeouts: Ensure network connectivity and that Zalo API endpoints are reachable.
Links and References
- Zalo Official API Documentation
- Zalo Messaging API Guide
- n8n documentation on Creating Custom Nodes
Summary
This node enables sending sticker messages to Zalo users or groups by specifying the recipient and sticker keywords. It is ideal for enhancing automated workflows with expressive visual content on the Zalo platform. Proper input of thread ID, thread type, and sticker keywords along with valid API credentials is essential for successful operation.