WaAPI icon

WaAPI

Interact with WaAPI API

Actions83

Overview

This node interacts with the WaAPI API to retrieve member requests for a specific group. It is useful in scenarios where you want to manage or monitor pending join requests to a WhatsApp group, such as automating approval workflows, notifying admins of new requests, or auditing group membership changes.

For example, an admin could use this node to fetch all pending member requests and then trigger further actions like sending notifications or automatically approving certain users based on predefined criteria.

Properties

Name Meaning
Id Instance ID (a required numeric identifier for the API instance or context)
Chat Id The unique identifier of the WhatsApp group chat (e.g., <xxxxx>@g.us) to get requests

Output

The node outputs JSON data containing the list of member requests for the specified group chat. The exact structure depends on the WaAPI response but typically includes details about each request such as requester info, timestamps, and status.

No binary data output is indicated by the source code.

Dependencies

  • Requires an API key credential for authenticating with the WaAPI service.
  • The node uses the base URL https://waapi.app/api/v1 for API requests.
  • The user must configure the appropriate API credentials within n8n to enable communication with WaAPI.

Troubleshooting

  • Missing or invalid API credentials: Ensure that the API key credential is correctly set up in n8n; otherwise, authentication will fail.
  • Invalid or missing Chat Id: The chatId must be a valid WhatsApp group identifier in the format <xxxxx>@g.us. Providing an incorrect or empty value may result in errors or empty responses.
  • Instance ID issues: The id property is required and must be a valid number corresponding to the API instance context.
  • Network or API errors: Check network connectivity and WaAPI service status if requests fail unexpectedly.

Links and References

Discussion