Zalo Send Message icon

Zalo Send Message

Gửi tin nhắn qua API Zalo sử dụng kết nối đăng nhập bằng cookie

Overview

This node allows users to interact with the Zalo messaging platform via its API, specifically for sending messages and managing stickers among other operations. The "Lấy chi tiết sticker" (Get sticker details) operation retrieves detailed information about a specific sticker by its ID. This is useful when you want to fetch metadata or properties of a sticker before using it in messages or for display purposes.

Practical examples include:

  • Fetching sticker details to show preview information in a custom UI.
  • Validating sticker IDs before sending them in chat messages.
  • Integrating sticker metadata into automated workflows that manage Zalo conversations.

Properties

Name Meaning
Sticker ID The unique identifier of the sticker whose details you want to retrieve.

Output

The output JSON contains the detailed information of the requested sticker as returned by the Zalo API. This typically includes fields such as the sticker's ID, category, type, and other metadata describing the sticker.

Example output structure (simplified):

{
  "id": "string",
  "cateId": "string",
  "type": "string",
  "name": "string",
  "url": "string",
  ...
}

No binary data is output by this operation.

Dependencies

  • Requires valid Zalo API credentials including a cookie-based authentication token, 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 itself.

Troubleshooting

  • Zalo API not initialized: This error occurs if the node fails to authenticate with the Zalo API using provided credentials. Ensure your credentials are correct and up to date.
  • Sticker detail is invalid or missing required fields: If the sticker ID is incorrect or the API response lacks expected fields, verify the sticker ID input.
  • Network or API errors: Temporary network issues or API rate limits may cause failures. Retry after some time or check your API usage limits.
  • Invalid sticker ID: Providing an empty or malformed sticker ID will result in errors. Always provide a valid sticker ID string.

Links and References

Discussion