Actions13
Overview
This node manages Zalo groups, specifically allowing operations such as creating groups, retrieving group info, managing members, and changing group details. The "Đổi Avatar Nhóm" (Change Group Avatar) operation updates the avatar image of a specified Zalo group by providing a new image URL.
Common scenarios for this node include:
- Automating group management tasks in Zalo.
- Updating group avatars dynamically based on external triggers or events.
- Integrating Zalo group management into broader workflows, such as marketing campaigns or community engagement.
Practical example: Automatically update a group's avatar to reflect a current event or promotion by providing a new image URL through this node.
Properties
| Name | Meaning |
|---|---|
| ID Nhóm | The unique identifier of the Zalo group whose avatar will be changed. |
| URL Ảnh | The URL of the new avatar image to set for the group. |
Output
The output JSON contains:
status: A string indicating success ("Thành công").response: The raw response from the API call that changes the group avatar, which may include details about the updated avatar or confirmation data.
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 API.
- The node depends on the
zca-jslibrary for interacting with the Zalo API. - Proper configuration of credentials including cookie, IMEI, and user agent is necessary for successful API calls.
Troubleshooting
Common issues:
- Invalid or expired credentials can cause authentication failures.
- Providing an incorrect group ID or an invalid image URL may result in errors or no change.
- Network connectivity problems can prevent API communication.
Error messages:
"No API instance found. Please make sure to provide valid credentials."— Indicates missing or invalid credentials; verify and re-enter the API key credential.- Errors related to invalid parameters usually indicate missing or malformed input properties; ensure the group ID and image URL are correctly provided.
To resolve issues, confirm that:
- Credentials are up to date and correctly configured.
- Input properties are valid and properly formatted.
- The image URL is accessible and points to a supported image format.