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:

  • Automating group management tasks in Zalo for community managers or businesses.
  • Updating group avatars dynamically based on events or campaigns.
  • Integrating Zalo group management into broader workflows involving messaging or CRM systems.

Example: Automatically update a group's avatar to reflect a seasonal promotion by providing the new image URL.

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, typically "Thành công" (meaning "Success").
  • response: The raw response from the API call that changes the group avatar, which may include additional metadata about the operation.

Example output JSON:

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

No binary data is output by this operation.

Dependencies

  • Requires an API key credential to authenticate with the Zalo API.
  • The node uses stored credentials including cookie, device IMEI, and user agent strings to establish a session.
  • The external dependency is the zca-js library, which provides the interface to the Zalo API.

Troubleshooting

  • Invalid Credentials: If the node throws "No API instance found," it indicates invalid or missing credentials. Ensure the API key and related authentication details are correctly configured.
  • Invalid Group ID: Providing a wrong or non-existent group ID will cause the API call to fail. Verify the group ID before running the node.
  • Invalid Image URL: The image URL must be accessible and valid. Broken links or unsupported formats may cause errors.
  • API Rate Limits: Frequent calls might hit Zalo API rate limits; handle errors accordingly or add delays.
  • Continue On Fail: If enabled, the node will continue processing other items even if one fails, returning error messages in the output JSON.

Links and References

Discussion