DocRouter Webhook icon

DocRouter Webhook

Receive DocRouter webhook events (document.uploaded, llm.completed, etc.)

DocRouter Webhook

AI-generated

Summary

Receive and process POST webhook events from DocRouter at a configurable URL path, optionally verifying an HMAC signature to ensure requests originate from DocRouter.

Inputs

  • Path (required) — The URL path for the webhook endpoint, matching the DocRouter webhook settings (Organization Settings → Webhooks).
  • Verify Signature — Enable or disable verification of the X-DocRouter-Signature HMAC header to confirm the request is from DocRouter.
  • Webhook Secret — The secret key used for HMAC signature verification, obtained from DocRouter webhook settings. Required if signature verification is enabled.

Output shape

a list containing a single JSON object that includes the webhook event payload merged with a webhook_meta object capturing HTTP headers, query parameters, and path parameters.

If signature verification is enabled and fails, the workflow will error and reject the request. The webhook timestamp is checked to prevent replay attacks, rejecting requests older than 5 minutes. Webhook data is output to the main workflow input as a JSON array.

Links

Discussion