Zalo Group icon

Zalo Group

Quản lý nhóm Zalo

Overview

This node interacts with Zalo Groups, enabling users to manage and retrieve information about groups on the Zalo platform. Specifically, the "Lấy Thông Tin Nhóm" (Get Group Info) operation fetches detailed information about a specified group by its ID.

Common scenarios where this node is beneficial include:

  • Retrieving metadata and member details of a Zalo group for reporting or monitoring.
  • Integrating group information into workflows that require group context.
  • Automating group management tasks based on group data.

For example, you can use this node to input a group ID and receive comprehensive information about that group, such as its members, admins, and other metadata, which can then be used in subsequent workflow steps.

Properties

Name Meaning
ID Nhóm The unique identifier (ID) of the Zalo group whose information you want to retrieve. This is a required string input.

Output

The output JSON contains two main fields:

  • response: The full raw response object returned from the Zalo API containing all available data about the group.
  • groupInfo: A specific subset of the response focused on the group's detailed information, extracted by the node for easier access.

Example structure of the output JSON:

{
  "response": { /* full API response object */ },
  "groupInfo": { /* detailed info about the group identified by the given ID */ }
}

No binary data is output by this operation.

Dependencies

  • Requires an active connection to the Zalo API via an API key credential configured in n8n.
  • The node uses stored credentials including cookie, IMEI, and user agent strings to authenticate requests.
  • The underlying implementation depends on the zca-js library to interact with the Zalo API.

Troubleshooting

  • Invalid Credentials: If the node throws an error indicating no API instance found, verify that the provided API credentials are valid and have not expired.
  • Group Not Found: If the group ID does not exist or is incorrect, the API may return an error or empty data. Double-check the group ID input.
  • Network Issues: Connectivity problems with the Zalo API can cause failures; ensure your network allows outbound requests to Zalo services.
  • Continue On Fail: If enabled, the node will continue processing other items even if one fails, returning error messages in the output JSON under the error field.

Links and References

Discussion