Sim

Webhook

The Webhook block sends HTTP POST requests to external webhook endpoints with automatic webhook headers and optional HMAC signing.

Webhook Block

Configuration

Webhook URL

The destination endpoint for your webhook request. Supports both static URLs and dynamic values from other blocks.

Payload

JSON data to send in the request body. Use the AI wand to generate payloads or reference workflow variables:

{
  "event": "workflow.completed",
  "data": {
    "result": "<agent.content>",
    "timestamp": "<function.result>"
  }
}

Signing Secret

Optional secret for HMAC-SHA256 payload signing. When provided, adds an X-Webhook-Signature header:

X-Webhook-Signature: t=1704067200000,v1=5d41402abc4b2a76b9719d911017c592...

To verify signatures, compute HMAC-SHA256(secret, "${timestamp}.${body}") and compare with the v1 value.

Additional Headers

Custom key-value headers to include with the request. These override any automatic headers with the same name.

Automatic Headers

Every request includes these headers automatically:

HeaderDescription
Content-Typeapplication/json
X-Webhook-TimestampUnix timestamp in milliseconds
X-Delivery-IDUnique UUID for this delivery
Idempotency-KeySame as X-Delivery-ID for deduplication

Outputs

OutputTypeDescription
datajsonResponse body from the endpoint
statusnumberHTTP status code
headersobjectResponse headers

Example Use Cases

Notify external services - Send workflow results to Slack, Discord, or custom endpoints

Agent → Function (format) → Webhook (notify)

Trigger external workflows - Start processes in other systems when conditions are met

Condition (check) → Webhook (trigger) → Response

The Webhook block always uses POST. For other HTTP methods or more control, use the API block.

On this page

On this page

Start building today
Trusted by over 60,000 builders.
Build Agentic workflows visually on a drag-and-drop canvas or with natural language.
Get started