WaAPI icon

WaAPI

Interact with WaAPI API

Actions83

Overview

The "Unblock Contact" operation in the Contact resource allows users to remove a block on a specific WhatsApp contact. This is useful when you want to resume communication with a previously blocked contact without manually unblocking them in the WhatsApp app. For example, if a user had blocked a contact due to spam or unwanted messages but later decides to allow messages from that contact again, this node automates that process.

Properties

Name Meaning
Id Instance ID representing the specific instance of the service or connection being used.
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 reflecting the result of the unblock operation. Typically, this will include confirmation that the contact has been successfully unblocked or an error message if the operation failed. There is no indication that binary data is output by this node.

Dependencies

  • Requires an API key credential for authentication with the WaAPI service.
  • The node interacts with the WaAPI REST API at the base URL: 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 Contact Id format: Ensure the contact ID follows the number@c.us format.
    • Incorrect or expired API credentials: Verify that the API key is valid and has not expired.
    • Network connectivity issues: Confirm that the n8n instance can reach the WaAPI endpoint.
  • Error Messages:
    • Authentication errors typically indicate invalid API credentials; reconfigure the API key.
    • Validation errors may occur if required properties like Id or Contact Id are missing or malformed.
    • API rate limits or service downtime could cause request failures; check the service status or retry later.

Links and References

Discussion