Zalo Group icon

Zalo Group

Quản lý nhóm Zalo - Tạo nhóm, thêm/xóa thành viên, đổi tên, avatar và quản lý ghi chú

Overview

This node integrates with the Zalo platform to manage groups and their members. Specifically, the "Thêm Thành Viên Vào Nhóm" (Add User to Group) operation allows users to add one or multiple members to a specified Zalo group by providing the group ID and a list of user IDs.

Common scenarios where this node is beneficial include:

  • Automating the process of adding new members to existing Zalo groups.
  • Managing group membership dynamically based on external triggers or workflows.
  • Bulk adding multiple users to a group in one operation.

Practical example:

  • A marketing team uses this node to automatically add new leads collected from a CRM system into a Zalo group for targeted communication.

Properties

Name Meaning
ID Nhóm (groupId) The unique identifier of the Zalo group to which members will be added.
Danh Sách ID Thành Viên (nếu nhiều người dùng vui lòng phân cách bằng dấu phẩy) (userIds) A comma-separated list of user IDs representing the members to add to the group.

Output

The output JSON contains the response from the Zalo API after attempting to add the specified users to the group. It typically includes status information indicating success or failure and any relevant details returned by the API.

Example structure:

{
  "status": "success",
  "response": {
    // API-specific response data about the addition operation
  }
}

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the Zalo platform.
  • The node depends on an internal Zalo API client library that handles group management operations.
  • Proper configuration of the API authentication token or credentials within n8n is necessary.

Troubleshooting

  • Common issues:

    • Invalid or expired API credentials may cause authentication failures.
    • Providing incorrect group IDs or user IDs can result in errors or no changes.
    • Network connectivity problems may prevent successful API calls.
  • Error messages:

    • Errors thrown by the node typically include the message from the underlying API or client library.
    • If the node encounters an error during execution, it either returns an error object in the output JSON (if configured to continue on failure) or throws an operation error stopping the workflow.
  • Resolution tips:

    • Verify that the API credentials are correctly set up and have sufficient permissions.
    • Double-check the format and correctness of the group ID and user IDs.
    • Ensure network access to the Zalo API endpoints is available.

Links and References

Discussion