WaAPI icon

WaAPI

Interact with WaAPI API

Actions83

Overview

This node allows you to delete an instance by its ID from the WaAPI service. It is useful in scenarios where you need to programmatically remove specific instances, such as cleaning up unused or obsolete data entries in your WaAPI environment. For example, if you manage multiple instances and want to automate the removal of certain ones based on criteria external to WaAPI, this node can be integrated into your workflow.

Properties

Name Meaning
Id The unique numeric identifier of the instance to delete

Output

The node outputs JSON data representing the result of the delete operation. Typically, this will include confirmation of deletion or any relevant status messages 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 REST API at https://waapi.app/api/v1.
  • Proper configuration of the API authentication credential within n8n is necessary.

Troubleshooting

  • Common issues:
    • Providing an invalid or non-existent instance ID will likely result in an error response from the API.
    • Missing or incorrect API credentials will cause authentication failures.
  • Error messages:
    • "Instance not found" or similar indicates the specified ID does not exist; verify the ID before retrying.
    • Authentication errors suggest checking the API key credential setup.
  • To resolve these, ensure the instance ID is correct and the API key credential is valid and has sufficient permissions.

Links and References

Discussion