WaAPI icon

WaAPI

Interact with WaAPI API

Actions85

Overview

This node interacts with the WaAPI API to format phone numbers associated with contacts. Specifically, the "Get Formatted Number" operation takes a raw phone number and returns it in a standardized, formatted version according to the API's formatting rules. This is useful in scenarios where consistent phone number formatting is required for display, storage, or further processing, such as CRM integrations, contact management systems, or communication platforms.

For example, if you have a list of phone numbers entered in various formats, this node can normalize them into a uniform format, improving data quality and ensuring compatibility with other systems.

Properties

Name Meaning
Id Instance ID (a numeric identifier for the specific contact instance).
Number Phone number to format. The input phone number string that will be processed by the API.

Output

The node outputs JSON data containing the formatted phone number as returned by the WaAPI service. The exact structure depends on the API response but typically includes the normalized phone number string and possibly additional metadata about the formatting.

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 within n8n is necessary for successful operation.

Troubleshooting

  • Common issues:

    • Invalid or missing API key credential will cause authentication failures.
    • Providing an incorrectly formatted or invalid phone number may result in errors or unexpected output.
    • Network connectivity issues can prevent reaching the WaAPI endpoint.
  • Error messages:

    • Authentication errors typically indicate problems with the API key; verify the credential setup.
    • Validation errors from the API may indicate the phone number does not meet expected formats; ensure the input is correct.
    • Timeout or network errors suggest connectivity problems; check your internet connection and firewall settings.

Links and References

Discussion