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 a group, retrieving group information, managing members, changing group details, and creating notes within groups.

The specific operation "Lấy Thông Tin Nhóm" (Get Group Info) retrieves detailed information about a specified Zalo group by its ID. This is useful for scenarios where you need to fetch metadata or current state of a group, such as member lists, group name, or other group attributes.

Practical examples:

  • Fetching group info before sending targeted messages.
  • Displaying group details in dashboards or reports.
  • Verifying group existence or status before performing further actions.

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 from the Zalo API containing all data related to the requested group.
  • groupInfo: A subset of the response specifically keyed by the requested group ID, containing detailed information about that group.

Example output structure:

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

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential to authenticate with the Zalo API.
  • Uses the zca-js library internally to interact with Zalo services.
  • The node expects valid authentication cookies, device IMEI, and user agent strings either from credentials or input data.

Troubleshooting

  • Common issues:

    • Invalid or expired authentication credentials will cause login failure.
    • Providing an incorrect or non-existent group ID will result in empty or error responses.
    • Missing required parameters like the group ID will cause the node to throw errors.
  • Error messages:

    • "No API instance found. Please make sure to provide valid credentials."
      Means the node could not authenticate with Zalo API. Check your API key and credential setup.
    • Errors thrown during API calls will be reported with their message. If "Continue On Fail" is enabled, the node outputs the error message per item instead of stopping execution.

Links and References

Discussion