Actions16
Overview
This node manages Zalo groups, specifically allowing operations such as creating groups, retrieving group information, managing members, and modifying group settings. The "Thêm Phó Nhóm" (Add Group Deputy) operation adds a user as a deputy (co-admin) to a specified Zalo group. This is useful for delegating group management responsibilities without transferring full ownership.
Practical examples:
- Adding a trusted member as a deputy to help moderate a large group.
- Automating group role assignments based on external triggers or workflows.
- Managing group permissions dynamically in response to organizational changes.
Properties
| Name | Meaning |
|---|---|
| ID Nhóm | The unique identifier of the Zalo group where the deputy will be added. |
| ID Người Dùng | The unique identifier of the user to be added as a deputy in the group. |
Output
The output JSON contains:
status: A string indicating the result status, e.g.,"Thành công"meaning "Success".response: The raw response from the Zalo API confirming the addition of the deputy.
Example output structure:
{
"status": "Thành công",
"response": { /* API response object */ }
}
No binary data is output by this operation.
Dependencies
- Requires an API key credential to authenticate with the Zalo platform.
- Uses stored cookie, IMEI, and user agent values from credentials or input data for authentication.
- Depends on the external
zca-jslibrary to interact with the Zalo API.
Troubleshooting
Common issues:
- Invalid or expired credentials may cause authentication failures.
- Incorrect group or user IDs will result in API errors.
- Network connectivity problems can prevent communication with the Zalo API.
Error messages:
"No API instance found. Please make sure to provide valid credentials."
Means the node could not initialize the Zalo API client due to missing or invalid credentials. Verify that the API key and related authentication details are correctly configured.- Errors returned from the Zalo API typically include messages about invalid parameters or permission issues. Check that the group ID and user ID exist and that the authenticated user has rights to add deputies.