Skip to content
AI Automation

Set webhook response as OpenAI GPT 4 completion text for the prompt received in webhook

Send a prompt to your webhook and FlowMattic runs it through an AI model on OpenRouter, returning the completion straight back as the webhook response for real-time AI over HTTP.

WebhookWebhook OpenRouter AIOpenRouter AI Webhook ResponseWebhook Response
~5 min setup used by 2.4k sites

Free · import into FlowMattic in one click

How it works

Every step, explained

Import the template and this whole chain runs on autopilot — here's exactly what happens on each run.

Webhook → OpenRouter AI → Webhook Response
3 steps
Webhook
TRIGGER
Webhook · Capture Webhook Response
The workflow starts when data is sent to its unique webhook URL. Point any app, form or service at the URL and its payload flows into every step below.
OpenRouter AI
ACTION
OpenRouter AI · Create a Completion
OpenRouter AI — generates a completion on the basis of a given prompt. Data is mapped from earlier steps; connect your OpenRouter AI account on import.
Webhook Response
ACTION
Webhook Response · Set Webhook Response
Webhook Response — set the custom webhook response from the data in action steps. Data is mapped from earlier steps; connect your Webhook Response account on import.
Why this workflow

Built to own, not to rent

No-code setup

Import the JSON, connect your accounts, and go live in minutes. Every step is pre-mapped — you only add your own credentials.

Runs on your server

Self-hosted on your WordPress install. No per-task fees, no data leaving your infrastructure, no monthly SaaS bill.

Fully customizable

Open it in the visual builder and reshape it — add branches, swap apps, insert filters. A starting point, not a cage.

Ready to automate your WordPress site?

Download this workflow free, or grab FlowMattic and own every automation on your site — no per-task fees, ever.