Overview
The Send Webhook action sends HTTP requests to external systems. Use this to integrate with third-party services, APIs, or your own systems.
Supported Methods
GET
POST
PUT
PATCH
DELETE
HEAD
OPTIONS
Configuration
Method (Required)
HTTP method to use. Default: POST
URL (Required)
Target URL for the webhook. Supports variables.
Examples:
<https://api.example.com/webhook> {external_system.webhook_url}
Headers (Optional)
Custom HTTP headers. Format: key-value pairs.
Examples:
Authorization: Bearer {api_token} Content-Type: application/json X-Custom-Header: {value}
Content Type (Optional)
Content type for the request body. Default: application/json
Common types:
application/jsonapplication/xmltext/plainapplication/x-www-form-urlencoded
Body (Optional)
Request body content. Required for POST, PUT, PATCH. Supports variables and JSON.
JSON Example:
{
"booking_id": "{booking.id}",
"customer": {
"name": "{customer.name}",
"email": "{customer.email}"
},
"amount": "{booking.gross_price}"
}Output
Returns response data:
status- HTTP status codebody- Response bodyheaders- Response headerssuccess- Boolean indicating success (2xx status)
Examples
1. Send to External API
Method: POST
URL: <https://api.example.com/bookings>
Headers: Authorization: Bearer {api_token}
Body: {
"id": "{booking.id}",
"customer": "{customer.name}"
}
2. Update CRM System
Method: PUT
URL: {crm.webhook_url}/customers/{customer.id}
Body: {
"email": "{customer.email}",
"phone": "{customer.phone}"
}
3. Delete Record
Method: DELETE
URL: <https://api.example.com/bookings/{booking.id}>
Best Practices
Use HTTPS - Always use secure URLs
Authenticate - Include API keys in headers
Handle errors - Check response status
Validate data - Ensure required fields exist
Test endpoints - Verify webhook URLs work
Log responses - Review execution logs for debugging
Error Handling
Failed requests are logged in execution logs
Check
successfield in outputSet up failure notifications for critical webhooks
Retry logic may be needed for unreliable endpoints
