WaAPI icon

WaAPI

Interact with WaAPI API

Actions85

Overview

The "Unblock Contact" operation in the Contact resource allows users to remove a block status from a specific WhatsApp contact. This is useful when you want to resume communication with a previously blocked contact on WhatsApp via the WaAPI service. For example, if a user had blocked a contact due to spam or unwanted messages but later decides to allow messages again, this node operation facilitates that action programmatically.

Properties

Name Meaning
Id Instance ID (a numeric identifier for the instance where the unblock action will be applied)
Contact Id The WhatsApp ID of the contact to unblock, formatted as number@c.us (e.g., 1234567890@c.us)

Output

The node outputs JSON data representing the result of the unblock request sent to the WaAPI API. This typically includes confirmation of the unblock action or any relevant response details from 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 credentials within n8n is necessary for successful execution.

Troubleshooting

  • Common Issues:

    • Invalid or missing API credentials can cause authentication failures.
    • Incorrectly formatted Contact Id (not following the number@c.us format) may lead to errors.
    • Using an invalid or non-existent Instance ID might result in failure to locate the target instance.
  • Error Messages and Resolutions:

    • Authentication errors: Verify that the API key credential is correctly set up and has not expired.
    • Invalid contact ID format: Ensure the contact ID matches the required WhatsApp ID format.
    • Instance not found: Confirm the Instance ID corresponds to an active and accessible instance.

Links and References

Discussion