Templates / AI-powered RAG configuration assistant: From form to email recommendations

AI-powered RAG configuration assistant: From form to email recommendations

Needs changes

by Sridevi Edupuganti ✓ · 106 views · created 2025-12-20 · Engineering, AI RAG

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 13 nodes and runs when someone submits an n8n form. Along the way it connects OpenRouter Chat Model and Gmail.

How it runs

Trigger: When someone submits an n8n form.

  1. Analyze Input (Code): runs custom JavaScript code
  2. Check File Upload (If): checks a condition and branches into true / false
  3. Extract File Content (Code): runs custom JavaScript code
  4. Manual Input Path (Code): runs custom JavaScript code
  5. Merge: merges the data from its input branches
  6. Prepare for AI (Edit Fields (Set)): sets or maps fields
  7. Configuration Decision Engine (AI Agent): runs an AI agent, with model: OpenRouter LLM
  8. Generate n8n Workflow (Code): runs custom JavaScript code
  9. Create Workflow Attachment (Code): runs custom JavaScript code
  10. Format HTML Report (Code): runs custom JavaScript code

…plus 1 more step. See the full node list below.

Services it uses

OpenRouter Chat ModelGmail

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Configuration Decision Engine (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.
Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Configuration Decision Engine (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (8)

From the author

Description An intelligent RAG Configuration Assistant that analyzes your retrieval-augmented generation requirements and delivers AI-powered recommendations via email. Get expert guidance on embedding models, chunk sizes, vector stores, and cost…

Excerpt from Sridevi Edupuganti'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.