WaAPI icon

WaAPI

Interact with WaAPI API

Actions83

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 online or available. 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 of the action or any relevant metadata returned by the API. 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 endpoint at 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 may cause authentication failures.
    • Providing an incorrect or non-existent client instance ID will likely result in errors or no effect.
    • Network connectivity problems can prevent communication with the WaAPI service.
  • Error messages and resolutions:

    • Authentication errors: Verify that the API key credential is correctly configured and has the necessary permissions.
    • Not found or invalid ID errors: Double-check the client instance ID provided as input.
    • Timeout or network errors: Ensure stable internet connection and that the WaAPI service is reachable.

Links and References

Discussion