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 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:

  • Updating the visual identity of a Zalo group by changing its avatar.
  • Automating group management tasks like adding or removing members.
  • Retrieving detailed information about groups and their members.

Practical example: Automatically update a group's avatar when a marketing campaign starts to reflect the campaign's branding.

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, e.g., "Thành công" ("Success").
  • response: The raw response from the API call that changes the group avatar, which may include metadata or confirmation details.

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 to authenticate with the Zalo API.
  • Uses stored cookie, IMEI, and user agent values from credentials or input data for authentication.
  • Depends on the external zca-js library to interact with the Zalo API.

Troubleshooting

  • Invalid Credentials: If the node throws "No API instance found," ensure that valid Zalo API credentials are provided, including a valid cookie, IMEI, and user agent.
  • Invalid Group ID: Errors may occur if the provided group ID does not exist or the authenticated user lacks permission.
  • Invalid Image URL: Ensure the image URL is accessible and points to a valid image format supported by Zalo.
  • Network Issues: API calls may fail due to connectivity problems; verify network access to Zalo services.

If errors occur and "Continue On Fail" is enabled, the node outputs error messages per item instead of stopping execution.

Links and References

Discussion