Actions26
Overview
This node integrates with the Mercado Pago MCP (Mercado Pago's API) to manage webhooks among other resources. Specifically, for the Webhook - Delete operation, it allows users to delete an existing webhook by its ID. This is useful when you want to stop receiving notifications or events from a particular webhook endpoint.
Common scenarios include:
- Removing obsolete or unused webhook endpoints.
- Cleaning up webhooks after testing or migration.
- Managing webhook lifecycle programmatically within automation workflows.
Example: You have a webhook set up to listen for payment events but no longer need it. Using this node operation, you can delete that webhook by providing its ID, ensuring your system stops receiving those events.
Properties
| Name | Meaning |
|---|---|
| Webhook ID | The unique identifier of the webhook to delete. |
Output
The output JSON contains the following fields:
type: A string indicating the type of response, here"webhook_deleted".webhook_id: The ID of the webhook that was deleted.status: A string status, expected to be"deleted"upon successful deletion.success: Boolean indicating if the operation succeeded (true).timestamp: ISO 8601 timestamp of when the operation was performed.
The output confirms the webhook has been deleted successfully.
No binary data is output by this operation.
Example output JSON snippet:
{
"type": "webhook_deleted",
"webhook_id": "123456789",
"status": "deleted",
"success": true,
"timestamp": "2024-06-01T12:00:00.000Z"
}
Dependencies
- Requires an API key credential for Mercado Pago MCP with appropriate permissions.
- Uses the Mercado Pago REST API endpoint
https://api.mercadopago.com/v1/webhooks/{webhookId}with HTTP DELETE method. - Requires n8n credentials configuration to store and provide the access token securely.
Troubleshooting
Error: Missing or invalid Webhook ID
Ensure the "Webhook ID" property is provided and correctly references an existing webhook.Error: Unauthorized / Invalid API Key
Verify that the API key credential is valid, active, and has permission to delete webhooks.Error: Webhook not found
The specified webhook ID may not exist or might have already been deleted. Confirm the ID is correct.Network or connectivity issues
Check network access to Mercado Pago API endpoints and ensure no firewall or proxy blocks requests.Continue on Fail behavior
If enabled, errors will be returned in the output JSON withsuccess: falseinstead of stopping execution.
Links and References
- Mercado Pago Webhooks API Documentation
- Mercado Pago Developer Portal
- n8n Documentation on Credentials
This summary focuses solely on the static analysis of the node's execute method for the Webhook resource's Delete operation as requested.