Wappfy icon

Wappfy

Interact with WhatsApp through Wappfy API

Overview

This node enables interaction with WhatsApp via the Wappfy API, specifically allowing management of contacts among many other resources. The "Contact - Unblock" operation unblocks a previously blocked contact by their Contact ID or phone number. This is useful in scenarios where you want to resume communication with a contact that was blocked earlier, for example, after resolving a dispute or mistakenly blocking someone.

Practical example: If you had blocked a contact due to spam but later decide to allow messages from them again, you can use this operation to unblock that contact programmatically within your workflow.

Properties

Name Meaning
Contact ID The unique identifier or phone number of the contact to unblock

Output

The output JSON contains the response from the Wappfy API after attempting to unblock the specified contact. It typically includes confirmation of the unblock action or details about the contact's updated status. The exact structure depends on the API response but generally confirms success or failure.

No binary data output is involved in this operation.

Dependencies

  • Requires an active Wappfy API credential with:
    • Base URL of the Wappfy API instance.
    • Instance name identifying the WhatsApp session.
    • An API key for authentication.
  • The node makes HTTP requests to the Wappfy API endpoints.
  • Proper configuration of the Wappfy API credentials in n8n is necessary.

Troubleshooting

  • Common issues:

    • Invalid or missing Contact ID: Ensure the Contact ID or phone number is correctly provided.
    • Authentication errors: Verify that the API key and instance name are correct and valid.
    • Network or API endpoint errors: Check connectivity and that the Wappfy API service is operational.
  • Error messages:

    • Errors returned from the API will be included in the output JSON under an error field if "Continue On Fail" is enabled.
    • Typical errors include "Contact not found," "Unauthorized," or "Invalid session."
  • Resolution:

    • Double-check input parameters.
    • Confirm API credentials and permissions.
    • Review API documentation or logs for detailed error information.

Links and References

Discussion