Actions3
- Zalo Sticker Actions
Overview
This node operation, "Lấy Chi Tiết Sticker" (Get Sticker Detail), is designed to retrieve detailed information about a specific Zalo sticker by its ID. It is useful when you want to fetch metadata or properties of a particular sticker from the Zalo platform, such as for displaying sticker details in an app, managing sticker collections, or integrating sticker data into workflows.
Practical examples:
- A chatbot that shows detailed info about a sticker when a user selects it.
- An automation that catalogs stickers with their metadata for analytics or reporting.
- A content management system that syncs sticker details from Zalo.
Properties
| Name | Meaning |
|---|---|
| Sticker ID | The unique identifier of the sticker whose detailed information you want to retrieve. This must be provided as a string. |
Output
The output JSON contains the following structure:
success: Boolean indicating if the request was successful.message: A descriptive message confirming the action, e.g., "Lấy chi tiết sticker thành công" ("Successfully retrieved sticker details").data: An object containing the detailed information of the requested sticker. The exact fields depend on the Zalo API response but typically include sticker metadata such as name, image URLs, categories, etc.
Example output JSON snippet:
{
"success": true,
"message": "Lấy chi tiết sticker thành công",
"data": {
/* sticker detail fields */
}
}
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential for authenticating with the Zalo API.
- Uses a Zalo API client internally which requires valid authentication tokens such as cookies, IMEI, and user agent strings obtained from the credential.
- The node depends on external Zalo API services to fetch sticker details.
- Proper configuration of the Zalo API credentials within n8n is necessary.
Troubleshooting
Common issues:
- Invalid or missing Sticker ID will cause the API call to fail.
- Authentication errors if the API key or tokens are invalid or expired.
- Network connectivity problems preventing access to the Zalo API.
Error messages:
- If the node throws an error related to login failure, it indicates that the stored credentials are invalid or expired. Re-authenticate or update the API key credential.
- Errors mentioning missing or invalid sticker ID mean the input property was not set correctly or the sticker does not exist.
Resolutions:
- Ensure the "Sticker ID" property is correctly filled with a valid sticker identifier.
- Verify and refresh the Zalo API credentials in n8n.
- Check network connectivity and API endpoint availability.
Links and References
- Zalo Official API Documentation (for detailed API specs)
- n8n documentation on Creating Custom Nodes