Actions22
- Get Actions
- Message Actions
- Friend Actions
- Group Actions
- Tool Actions
Overview
This node operation, Disperse Group, is designed to disperse or disband a group in the Zalo platform by its Group ID. It is useful when you want to programmatically dissolve a group, removing all members and effectively deleting the group from the system.
Typical use cases include:
- Automating group management workflows where groups are temporary and need to be cleaned up after an event.
- Integrating with other systems that require dynamic creation and removal of communication groups.
- Managing user communities or chat groups in bulk via automation.
Example: After completing a project, you might want to disperse the project’s discussion group automatically to keep your workspace clean.
Properties
| Name | Meaning |
|---|---|
| Group Id | The unique identifier of the Zalo group to be dispersed. This is a required string input. |
Output
The node outputs JSON data representing the result of the disperse group operation. The structure typically includes:
- A success flag indicating whether the operation was successful.
- Any error messages or codes if the operation failed.
- Additional metadata about the operation status.
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential for authenticating with the Zalo API.
- Depends on the Zalo platform's API endpoint for group management.
- The node implementation uses HTTP requests to communicate with Zalo's backend services.
- Proper network access and permissions to call Zalo APIs are necessary.
- No additional external libraries beyond standard n8n dependencies are required.
Troubleshooting
Common Issues
- Invalid Group Id: If the provided Group Id does not exist or is malformed, the API will return an error.
- Authentication Failure: Missing or invalid API credentials will cause authentication errors.
- Permission Denied: The authenticated user may lack permission to disperse the specified group.
- Network Errors: Connectivity issues can prevent the API call from succeeding.
Error Messages and Resolutions
- "Group not found": Verify the Group Id is correct and the group exists.
- "Unauthorized" or "Authentication failed": Check that the API key credential is correctly configured and valid.
- "Permission denied": Ensure the API user has rights to manage the group.
- Timeout or Network errors: Confirm network connectivity and retry.
Links and References
- Zalo Official API Documentation (general reference for Zalo API)
- n8n documentation on creating custom nodes and using credentials
- Zalo group management API endpoints (specific URL depends on Zalo API version)
Note: The source code provided is obfuscated and minified, but the key functionality extracted relates to dispersing a Zalo group by its Group Id as per the given property definition and typical API usage patterns.