Actions10
Overview
This node manages Zalo groups, specifically allowing you to remove one or more users from a specified group. It is useful in scenarios where you need to automate group membership management on the Zalo platform, such as moderating group participants or cleaning up inactive members.
For example, if you have a Zalo group for project collaboration and want to automatically remove users who are no longer part of the project, this node can be used to specify the group ID and user IDs to remove them efficiently.
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.
Example output structure:
{
"status": "success",
"details": { /* API-specific response details */ }
}
If the operation fails, the output may contain an error message describing the issue.
Dependencies
- Requires a valid Zalo API credential with authentication details such as cookie, IMEI, and user agent.
- The node uses an external Zalo API client library to perform operations.
- Proper configuration of the Zalo API credential in n8n is necessary to authenticate requests.
Troubleshooting
- Invalid Credentials: If the node throws an error indicating no API instance found, verify that the Zalo API credentials are correctly configured and valid.
- Incorrect Group or User IDs: Ensure that the group ID and user IDs provided exist and are correct; otherwise, the API call may fail or return errors.
- Network Issues: Connectivity problems can cause request failures; check network access and retry.
- Multiple User IDs Format: When specifying multiple user IDs, separate them strictly by commas without extra spaces to avoid parsing issues.