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 updating 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 operation.

Example output JSON structure:

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

Dependencies

  • Requires an API key credential to authenticate with the Zalo API.
  • The node uses a third-party library to interact with Zalo's API, requiring valid cookie, IMEI, and user agent information either from credentials or input data.
  • Proper configuration of the Zalo API credential within n8n is necessary.

Troubleshooting

  • Invalid Credentials: If the node throws an error about missing or invalid API instance, ensure the provided API key credential is correct and includes valid cookie, IMEI, and user agent values.
  • Invalid Group ID: Errors may occur if the provided group ID does not exist or the authenticated user lacks permission to modify the group.
  • 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 API calls to fail; verify network access to Zalo's API endpoints.
  • Continue On Fail: If enabled, errors for individual items will be returned in the output JSON under an error field instead of stopping execution.

Links and References

Discussion