Interactive structured prompt builder with GPT-4.1-mini and guided questions
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-10-19.
What this workflow does
This AI workflow has 14 nodes and runs when someone submits an n8n form. Along the way it connects OpenAI Chat Model.
How it runs
Trigger: When someone submits an n8n form.
- Base question (n8n Form): shows the next form page
- ChainLlm AI (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI; output parser: Structured Output
- Merge: merges the data from its input branches
- Split question (Split Out): splits a list into separate items
- Prompt generator (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI; output parser: Fixing Output
- Loop question (Loop Over Items (Split in Batches)): loops over the items in batches
- Send prompt (n8n Form): shows the next form page
- Relevant question (n8n Form): shows the next form page
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 (9)
- Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - n8n Form
n8n-nodes-base.form - Split Out
n8n-nodes-base.splitOut - n8n Form Trigger
n8n-nodes-base.formTrigger - Auto-fixing Output Parser
@n8n/n8n-nodes-langchain.outputParserAutofixing - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Merge
n8n-nodes-base.merge
From the author
Who is this for? This workflow is designed for content creators, prompt engineers, AI developers, and anyone who needs to create effective, structured prompts for AI agents. It helps transform vague ideas into detailed, well-formatted prompts by guiding users…