WaAPI icon

WaAPI

Interact with WaAPI API

Actions85

Overview

This node interacts with the WaAPI API to delete a specific instance identified by its ID. It is useful in scenarios where you need to programmatically remove instances from the WaAPI service, such as cleaning up unused or obsolete data entries. For example, if you manage multiple instances and want to automate their deletion based on certain conditions, this node facilitates that process.

Properties

Name Meaning
Id The unique numeric identifier of the instance to be deleted

Output

The node outputs JSON data representing the response from the WaAPI API after attempting to delete the specified instance. This typically includes confirmation of deletion or error details if the operation failed. The output does not include binary data.

Dependencies

  • Requires an API key credential for authenticating with the WaAPI API.
  • The node sends requests to the base URL: 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 result in an error response from the API.
    • Missing or incorrect API credentials will cause authentication failures.
  • Error messages:
    • Errors related to authorization indicate problems with the API key; verify that the correct credential is configured.
    • Not found errors suggest the instance ID does not exist; double-check the ID value.
  • To resolve these issues, ensure the instance ID is valid and the API key credential is correctly set up in n8n.

Links and References

Discussion