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 inactive or unwanted participants.

Practical example:

  • Automatically removing users who violate group rules from a Zalo group.
  • Cleaning up group membership by batch removing multiple users at once.

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 more 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.

Example structure:

{
  "status": "success",
  "details": { /* additional info returned by the API */ }
}

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the Zalo API.
  • The node uses a third-party library to interact with Zalo's services.
  • Proper configuration of credentials including cookie, IMEI, and user agent is necessary for successful API calls.

Troubleshooting

  • Common issues:

    • Invalid or expired credentials may cause authentication failures.
    • Incorrect group ID or user IDs can 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."
      Means the node could not authenticate with Zalo API. Check your API key and credential details.
    • Errors related to invalid parameters usually indicate wrong group or user IDs; verify these values.
    • If the node fails but "Continue On Fail" is enabled, error details are included in the output JSON for each failed item.

Links and References

Discussion