WaAPI icon

WaAPI

Interact with WaAPI API

Actions83

Overview

This node interacts with the WaAPI API to retrieve participants of a specific group chat. It is useful in scenarios where you need to programmatically access the list of members in a WhatsApp group, for example, to analyze group composition, send targeted messages, or manage group membership data.

Practical examples include:

  • Fetching all participants of a group to synchronize with an external CRM.
  • Monitoring group membership changes by periodically retrieving participant lists.
  • Automating notifications or reports based on group member data.

Properties

Name Meaning
Id The instance ID representing the specific WaAPI session or connection to use.
Chat Id The unique identifier of the WhatsApp group chat (e.g., "123456789@g.us") whose participants are to be retrieved.

Output

The node outputs JSON data containing the list of participants of the specified WhatsApp group. This typically includes details such as participant IDs and possibly other metadata related to each group member.

If the node supports binary data output, it would generally relate to media or files associated with the group, but this operation focuses on participant information and thus primarily outputs structured JSON.

Dependencies

  • Requires an active API key credential for the WaAPI service.
  • Needs network access to https://waapi.app/api/v1.
  • The node depends on the @devlikeapro/n8n-openapi-node package for OpenAPI integration.
  • Proper configuration of the API authentication within n8n credentials is necessary.

Troubleshooting

  • Common issues:

    • Invalid or missing API key credential will cause authentication failures.
    • Incorrect or malformed Chat Id may result in errors or empty participant lists.
    • Network connectivity problems can prevent successful API calls.
  • Error messages:

    • Authentication errors usually indicate invalid or expired API keys; verify and update credentials.
    • "Group not found" or similar errors suggest the Chat Id does not correspond to an existing group; double-check the ID format.
    • Timeout or connection errors imply network issues; ensure n8n has internet access and the API endpoint is reachable.

Links and References

Discussion