Zalo Group icon

Zalo Group

Quản lý nhóm Zalo

Overview

This node interacts with Zalo Groups, a feature of the Zalo messaging platform used for group communication. Specifically, the "Lấy Tất Cả Nhóm" (Get All Groups) operation retrieves a list of groups associated with the authenticated user or account.

Common scenarios where this node is beneficial include:

  • Managing multiple Zalo groups by fetching all groups to display or process them.
  • Automating workflows that require group data, such as sending messages to groups or analyzing group membership.
  • Integrating Zalo group information into other systems or dashboards.

Practical example:

  • A marketing team uses this node to fetch all their Zalo groups and then sends targeted announcements to each group automatically.

Properties

Name Meaning
Giới Hạn The maximum number of groups to retrieve (limit). Default is 50.

Output

The output is an array of JSON objects, each representing a Zalo group retrieved by the operation. The exact structure of each group's JSON object depends on the Zalo API response but generally includes details like group ID, name, members, admins, and other metadata.

Since this node deals with group data, it does not output binary data.

Example output snippet (conceptual):

{
  "response": [
    {
      "groupId": "123456",
      "groupName": "Marketing Team",
      "members": [...],
      "admins": [...],
      "totalMember": 25
    },
    ...
  ]
}

Dependencies

  • Requires valid Zalo API credentials (an API key or token) configured in n8n.
  • Uses the Zalo API client internally to communicate with Zalo services.
  • The node expects proper authentication cookies, IMEI, and user agent strings from the credentials to establish API sessions.

Troubleshooting

  • No API instance found error: This indicates missing or invalid credentials. Ensure that the Zalo API credentials are correctly set up in n8n.
  • API request failures: Could be due to network issues, expired tokens, or permission problems. Verify credentials and network connectivity.
  • Limit property misuse: Setting the limit too high might cause performance issues or API rate limiting. Use reasonable limits.
  • Error handling: If the node encounters errors during execution, it either continues processing remaining items (if configured to continue on failure) or throws an error stopping the workflow.

Links and References

Discussion