Zalo Group icon

Zalo Group

Quản lý nhóm Zalo

Overview

This node manages Zalo groups, specifically allowing operations such as creating groups, retrieving group info, managing members and deputies, changing group avatars or names, and creating notes within groups. The "Đổi Avatar Nhóm" (Change Group Avatar) operation updates the avatar image of a specified Zalo group by providing a new image URL.

Practical scenarios include:

  • Automatically updating group avatars based on events or schedules.
  • Managing multiple Zalo groups programmatically for marketing or community management.
  • Integrating Zalo group management into broader automation workflows.

Example: A marketing team could use this node to update the avatar of their campaign group daily with fresh images reflecting current promotions.

Properties

Name Meaning
ID Nhóm The unique identifier of the Zalo group whose avatar you want to change.
URL Ảnh The URL of the new avatar image to set for the group.

Output

The output JSON contains:

  • status: A string indicating success, typically "Thành công" (Success).
  • response: The raw response from the Zalo API after attempting to change the group avatar. This may include details about the updated group or confirmation data.

No binary data is output by this operation.

Example output JSON:

{
  "status": "Thành công",
  "response": {
    // API response details here
  }
}

Dependencies

  • Requires an API key credential for Zalo API authentication.
  • Uses stored cookies, IMEI, and user agent strings from credentials or input data to authenticate requests.
  • Depends on the external zca-js library for interacting with the Zalo API.

Troubleshooting

  • Invalid Credentials: If the node throws "No API instance found," ensure that valid Zalo API credentials are provided, including cookie, IMEI, and user agent information.
  • Invalid Group ID: Errors may occur if the provided group ID does not exist or the authenticated user lacks permission to modify it.
  • Invalid Image URL: Ensure the image URL is accessible and points to a valid image format supported by Zalo.
  • Network Issues: Connectivity problems can cause request failures; verify network access to Zalo's API endpoints.

To resolve errors, verify all input parameters, credentials, and network connectivity.

Links and References

Discussion