Actions8
- Zalo Send Message Actions
- Zalo Text To Speech Actions
Overview
This node enables interaction with the Zalo messaging platform via its API, specifically for sending messages and managing stickers. The "Lấy danh sách sticker" (Get Sticker List) operation allows users to retrieve a list of stickers from Zalo, optionally filtered by a search keyword. This is useful in scenarios where you want to present or use stickers dynamically in your workflows, such as building chatbots, automating message content, or integrating sticker selection into applications.
Practical example: You can use this operation to fetch stickers matching certain tags or names, then display them in a UI or send them as part of automated messages to users on Zalo.
Properties
| Name | Meaning |
|---|---|
| Query String | Optional search keyword to filter stickers by name, tag, or other metadata (if supported). |
Output
The output JSON contains the list of stickers returned by the Zalo API. The exact structure depends on the API response but generally includes sticker details such as IDs, categories, names, and possibly URLs or tags.
Example output snippet:
{
"stickers": [
{
"id": "123",
"name": "Happy Sticker",
"category": "Emotions",
"tags": ["happy", "smile"]
},
...
]
}
No binary data is output by this operation.
Dependencies
- Requires valid Zalo API credentials including a cookie, device IMEI, and user agent string.
- The node uses an internal Zalo API client initialized with these credentials.
- No additional external services are required beyond the Zalo API.
- Proper credential setup in n8n is necessary to authenticate requests.
Troubleshooting
- Zalo API not initialized: This error occurs if the node fails to log in using provided credentials. Ensure that the cookie, IMEI, and user agent are correctly configured and valid.
- Empty or invalid response: If the query string is malformed or the API does not support filtering by the given keyword, the returned sticker list may be empty.
- Network or API errors: Check network connectivity and Zalo API status. Also verify that API rate limits are not exceeded.
- Credential errors: Make sure the API credentials are up-to-date and have the necessary permissions.
Links and References
- Zalo Official API Documentation
- Zalo Stickers API Reference (if available)
- n8n documentation on Creating Custom Nodes