WaAPI icon

WaAPI

Interact with WaAPI API

Actions85

Overview

This node allows you to delete a contact from the WaAPI system by specifying the contact's phone number and an instance ID. It is useful in scenarios where you need to manage your contact list dynamically, such as removing outdated or incorrect contacts automatically during workflow execution.

For example, if you have a CRM system integrated with n8n and want to ensure that deleted customers are also removed from your messaging platform, this node can be used to delete their contact information based on their phone number.

Properties

Name Meaning
Id Instance ID representing the specific WaAPI instance where the contact exists.
Phone Number The phone number of the contact to delete. This identifies which contact will be removed.

Output

The node outputs JSON data representing the result of the delete operation. Typically, this would include confirmation of deletion or any error 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 key credential within n8n is necessary for successful requests.

Troubleshooting

  • Common issues:

    • Invalid or missing API key credential will cause authentication failures.
    • Providing an incorrect or non-existent phone number may result in errors or no action.
    • Incorrect instance ID could lead to failure in locating the correct contact to delete.
  • Error messages:

    • Authentication errors typically indicate problems with the API key; verify the credential setup.
    • "Contact not found" or similar messages suggest the phone number does not exist in the specified instance.
    • Network or timeout errors may require checking connectivity or API availability.

Links and References

Discussion