Validate AI agent JSON responses with Flowhush and OpenAI GPT-4.1
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.
What this workflow does
This AI workflow has 10 nodes and runs on a schedule (every day at 08:00). Along the way it connects OpenAI Chat Model.
How it runs
Trigger: On a schedule (every day at 08:00).
- Flowhush settings (Edit Fields (Set)): sets 2 fields: flowhush_ping_url, task
- Ping Flowhush (start) (HTTP Request): calls an HTTP API
- AI Agent: runs an AI agent, with model: OpenAI Chat Model
- Send output to Flowhush (HTTP Request): calls an HTTP API (POST)
- Send fail ping to Flowhush (HTTP Request): calls an HTTP API (POST)
- Rejected by Flowhush? (If): checks a condition and branches into true / false
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (7)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp
From the author
Quick Overview This workflow runs on a schedule, prompts an OpenAI-powered AI Agent to return JSON, and sends the result to Flowhush for output validation so you can branch your automation based on whether the response is recorded as a failure. How it works…