Actions3
- Zalo Sticker Actions
Overview
This node allows users to search for Zalo Stickers by keyword. It is useful in scenarios where you want to find specific stickers from the Zalo platform to use in messaging, social media posts, or automation workflows that involve sticker content.
For example, if you want to automatically fetch and display stickers related to "happy" or "birthday" in your chatbots or marketing campaigns, this node can perform the search and return relevant sticker data.
Properties
| Name | Meaning |
|---|---|
| Từ Khóa Tìm Kiếm | The keyword used to search stickers |
The property "Từ Khóa Tìm Kiếm" (Search Keyword) is a required string input where you specify the term to look for in the sticker database.
Output
The node outputs an array of JSON objects representing the search results. Each output item contains:
success: Boolean indicating if the search was successful.message: A descriptive message about the search result.data: The actual sticker data returned from the search, which may be an array of sticker objects.count: Number of stickers found (if applicable).query: The original search query string (included in some cases).
The output is structured as:
{
"success": true,
"message": "Search completed successfully",
"data": [ /* array of sticker objects */ ],
"count": 10,
"query": "your search keyword"
}
No binary data output is indicated by the code.
Dependencies
- Requires an API client instance initialized with user session data such as cookies, IMEI, and user agent extracted from credentials or previous node data.
- Uses an external library/class (imported as
j) to perform the sticker search requests. - Needs an API key credential or authentication token configured in n8n to authorize requests to the Zalo sticker service.
Troubleshooting
Common issues:
- Missing or invalid authentication credentials will cause the node to throw an error indicating that the user must log in first.
- Providing an empty or invalid search keyword may result in no results or errors.
- Network or API downtime could lead to request failures.
Error messages:
"You must login first": This means the node could not initialize the API client due to missing or expired session data. Ensure valid credentials are provided.- Other errors from the API will be passed through in the output's
errorfield if the node is set to continue on failure.
To resolve errors, verify that the API credentials are correctly set up and that the search keyword is valid and non-empty.
Links and References
- Zalo Official Website
- Zalo Sticker API Documentation (if publicly available)
- n8n documentation on Creating Custom Nodes
Note: The source code was heavily obfuscated, but the core logic extracted shows the node performs authenticated searches for stickers on Zalo using a keyword input and returns structured JSON results accordingly.