Zalo Group icon

Zalo Group

Quản lý nhóm Zalo

Group → Xóa Thành Viên Khỏi Nhóm

AI-generated

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. For example, if a group chat becomes too large or includes members who no longer participate, this node can be used to efficiently remove those members by their user IDs.

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 be removed from the group, separated by commas if multiple.

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. The exact structure depends on the API response but generally confirms success or failure of the removal request.

No binary data output is produced by this operation.

Example output structure:

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

Dependencies

  • Requires an API key credential for authenticating with the Zalo platform.
  • The node uses a third-party library 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 may cause authentication failures.
    • Incorrect group ID or user IDs will 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. Verify that the API key credential is correctly set up and valid.
    • Errors related to invalid parameters usually indicate wrong or missing group/user IDs. Double-check input values.
    • If the node fails silently or returns empty results, ensure the user IDs exist in the group and are correctly formatted (comma-separated).

Links and References

Discussion