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 or team coordination.
  • Updating group avatars dynamically based on events or campaigns.
  • Integrating Zalo group management into broader workflows that involve messaging or user management.

Example: Automatically update a group's avatar to reflect a seasonal event 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, typically "Thành công" (meaning "Success").
  • response: The raw response from the Zalo API after attempting to change the group avatar. This may contain additional details about the operation's result.

Example output JSON:

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

No binary data is output by this node.

Dependencies

  • Requires an API key credential to authenticate with the Zalo platform.
  • Uses the Zalo API client library (zca-js) internally to perform group operations.
  • The node expects valid credentials including cookie, IMEI, and user agent information for authentication.
  • Proper configuration of these credentials in n8n is necessary for successful API calls.

Troubleshooting

  • Invalid Credentials: If the node throws an error about missing or invalid API instance, verify that the provided API key credential is correct and includes valid cookie, IMEI, and user agent values.
  • Group Not Found: Errors may occur if the provided group ID does not exist or the authenticated user lacks permission. Double-check the group ID.
  • Invalid Image URL: Ensure the image URL is accessible and points to a valid image format supported by Zalo.
  • API Rate Limits or Network Issues: Temporary failures might happen due to network problems or API rate limits; retrying later can help.
  • Use the "Continue On Fail" option to handle errors gracefully within workflows.

Links and References

Discussion