Zalo Group icon

Zalo Group

Quản lý nhóm Zalo

Overview

This node interacts with Zalo Groups, allowing 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:

  • Automating group management tasks such as retrieving group details for reporting or monitoring.
  • Integrating Zalo group data into other workflows or systems.
  • Building custom dashboards that display group information dynamically.

For example, you can use this node to get the member list, admins, and other metadata of a Zalo group by providing the group's ID, then use that data downstream in your workflow.

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 keyed by the group ID, which includes detailed information about the group such as members, admins, and other metadata.

Example output structure:

{
  "response": { /* full API response object */ },
  "groupInfo": {
    "memberIds": [/* array of member user IDs */],
    "adminIds": [/* array of admin user IDs */],
    "currentMems": [/* current members info */],
    "updateMems": [/* updated members info */],
    "totalMember": 123
  }
}

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential to authenticate with the Zalo platform.
  • The node uses stored credentials including cookie, IMEI, and user agent strings to establish a session with Zalo's API.
  • Proper configuration of these credentials in n8n is necessary for successful API calls.

Troubleshooting

  • Invalid Credentials: If the node throws an error indicating no API instance found, verify that the provided API authentication token (cookie, IMEI, user agent) is valid and has not expired.
  • Group Not Found: Providing an incorrect or non-existent group ID will likely result in an error or empty response. Double-check the group ID value.
  • API Rate Limits: Frequent requests may hit Zalo API rate limits; consider adding delays or handling retries.
  • Continue On Fail: If enabled, the node will continue processing subsequent items even if one fails, returning error messages in the output JSON under the error field.

Links and References

Discussion