WaAPI icon

WaAPI

Interact with WaAPI API

Actions85

Overview

This node interacts with the WaAPI service to send a "presence available" signal for a specified client instance. It is useful in scenarios where you want to programmatically update or notify that a client (such as a user or device) is currently available or online. For example, this can be used in chat applications or customer support systems to indicate that an agent or user is ready to receive messages.

Properties

Name Meaning
Id The unique identifier of the client instance for which the presence status will be set to available. This is a required numeric value.

Output

The node outputs JSON data representing the response from the WaAPI service after sending the presence available signal. This typically includes confirmation details about the updated presence status of the specified client instance. There is no indication that binary data is output by this node.

Dependencies

  • Requires an API key credential for authenticating with the WaAPI service.
  • The node communicates with the WaAPI REST API at https://waapi.app/api/v1.
  • Proper configuration of the API authentication credentials within n8n is necessary.

Troubleshooting

  • Common issues:

    • Invalid or missing client instance ID may cause the request to fail.
    • Incorrect or expired API credentials will result in authentication errors.
    • Network connectivity problems can prevent communication with the WaAPI endpoint.
  • Error messages and resolutions:

    • Authentication failed: Verify that the API key credential is correctly configured and has not expired.
    • Invalid instance ID: Ensure the provided Id corresponds to a valid client instance in the WaAPI system.
    • Network error: Check internet connection and firewall settings that might block access to https://waapi.app/api/v1.

Links and References

Discussion