Zalo Bot icon

Zalo Bot

Interact with Zalo Bot Platform

Overview

This node integrates with the Zalo Bot Platform to send a sticker message to a specified chat or user. It is useful for automating interactions on Zalo by sending predefined stickers as part of chatbot conversations or notifications. For example, you can use this node to send a fun or expressive sticker in response to user input, enhancing engagement and making conversations more lively.

Properties

Name Meaning
Debug Mode If enabled, returns the API call URL for easier debugging instead of just the response.
Chat/User ID The unique identifier of the chat or user to whom the sticker will be sent.
Sticker Select a sticker from a predefined list of available stickers (loaded dynamically).
Sticker ID Alternatively, manually enter the ID of a sticker to send (must be a valid sticker ID).

Output

The output is a JSON array containing the response from the Zalo Bot API for each execution item. Each element includes either:

  • The parsed API response object if the request was successful.
  • Or an object containing the raw response text and HTTP status if parsing failed.
  • If Debug Mode is enabled, the output also includes a debug field showing the full API request URL (with sensitive tokens redacted) and HTTP status.

The node does not output binary data.

Dependencies

  • Requires an API key credential for authenticating with the Zalo Bot Platform.
  • Uses the Zalo Bot API endpoint at https://bot-api.zapps.me.
  • No additional environment variables are needed beyond the API authentication token.

Troubleshooting

  • Missing Sticker ID: If neither a sticker from the list nor a manual sticker ID is provided, the node throws an error asking to provide a sticker ID.
  • Invalid Chat/User ID: Sending to an invalid or non-existent chat/user ID may cause API errors.
  • API Errors: If the API returns an error, the node outputs the raw response and status code. Enabling Debug Mode helps trace the exact API call made.
  • Confirm Delete Warning: Although unrelated to sending stickers, other operations like deleting webhooks require explicit confirmation to avoid accidental deletion.

Links and References

Discussion