Wappfy icon

Wappfy

Interact with WhatsApp through Wappfy API

Overview

This node enables interaction with WhatsApp channels via the Wappfy API. Specifically, the "Delete" operation under the "Channel" resource allows users to delete a WhatsApp channel by its ID. This is useful for managing and cleaning up channels that are no longer needed or relevant.

Practical scenarios include:

  • Removing obsolete or inactive channels from your WhatsApp management system.
  • Automating channel lifecycle management in workflows where channels are dynamically created and deleted.
  • Ensuring compliance by deleting channels that should no longer be accessible.

Properties

Name Meaning
Channel ID The unique identifier of the channel to delete.

Output

The output JSON contains the response from the Wappfy API after attempting to delete the specified channel. It typically includes confirmation of deletion or error details if the operation failed.

Example output structure:

{
  "json": {
    // API response confirming deletion or error information
  }
}

No binary data is output by this operation.

Dependencies

  • Requires an active Wappfy API credential with a valid API key and instance name configured in n8n.
  • The node makes HTTP requests to the Wappfy API base URL using these credentials.
  • Proper network access to the Wappfy API endpoint is necessary.

Troubleshooting

  • Common issues:

    • Invalid or missing Channel ID: Ensure the Channel ID provided is correct and exists.
    • Authentication errors: Verify that the API key credential is correctly set up and has sufficient permissions.
    • Network connectivity problems: Confirm that the n8n instance can reach the Wappfy API endpoint.
  • Error messages:

    • Errors returned from the API will be included in the output JSON under an error field if the node is set to continue on fail.
    • If not continuing on fail, the node will throw an error with the message from the API or request failure.
  • Resolution tips:

    • Double-check input parameters for correctness.
    • Review API key validity and permissions.
    • Check logs and network settings for connectivity issues.

Links and References

Discussion