Zalo Group icon

Zalo Group

Quản lý nhóm Zalo

Overview

This node manages Zalo groups by interacting with the Zalo API. It supports various group-related operations such as creating groups, retrieving group information, managing members and deputies, changing group avatars or names, and removing users from groups.

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

Practical examples:

  • Automatically renaming a group after a project phase ends.
  • Standardizing group names based on company naming conventions.
  • Updating group names dynamically in workflows that manage multiple Zalo groups.

Properties

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

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 status information returned by the API.

Example output structure:

{
  "someApiResponseField": "value",
  ...
}

(Note: The exact fields depend on the Zalo API's response for the rename operation.)

No binary data is output by this operation.

Dependencies

  • Requires valid Zalo API credentials including authentication cookie, device IMEI, and user agent string.
  • The node uses an external Zalo API client library (zca-js) to perform API calls.
  • Credentials must be configured in n8n with appropriate access rights to manage Zalo groups.

Troubleshooting

  • Common issues:

    • Invalid or expired credentials may cause authentication failures.
    • Providing an incorrect or non-existent group ID will result in errors.
    • Network connectivity problems can prevent API communication.
  • Error messages:

    • "No API instance found. Please make sure to provide valid credentials."
      Means the node could not authenticate with Zalo API. Verify your credentials and ensure they are correctly set up.
    • Errors related to invalid parameters usually indicate missing or malformed input properties like groupId or newName.
    • If the node throws errors but "Continue On Fail" is enabled, it will return error details per item instead of stopping execution.

Links and References

Discussion