Actions16
Overview
This node interacts with Zalo Group functionalities, specifically managing group members and group details on the Zalo platform. The "Xóa Thành Viên Khỏi Nhóm" (Remove User From Group) operation allows users to remove one or multiple members from a specified Zalo group.
Common scenarios where this node is beneficial include:
- Moderating group membership by removing inactive or unwanted members.
- Automating group management tasks in workflows that maintain community or team groups.
- Integrating group member management into larger automation processes involving Zalo.
Practical example:
- An admin wants to automatically remove users who violate group rules. This node can be used in an automation workflow triggered by a report or rule violation event to remove those users from the group.
Properties
| Name | Meaning |
|---|---|
| ID Nhóm | 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) | One or more 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. It typically includes status information about the removal operation.
Example structure:
{
"response": {
// API-specific response details confirming removal success or failure
}
}
If the operation succeeds, the response confirms the users were removed. If it fails, error details may be included.
Dependencies
- Requires a valid Zalo API credential with appropriate permissions to manage groups.
- The node uses authentication data such as cookies, IMEI, and user agent strings extracted from credentials or input data.
- The underlying implementation depends on the
zca-jslibrary for interacting with the Zalo API.
Troubleshooting
- Invalid Credentials: If the node throws an error indicating no API instance found, verify that the provided Zalo API credentials are correct and have not expired.
- User IDs Format: Ensure that the user IDs are correctly formatted as a comma-separated string without extra spaces or invalid characters.
- Group ID Validity: Confirm that the group ID exists and the authenticated user has permission to modify the group.
- API Rate Limits or Restrictions: If removals fail intermittently, check for any rate limits or restrictions imposed by the Zalo API.
- Error Messages: Errors returned from the API will be propagated; review these messages for specific causes such as "user not found" or "permission denied."