Skip to content

Developers & webhooks template

AI enrichment webhook relay

Receive any JSON event, have AI classify it and extract entities into strict JSON, drop spam and forward the rest to your API.

  • Starts from a webhook
  • 1 AI step
  • For developers, founders

What it does

The whole workflow, at a glance.

Add an AI step to any system without writing glue code. Events posted to the workflow's webhook are classified, entities are extracted and sentiment is scored into strict JSON. Spam is dropped and everything else is forwarded to your API, with retries, idempotency keys and optional HMAC signing.

  1. TriggerIncoming event
  2. AI stepClassify and extract
  3. LogicDrop spam
    • Not spam:Forward to your API
    • Spam:Dropped
  4. OutputForward to your API
  5. OutputDropped

This is the workflow that opens in your canvas. Every step can be edited, moved or removed.

Step by step

What happens on each run.

  1. Step 1Incoming eventAny system POSTs JSON to the workflow's signed webhook URL.
  2. Step 2Classify and extractAI classifies the event, extracts entities and returns strict JSON.
  3. Step 3Drop spamSpam is dropped; everything else is forwarded.
  4. Step 4Forward to your APIPOSTs the enriched JSON to your endpoint (with HMAC signing if you turn it on).
  5. Step 5DroppedSpam stays in the run history only.

Apps and AI

What it connects to.

Apps

Swap any of them for another app: connect it in Settings → Integrations, or call its API with an HTTP step and a key from the credential vault.

AI on your own key

Works with any of the 14 providers you can connect. AI steps use your provider's default model until you pick another, and you pay your provider directly, at cost.

  • OpenAI
  • Anthropic
  • Google Gemini
  • Mistral
  • Groq
  • xAI
  • DeepSeek
  • OpenRouter
  • Together AI
  • Fireworks AI
  • Azure OpenAI
  • AWS Bedrock
  • Google Vertex AI
  • Any OpenAI-compatible endpoint

Setup checklist

Before you switch it on.

The canvas highlights anything still missing, and Dry Run works before any of this is done.

  1. POST events to the workflow's webhook URL with the signing secret shown on the trigger once activated.
  2. Connect an AI provider in Settings → AI Providers.
  3. Replace the URL in “Forward to your API” and choose an auth mode (Bearer, shared secret or HMAC) under the Output's Security settings.

FAQ

Questions about this template.

What if the model returns invalid JSON?

The AI step fails with a clear error and the run is marked failed, so nothing malformed is forwarded. Retries are on by default.

Is it free to try?

Yes. Create a free account with no credit card and the template opens in your canvas. Build and Dry Run it free; run it live on any paid plan from $39/mo.

Which AI model does it use?

Whichever provider you connect. The AI step uses the default model of your connected provider (any of 14, on your own key), and you can pick a different model for each step.

Can I test it before it touches real data?

Yes. Dry Run walks through every step with simulated AI and app calls, so you can see the path it takes before you activate the trigger.

Open “AI enrichment webhook relay” in your canvas.

Free account, no credit card. Connect your apps and AI key and dry run it, then switch it on with a paid plan from $39/mo.