WaAPI icon

WaAPI

Interact with WaAPI API

Actions83

Overview

This node operation allows you to accept member requests for a WhatsApp group. When users request to join a group, this operation approves those requests, effectively adding the specified users to the group. This is useful in scenarios where group membership is controlled and requires admin approval before new members can join.

Practical examples include:

  • Automatically approving pending join requests for a community or support group.
  • Managing membership of event or interest-based groups by programmatically accepting specific users.
  • Integrating with other workflows that handle user onboarding or verification before granting group access.

Properties

Name Meaning
Id Instance ID (a numeric identifier for the instance of the node execution)
Chat Id The unique identifier of the WhatsApp group in the format <groupId>@g.us
Requester Ids One or more requester IDs (WhatsApp user IDs) to approve for joining the group

Output

The node outputs JSON data representing the result of the accept member requests operation. This typically includes confirmation of which requester IDs were approved and any relevant status messages from the API. There is no indication of binary data output.

Dependencies

  • Requires an API key credential for authenticating with the WaAPI service.
  • Depends on the external WaAPI REST API endpoint at https://waapi.app/api/v1.
  • The node uses HTTP headers specifying JSON content type and expects JSON responses.
  • Proper configuration of the API credential within n8n is necessary for successful requests.

Troubleshooting

  • Common issues:

    • Invalid or missing API credentials will cause authentication failures.
    • Incorrectly formatted Chat Id or Requester Ids may lead to errors or no action taken.
    • Network connectivity problems can prevent communication with the WaAPI service.
  • Error messages:

    • Authentication errors usually indicate invalid or expired API keys; verify and update credentials.
    • Validation errors may occur if required properties are missing or malformed; ensure all required fields are correctly set.
    • API rate limits or service downtime could cause temporary failures; retry after some time or check service status.

Links and References

Discussion