Actions10
- User Action Actions
- Message Action Actions
Overview
This node integrates with the Zalo Web API to send various types of messages and perform user-related actions. Specifically, for the Message Action resource and the Send Sticker operation, it allows sending a sticker message to a specified user or chat on Zalo.
Typical use cases include:
- Automating sending stickers as part of customer engagement or support workflows.
- Enhancing chatbots or automated messaging systems with rich media content.
- Sending predefined or custom stickers to users based on triggers or events in your automation.
For example, you could configure this node to send a welcome sticker to new users who join a group or respond with a sticker when a certain keyword is detected in a conversation.
Properties
Name | Meaning |
---|---|
User ID | Unique identifier for the target chat or username. To find your chat ID, ask @get_id_bot. |
Binary File | Whether the sticker data should be taken from a binary field (true) or provided as a direct file reference (false). |
Input Binary Field | The name of the input binary property containing the sticker file to upload (used only if Binary File is true). |
Sticker | The sticker to send. Can be a file ID referencing an existing file on Telegram servers or an HTTP URL pointing to a .webp file. |
Output
The node outputs a JSON object under the json
field containing the response data from the Zalo Web API after attempting to send the sticker. This typically includes information about the success or failure of the send action and any metadata returned by the API.
If the node handles binary data (e.g., uploading a sticker file), it manages temporary files internally but does not output binary data itself.
Dependencies
- Requires an API key credential for authenticating with the Zalo Web API.
- Relies on the Zalo Web API being accessible and the authenticated account having permission to send messages.
- Uses internal helper methods to handle binary data uploads and file management.
Troubleshooting
- Invalid User ID: If the user ID is incorrect or the bot/account does not have access to the target chat, the send operation will fail. Verify the user ID using the recommended bot (@get_id_bot).
- Binary Data Issues: When using binary upload, ensure the binary property name matches the actual input binary field containing the sticker file.
- Sticker File Errors: If providing a URL or file ID for the sticker, ensure the file exists and is accessible. Invalid URLs or unsupported formats may cause errors.
- API Authentication Failures: Check that the API key credential is valid and has not expired.
- Temporary File Cleanup: The node creates temporary files during binary uploads; failures in cleanup might occur but do not affect the main operation.
Links and References
- Zalo Official API Documentation
- Telegram Bot API - Sending Stickers (for understanding sticker file IDs and URLs)
- n8n Documentation on Working with Binary Data