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 Link

AI-generated

Overview

This node sends a link message through the Zalo messaging platform using the Zalo API. It is useful for automating the process of sharing URLs with specific Zalo chat threads, either individual or group conversations. For example, it can be used to send promotional links, informational URLs, or any web resource directly to a Zalo user or group chat.

Use Case Examples

  1. Sending a product link to a customer via Zalo chat.
  2. Sharing an event URL with a group of users in a Zalo group conversation.

Properties

Name Meaning
ID cuộc trò chuyện / Thread ID The ID of the Zalo chat thread (user or group) where the link will be sent.
Loại cuộc trò chuyện Specifies the type of chat thread: individual (Cá nhân) or group (Nhóm).
URL The URL of the link to be sent in the message.
Tiêu đề The title of the link message, providing a brief description or headline for the link.
Mô tả A description of the link, giving additional context or information about the URL.
URL hình ảnh The URL of the thumbnail image representing the link, used as a visual preview.

Output

JSON

  • success - Indicates whether the link was sent successfully (true or false).
  • response - The response object returned from the Zalo API after sending the link.
  • threadId - The ID of the chat thread where the link was sent.
  • threadType - The type of the chat thread (individual or group) where the link was sent.

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 successful login to the Zalo API.
  • The URL field is mandatory; an error will be thrown if it is missing.
  • If the Zalo API client is not initialized properly, the node will throw an error indicating failure to initialize the API.
  • Check that the thread ID and type are correctly specified to avoid sending messages to invalid or non-existent threads.

Discussion