Actions10
Overview
This node manages Zalo groups by interacting with the Zalo API. It allows users to create new groups, retrieve group information, manage members and deputies, update group details like name and avatar, and handle group notes. This is useful for automating group management tasks in Zalo, such as setting up new groups with specific members or updating group settings programmatically.
A practical example: Automatically creating a new Zalo group with a list of user IDs after onboarding new team members, or fetching group member lists to synchronize with other systems.
Properties
| Name | Meaning |
|---|---|
| Tên Nhóm (groupName) | The name of the new group to be created. |
| Danh Sách ID Thành Viên (nếu nhiều người dùng vui lòng phân cách bằng dấu phẩy) (userIds) | A comma-separated list of member IDs to include in the group. |
Output
The output JSON structure depends on the operation but for the "Tạo Nhóm" (createGroup) operation specifically:
- Returns the response from the Zalo API's
createGroupmethod, which typically includes details about the newly created group. - The output is paired with the input item index for traceability.
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential to authenticate with the Zalo API.
- Uses the
zca-jslibrary internally to interact with Zalo services. - The node expects valid credentials including cookie, IMEI, and user agent strings either from the credential or incoming input data.
Troubleshooting
- Invalid Credentials: If the node cannot instantiate the API client, it throws an error indicating no API instance was found. Ensure that the provided API authentication token and related credentials are correct and active.
- Malformed User IDs: The user IDs must be provided as a comma-separated string. Incorrect formatting may cause API errors.
- API Errors: Any errors returned by the Zalo API during group creation will be surfaced. Use the error message to verify parameters like group name uniqueness or member validity.
- Continue On Fail: If enabled, the node will continue processing subsequent items even if one fails, returning the error message in the output JSON.
Links and References
- Zalo Official API Documentation
- Zalo Group Management API Reference (hypothetical link for illustration)