Templates / Ai prompt generator workflow

Ai prompt generator workflow

Ready for 3.0

by Anurag Srivastava · 55,844 views · created 2025-06-19 · Engineering, Multimodal AI

Ready 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 (“🚀 AI Prompt Generator”). Along the way it connects Google Gemini Chat Model.

How it runs

Trigger: When someone submits an n8n form (“🚀 AI Prompt Generator”).

  1. BaseQuestions (n8n Form): shows the next form page
  2. RelatedQuestionAI (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model; output parser: Structured Output Parser
  3. Merge: merges the data from its input branches
  4. SplitQuestions (Split Out): splits a list into separate items
  5. PromptGenerator (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model; output parser: Auto-fixing Output Parser
  6. LoopQuestions (Loop Over Items (Split in Batches)): loops over the items in batches
  7. SendingPrompt (n8n Form): shows the next form page
  8. RelevantQuestions (n8n Form): shows the next form page

Services it uses

Google Gemini Chat Model

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)

From the author

🧠 AI Prompt Generator Workflow – n8n Documentation Who is this for? This workflow is for AI builders, prompt engineers, developers, marketers, and no-code creators who want to convert rough user input into structured, high-quality prompts for LLMs. It’s…

Excerpt from Anurag Srivastava's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.