Actions10
Overview
This node manages Zalo groups by interacting with the Zalo API. It supports various group-related operations such as creating groups, retrieving group information, managing members, changing group details, and more. The specific operation "Lấy Tất Cả Nhóm" (Get All Groups) fetches all groups associated with the authenticated user.
Practical scenarios include:
- Automating group management tasks in Zalo for marketing or community engagement.
- Synchronizing group data with other systems.
- Bulk retrieval of group lists for reporting or analysis.
Properties
| Name | Meaning |
|---|---|
| Giới Hạn | Maximum number of groups to retrieve (number input, default 50) |
Note: For the "Lấy Tất Cả Nhóm" operation, the only relevant property is "Giới Hạn" which limits how many groups are fetched.
Output
The output JSON contains a single field:
response: An array of all groups retrieved from the Zalo API.
Example structure:
{
"response": [
{
"groupId": "string",
"name": "string",
"avatar": "string",
"membersCount": number,
...
},
...
]
}
No binary data is output by this operation.
Dependencies
- Requires an API key credential for authenticating with the Zalo API.
- Uses the
zca-jslibrary internally to interact with Zalo services. - Node configuration must include valid Zalo credentials with cookie, IMEI, and user agent information.
Troubleshooting
- Invalid Credentials: If authentication fails, ensure the provided API key credential includes valid cookie, IMEI, and user agent values.
- No API instance found: This error indicates missing or invalid credentials; verify that the credential is correctly configured.
- API Rate Limits or Network Issues: May cause failures when fetching groups; check network connectivity and API usage limits.
- Empty Response: If no groups are returned, confirm that the authenticated user actually belongs to any groups.