Zalo Group icon

Zalo Group

Quản lý nhóm Zalo

Overview

This node allows users to change the name of a group in the Zalo platform. It is useful when you want to programmatically update or rename a group based on certain triggers or workflows within n8n. For example, you might rename a group to reflect a new project phase, update it after an event, or standardize group names automatically.

Properties

Name Meaning
ID Nhóm The unique identifier (ID) of the group whose name you want to change.
Tên Mới The new name that you want 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 of success or details about the updated group. The structure is:

{
  "json": {
    // Response data from the API indicating the result of the name change operation
  },
  "pairedItem": {
    "item": <index_of_input_item>
  }
}

No binary data output is produced by this node.

Dependencies

  • Requires an API key credential for authenticating with the Zalo platform.
  • Uses a cookie and device identifiers internally to authenticate requests.
  • The node depends on an external Zalo API client library bundled within the code to perform operations such as changing the group name.

Troubleshooting

  • Common issues:

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

    • If the node cannot obtain valid authentication cookies or tokens, it throws an error indicating missing or invalid credentials.
    • API errors returned from Zalo (e.g., permission denied, group not found) are passed through in the output JSON under an error field.
  • Resolutions:

    • Ensure the API key credential is correctly configured and has necessary permissions.
    • Verify the group ID exists and is accessible by the authenticated user.
    • Check network connectivity and retry if transient errors occur.
    • Enable "Continue On Fail" in the node settings to handle individual item errors gracefully.

Links and References

Discussion