Actions29
- Chat Actions
- Group Actions
- Instance Actions
- Message Actions
- Webhook Actions
Overview
This node operation retrieves detailed information about a specific WhatsApp group using the MegaAPI WhatsApp service. It fetches comprehensive metadata for the group identified by its unique Group JID (Jabber ID). The returned data typically includes the group's name, description, list of participants, admin statuses, creation date, and various group settings.
This operation is useful in scenarios where you need to audit group details, monitor membership, or integrate group metadata into workflows. For example, you might use it to:
- Display group info in a dashboard.
- Verify if certain users are members or admins.
- Track changes in group settings over time.
Properties
| Name | Meaning |
|---|---|
| Group JID | The unique identifier of the WhatsApp group in the format group_id@g.us (e.g., 12345678910@g.us). |
| Information | A notice indicating that this operation retrieves detailed WhatsApp group information including metadata. |
Output
The output JSON contains detailed information about the specified WhatsApp group. This typically includes fields such as:
- Group name
- Group description
- List of participants with their roles (e.g., admin or member)
- Creation date of the group
- Various group settings and statuses
The exact structure depends on the API response but generally provides a comprehensive snapshot of the group's current state.
No binary data output is expected from this operation.
Dependencies
- Requires an active connection to the MegaAPI WhatsApp service.
- Needs valid API authentication credentials (an API key/token) configured in n8n credentials.
- The node uses the base URL and authorization token from these credentials to make requests.
Troubleshooting
- Invalid Group JID Format: Ensure the Group JID is correctly formatted as
group_id@g.us. Incorrect formatting will likely cause errors or empty responses. - Group Not Found or Access Denied: If the WhatsApp instance is not a member of the group or the group does not exist, the API may return an error or empty data.
- Authentication Errors: Verify that the API token/credentials are valid and have sufficient permissions.
- Network Issues: Check connectivity to the MegaAPI service endpoint.
- Error Messages: The node throws errors like "Unknown group operation" if the operation parameter is incorrect, or other API-related errors which should be inspected in the error message details.
Links and References
- WhatsApp Group JID Format Explanation
- MegaAPI WhatsApp service documentation (refer to your service provider's official docs for detailed API references).