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 use case: Automatically update the avatar of a marketing campaign group in Zalo when a new campaign starts by providing the new campaign 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" (Success).
  • response: The raw response from the API call that changes the group avatar, which may include details about the updated group or confirmation data.

No binary data is output by this node.

Example output JSON:

{
  "status": "Thành công",
  "response": { /* API response object */ }
}

Dependencies

  • Requires an API key credential to authenticate with the Zalo platform.
  • Uses the zca-js library internally to interact with the Zalo API.
  • Requires valid credentials including cookie, IMEI, and user agent information for authentication.
  • Must be configured with appropriate Zalo API credentials in n8n.

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 non-existent or incorrect 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