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 → Chuyển Tiếp Tin Nhắn

AI-generated

Overview

This node allows forwarding a message from one Zalo conversation to another using the Zalo API. It is useful for automating message forwarding tasks within Zalo chats, whether between individual users or groups. For example, it can be used to forward important messages from a group chat to a personal chat or another group automatically.

Use Case Examples

  1. Forward a message from a source group chat to a target personal chat by specifying the source thread ID, source type (group), message ID, target thread ID, and target type (user).
  2. Automate forwarding of customer support messages from one conversation to another for better handling.

Properties

Name Meaning
ID cuộc trò chuyện nguồn / Source Thread ID ID of the conversation containing the message to be forwarded.
Loại cuộc trò chuyện nguồn Type of the source conversation (Personal or Group).
ID tin nhắn / Message ID ID of the message to be forwarded.
ID cuộc trò chuyện đích / Target Thread ID ID of the conversation to send the forwarded message to.
Loại cuộc trò chuyện đích Type of the target conversation (Personal or Group).

Output

JSON

  • success - Indicates if the forwarding operation was successful.
  • response - The response object returned from the Zalo API after forwarding the message.

Dependencies

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

Troubleshooting

  • Ensure that the Message ID is provided; otherwise, the node will throw an error indicating the Message ID is required.
  • Verify that the Zalo API credentials are correctly set and valid; otherwise, the node will fail to initialize the Zalo API client.
  • If the forwarding operation fails, check the network connection and API response for more details.

Discussion