Zalo icon

Zalo

Zalo Node

Overview

This node operation "Get Group Info" under the "API" resource is designed to retrieve detailed information about a specific group by its ID. It is useful in scenarios where you need to fetch metadata or status about a group, such as in messaging platforms, collaboration tools, or social networks that organize users into groups.

Practical examples include:

  • Fetching group details before sending messages or notifications.
  • Displaying group information in dashboards or reports.
  • Automating workflows that depend on group membership or attributes.

The node supports two message sending formats: raw JSON and a predefined message format, allowing flexibility depending on the API or service requirements.

Properties

Name Meaning
Send Option Choice of message format when sending data:
- Raw Json: send message as raw JSON.
- Message: send message in a predefined format.
Group ID The unique identifier of the group for which information is requested. This is a required string input.

Output

The node outputs JSON data containing the retrieved group information. The exact structure depends on the external API response but typically includes fields such as group name, members, creation date, and other metadata relevant to the group.

If binary data were involved (e.g., media files), it would be indicated here, but this node focuses on JSON output only.

Dependencies

  • Requires access to an external API endpoint that provides group information based on a group ID.
  • Needs proper authentication credentials (such as an API key or token) configured in n8n to authorize requests.
  • Depends on HTTP request capabilities within n8n to communicate with the external service.

Troubleshooting

  • Missing or invalid Group ID: The node requires a valid group ID; ensure this property is set correctly.
  • Authentication errors: If the API key or token is missing or incorrect, the node will fail to authenticate. Verify credential configuration.
  • API rate limits or downtime: External API may limit requests or be temporarily unavailable, causing errors or timeouts.
  • Incorrect Send Option: Choosing an unsupported message format might cause the API to reject the request.
  • Error messages: Common errors include "Unauthorized", "Not Found" (invalid group ID), or "Bad Request". Check the error details and adjust inputs or credentials accordingly.

Links and References

  • Refer to the external API documentation for the group info endpoint to understand expected request and response formats.
  • n8n HTTP Request node documentation for configuring API calls and authentication.
  • General best practices for managing API keys and secure credentials in n8n workflows.

Discussion