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

Zalo Send Message → Gửi sticker

AI-generated

Overview

This node sends a sticker message via the Zalo messaging platform using the Zalo API. It is useful for automating the sending of stickers in personal or group conversations on Zalo. For example, it can be used in chatbots or automated messaging workflows to send specific stickers to users or groups based on certain triggers or events.

Use Case Examples

  1. Sending a sticker to a user in a personal chat by specifying the user's thread ID and the sticker ID.
  2. Sending a sticker to a group chat by specifying the group thread ID and the sticker ID.

Properties

Name Meaning
ID cuộc trò chuyện / Thread ID The ID of the conversation (user or group) to send the sticker to.
Loại cuộc trò chuyện The type of conversation, either personal (user) or group.
Sticker ID The ID of the sticker to send.

Output

JSON

  • success - Indicates if the sticker was sent successfully.
  • response - The response object from the Zalo API after sending the sticker.
  • threadId - The ID of the conversation where the sticker was sent.
  • stickerId - The ID of the sticker that was sent.
  • stickerObj - The detailed sticker object information retrieved from the Zalo API.

Dependencies

  • Zalo API credentials with cookie, IMEI, and user agent for authentication.

Troubleshooting

  • Ensure that the Zalo API credentials are correctly set and valid, including the cookie, IMEI, and user agent, as the node requires these to initialize the API client.
  • The node throws an error if the sticker details are invalid or missing required fields such as id, cateId, or type. Verify the sticker ID is correct and that the sticker exists.
  • If the Zalo API client fails to initialize, check the credentials and network connectivity.
  • Errors related to sending the sticker may occur if the thread ID or type is incorrect or if the API limits are exceeded.

Discussion