Zalo CN Group icon

Zalo CN Group

Quản lý nhóm Zalo cá nhân

Overview

This node manages personal Zalo groups, enabling various group-related operations through the Zalo API. It is useful for automating group management tasks such as creating groups, changing group names or avatars, adding or removing members, and retrieving group information.

A practical example is renaming a Zalo group automatically based on external triggers or workflows, which helps keep group names consistent or updated without manual intervention.

Specifically, the "Đổi Tên Nhóm" (Change Group Name) operation allows you to rename an existing Zalo group by providing its ID and the new desired name.

Properties

Name Meaning
ID Nhóm The unique identifier of the Zalo group to rename. Must be provided.
Tên Mới The new name to assign to the group. Must be provided.

Output

The output JSON contains the response from the Zalo API after attempting to change the group name. This typically includes confirmation details about the updated group name or related metadata returned by the API.

Example output structure:

{
  "groupId": "string",
  "newName": "string",
  "status": "success"
}

(Note: Actual fields depend on the API response.)

No binary data output is produced by this operation.

Dependencies

  • Requires valid Zalo API credentials including authentication cookies, device IMEI, and user agent strings.
  • The node uses the zalo-api-final library to interact with the Zalo service.
  • Credentials must be configured in n8n with appropriate permissions to manage Zalo groups.

Troubleshooting

  • Common issues:

    • Invalid or expired credentials may cause login failures.
    • Providing incorrect group IDs will result in errors when attempting to rename.
    • Network or API rate limits can cause request failures.
  • Error messages:

    • "No API instance found. Please make sure to provide valid credentials."
      Means the node could not authenticate with Zalo API. Check your credentials and ensure they are correct and active.
    • Errors related to group not found or permission denied indicate either the group ID is wrong or the authenticated user lacks rights to modify the group.
  • To resolve errors, verify credentials, confirm group IDs, and ensure the authenticated user has sufficient permissions.

Links and References

Discussion