Zalo Group icon

Zalo Group

Quản lý nhóm Zalo

Overview

This node manages Zalo groups, specifically allowing users to remove one or more members from a specified group. It is useful in scenarios where group administrators need to maintain or moderate group membership by removing unwanted or inactive users.

Practical examples include:

  • Removing spam accounts or disruptive members from a Zalo group.
  • Managing group membership dynamically based on user activity or roles.
  • Automating cleanup of group members after events or campaigns.

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) One or multiple user IDs to remove from the group, separated by commas if multiple users.

Output

The output JSON contains the response from the Zalo API after attempting to remove the specified users from the group. This typically includes status information about the removal operation, such as success confirmation or error details.

Example output structure:

{
  "response": {
    // API-specific response data confirming removal or detailing errors
  }
}

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the Zalo platform.
  • The node uses the zca-js library internally to interact with the Zalo API.
  • Proper configuration of credentials including cookie, IMEI, and user agent values is necessary for successful API calls.

Troubleshooting

  • Common issues:

    • Invalid or expired credentials can cause authentication failures.
    • Incorrect group ID or user IDs may result in errors or no changes.
    • Network connectivity problems can prevent API communication.
  • Error messages:

    • "No API instance found. Please make sure to provide valid credentials."
      Resolution: Verify that the API key credential is correctly configured and valid.
    • Errors returned from the Zalo API (e.g., user not found in group) will be included in the output JSON under an error message field.
      Resolution: Check the provided group and user IDs for correctness.
  • Enabling "Continue On Fail" allows processing of multiple items even if some fail, returning error details per item.

Links and References

Discussion