Zalo Group icon

Zalo Group

Quản lý nhóm Zalo

Group → Thêm Phó Nhóm

AI-generated

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 modifying group settings. The specific operation "Thêm Phó Nhóm" (Add Group Deputy) allows adding a user as a deputy (co-admin) to a specified Zalo group.

Practical scenarios include:

  • Automating group administration tasks in Zalo.
  • Adding trusted users as deputies to help manage group activities.
  • Integrating Zalo group management into broader workflows for team collaboration or community management.

Properties

Name Meaning
ID Nhóm The unique identifier of the Zalo group where the deputy will be added.
ID Người Dùng The unique identifier of the user to be added as a deputy in the specified group.

Output

The output JSON contains:

  • status: A string indicating the success of the operation, e.g., "Thành công" ("Success").
  • response: The raw response from the Zalo API after attempting to add the deputy user.

Example output structure:

{
  "status": "Thành công",
  "response": { /* API response object */ }
}

No binary data is produced by this operation.

Dependencies

  • Requires an API key credential to authenticate with the Zalo API.
  • The node uses stored credentials including cookie, IMEI, and user agent strings to establish a session.
  • The external dependency is the zca-js library which provides the interface to the Zalo API.

Troubleshooting

  • Invalid Credentials: If the API instance cannot be created, ensure that valid Zalo API credentials are provided, including a valid cookie, IMEI, and user agent.
  • User or Group Not Found: Errors may occur if the provided group ID or user ID does not exist or the authenticated user lacks permission.
  • API Rate Limits or Network Issues: Temporary failures might happen due to network problems or API rate limiting; retrying later can help.
  • Error Handling: If the node is set to continue on failure, errors will be returned in the output JSON under an error field for each failed item.

Links and References

Discussion