Zalo CN Group icon

Zalo CN Group

Quản lý nhóm Zalo cá nhân

Overview

This node manages personal Zalo groups, specifically allowing operations such as creating groups, retrieving group info, managing members, and modifying group details. The "Remove User From Group" operation enables users to remove one or multiple members from a specified Zalo group by their user IDs.

Practical scenarios include:

  • Moderators or group admins automating the removal of inactive or unwanted members.
  • Managing membership dynamically in community or project groups.
  • Integrating with other systems to sync group membership changes automatically.

Example: Removing several users from a group after a project ends by providing the group ID and a comma-separated list of user IDs to remove.

Properties

Name Meaning
ID Nhóm (groupId) The unique identifier of the Zalo group from which users will be removed.
ID Người Dùng (Nếu Nhiều Người Dùng Vui Lòng Phân Cách Bằng Dấu Phẩy) (userIds) Comma-separated list of user IDs representing the members to be removed from the group.

Output

The output JSON contains the response from the Zalo API after attempting to remove the specified users from the group. It typically includes status information about the success or failure of the removal operation.

Example output structure:

{
  "status": "success",
  "details": { /* additional API response details */ }
}

No binary data is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the Zalo platform.
  • Uses the zalo-api-final library internally to interact with Zalo's API.
  • Node configuration must include valid Zalo credentials with cookie, IMEI, and user agent information for authentication.

Troubleshooting

  • Common issues:

    • Invalid or expired credentials may cause authentication failures.
    • Incorrect group ID or user IDs can lead to errors or no effect.
    • Network connectivity problems might prevent API calls from succeeding.
  • Error messages:

    • "No API instance found. Please make sure to provide valid credentials."
      Means the node could not authenticate; verify that the provided API key and related credentials are correct and active.
    • Errors returned from the Zalo API (e.g., invalid group/user IDs) will be passed through; check the IDs and ensure they exist and belong to the authenticated user.
  • Resolution tips:

    • Double-check all input parameters for correctness.
    • Refresh or re-enter credentials if authentication fails.
    • Use the node’s "Continue On Fail" option to handle partial failures gracefully.

Links and References

Discussion