WaAPI icon

WaAPI

Interact with WaAPI API

Actions85

Overview

This node interacts with the WaAPI API to check if a specific contact is a registered user. It is useful in scenarios where you need to verify the registration status of contacts within messaging or communication platforms that integrate with WaAPI. For example, before sending messages or performing actions on contacts, you can confirm whether they are registered users to avoid errors or unnecessary operations.

Properties

Name Meaning
Id Instance ID (a required numeric identifier for the WaAPI instance)
Contact Id The unique identifier of the contact to check, typically formatted like <xxxxx>@c.us

Output

The node outputs JSON data containing the response from the WaAPI API about the registration status of the specified contact. This typically includes fields indicating whether the contact is a registered user and possibly additional metadata related to the contact's status.

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authenticating with the WaAPI API.
  • The node sends requests to https://waapi.app/api/v1.
  • Proper configuration of the API key credential in n8n is necessary for successful operation.

Troubleshooting

  • Common issues:

    • Invalid or missing API key credential will cause authentication failures.
    • Incorrectly formatted Contact Id may result in errors or false negatives.
    • Network connectivity problems can prevent reaching the WaAPI endpoint.
  • Error messages:

    • Authentication errors usually indicate invalid or missing credentials; ensure the API key is correctly set up.
    • Validation errors may occur if the Contact Id does not follow the expected format; verify the input.
    • Timeout or network errors suggest connectivity issues; check your internet connection and firewall settings.

Links and References

Discussion