Overview
The Wapisimo Webhook node for n8n allows you to manage webhooks associated with a specific phone in the Wapisimo platform. The "Delete Webhook" operation specifically enables users to remove an existing webhook from a given phone by specifying both the Phone ID and the Webhook ID.
Common scenarios:
- Cleaning up unused or obsolete webhooks from your Wapisimo account.
- Automating the removal of webhooks as part of a workflow (e.g., after decommissioning a service).
- Ensuring only relevant webhooks remain active for security or maintenance purposes.
Practical example:
You have automated processes that create webhooks for temporary integrations. Once those integrations are no longer needed, you can use this node to programmatically delete the corresponding webhooks.
Properties
| Name | Type | Meaning |
|---|---|---|
| Phone ID | String | The ID of the phone to manage webhooks for. This identifies the device whose webhook you want to delete. |
| Webhook ID | String | The ID of the webhook to delete. This specifies which webhook will be removed from the selected phone. |
Output
The node outputs a single item per input, with the following structure in the json field:
- On success: The response from the Wapisimo API after deleting the webhook. The exact structure depends on the API but typically includes confirmation of deletion or status information.
- On failure (if "Continue On Fail" is enabled):
{ "error": "Error message string" }
Dependencies
- External Service: Requires access to the Wapisimo API.
- API Key: You must provide valid Wapisimo API credentials (
wapiSimoApi) in n8n. - n8n Configuration: Ensure the credential type
wapiSimoApiis set up with your API key.
Troubleshooting
Common issues:
- Invalid Phone ID or Webhook ID: If either ID is incorrect, the API will likely return an error indicating the resource was not found.
- Missing or Invalid API Key: If the API key is missing or invalid, authentication errors will occur.
- Network Issues: Connectivity problems may result in request failures.
Error messages:
"error": "Request failed with status code 404"— The specified Phone ID or Webhook ID does not exist. Double-check the IDs."error": "Unauthorized"— The API key is missing or incorrect. Verify your credentials."error": "Network Error"— There is a problem connecting to the Wapisimo API. Check your network connection and API endpoint.