Skip to main content

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

Workflow preview

Workflow preview
100%
AI-powered RAG configuration assistant: From form to email recommendations preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Description An intelligent RAG Configuration Assistant that analyzes your retrieval augmented generation requirements and delivers AI powered recommendations via email. Get expert guidance on embed...

Best for

  • Engineering automation workflows
  • AI RAG automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.formtrigger, n8n-nodes-base.code, n8n-nodes-base.if, n8n-nodes-base.merge, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenrouter, n8n-nodes-base.gmail

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Sridevi Edupuganti.

Original n8n.io source

1.1 Workflow description

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

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 estimates—all automated through a simple form submission.

Key Features

• AI-powered analysis using LLM • 14 predefined use cases (Document Q&A, Chatbot, Legal, Medical, etc.) • Optional document upload for enhanced analysis • Beautiful HTML email reports with modern dashboard design • Customized n8n workflow JSON attachment • Cost estimation based on budget and usage • Deterministic AI (temperature=0) for consistent results • Dual-branch architecture (file upload or manual input)

How it works

  1. Form Submission: User provides use case, document type, pages, budget, query volume
  2. AI Analysis: Claude evaluates requirements and complexity
  3. Recommendation Engine: Generates optimal configuration (embedding model, chunk size, vector store)
  4. Report Generation: Creates professional HTML email with all recommendations
  5. Workflow Creation: Builds customized n8n workflow JSON
  6. Email Delivery: Sends report + workflow attachment via Gmail

How to use

  1. Setup credentials: Add OpenRouter API key and Gmail OAuth
  2. Activate workflow: Enable the Form Trigger
  3. Share form URL: Distribute to your team or clients
  4. Receive requests: Users fill out the form
  5. Get results: Recipients receive email with recommendations + workflow file
  6. Import workflow: Download attached JSON and import to n8n

Requirements

Essential:

  • n8n instance (v1.0+)
  • OpenRouter account + API key
  • Gmail account with OAuth2 setup

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Form Trigger

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.1

Block 2 - Analyze Input

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 3 - Check File Upload

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 4 - Extract File Content

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - Manual Input Path

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 6 - Merge Analysis

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 2.1

Block 7 - Prepare for AI

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.2

Block 8 - Configuration Decision Engine

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.7

Block 9 - OpenRouter LLM

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenRouter - lmChatOpenRouter
Config choices
Version 1

Block 10 - Generate n8n Workflow

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 11 - Format HTML Report

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 12 - Send Gmail

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 13 - Create Workflow Attachment

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 14 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow AI-powered RAG configuration assistant: From form to email recommendations
Complexity advanced
Nodes 21
Categories Engineering, AI RAG
Author Sridevi Edupuganti
Published 20 Dec 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11990/11990.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does AI-powered RAG configuration assistant: From form to email recommendations do?

Description An intelligent RAG Configuration Assistant that analyzes your retrieval augmented generation requirements and delivers AI powered recommendations via email. Get expert guidance on embed...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Engineering, AI RAG use case.