Actions10
Group → Xóa Thành Viên Khỏi Nhóm
AI-generatedOverview
This node operation allows you to remove one or more users from a specified group in the Zalo platform. It is useful for managing group memberships by programmatically removing members who should no longer be part of the group, such as inactive users, users violating rules, or users who requested to leave.
Practical examples include:
- Automatically cleaning up group members based on certain criteria.
- Removing multiple users at once by specifying their IDs separated by commas.
- Managing group membership dynamically within workflows that integrate with Zalo groups.
Properties
| Name | Meaning |
|---|---|
| ID Nhóm (groupId) | The unique identifier of the 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. Multiple IDs should be comma-separated. |
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 if the removal failed.
The output structure example (conceptual):
{
"json": {
"response": {
// API response details about the removal operation
}
},
"pairedItem": {
"item": <index_of_input_item>
}
}
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential for authenticating with the Zalo platform.
- Uses a Zalo API client library internally to perform group management operations.
- The node expects proper configuration of authentication credentials in n8n to access Zalo APIs.
Troubleshooting
Common issues:
- Invalid or missing group ID or user IDs can cause the operation to fail.
- Incorrectly formatted user IDs (e.g., not comma-separated when multiple) may lead to errors.
- Authentication failures due to invalid or expired API keys.
- Network or API rate limiting issues from Zalo.
Error messages and resolutions:
- "Missing required parameter" — Ensure both group ID and user IDs are provided.
- "Authentication failed" — Verify that the API key credential is correctly set up and valid.
- "User not found in group" — Confirm that the user IDs exist and belong to the specified group.
- "API request limit exceeded" — Wait and retry later or check API usage limits.
Links and References
- Zalo Official API Documentation (for detailed API behavior)
- n8n documentation on creating and using credentials
- General best practices for managing group memberships