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.

Practical scenarios include:

  • Updating a group's avatar to reflect current branding or event themes.
  • Automating group management tasks in workflows that integrate with Zalo.
  • Keeping group visuals consistent across multiple groups managed via automation.

Example: Automatically update the avatar of a marketing team’s Zalo group when launching a new campaign by providing the campaign's logo 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 metadata about the update.

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 the zca-js library internally to interact with Zalo services.
  • Requires valid cookie, IMEI, and user agent information either from credentials or input data for authentication.
  • Node configuration must include these credentials properly set up.

Troubleshooting

  • Common issues:

    • Invalid or expired credentials leading to authentication failure.
    • Incorrect group ID causing the API to fail to find the group.
    • Invalid or inaccessible image URL resulting in failure to update the avatar.
  • Error messages:

    • "No API instance found. Please make sure to provide valid credentials."
      Resolution: Verify that the API key credential is correctly configured and valid.
    • Errors related to network or API response failures usually indicate connectivity or permission issues; check API access rights and network status.
    • If the node throws errors on invalid parameters, ensure the group ID and image URL are correct and accessible.
  • Use the node's "Continue On Fail" option to handle errors gracefully in batch executions.

Links and References

Discussion