AutomationFlowsAI & RAG › Ai-powered RAG Configuration Assistant: From Form to Email Recommendations

Ai-powered RAG Configuration Assistant: From Form to Email Recommendations

BySridevi Edupuganti @edupuganti on n8n.io

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…

Event trigger★★★★☆ complexityAI-powered21 nodesForm TriggerAgentOpenRouter ChatGmail
AI & RAG Trigger: Event Nodes: 21 Complexity: ★★★★☆ AI nodes: yes Added:

This workflow corresponds to n8n.io template #11990 — we link there as the canonical source.

This workflow follows the Agent → Form Trigger recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "Generate AI-powered RAG recommendations from form submission to email",
  "tags": [],
  "nodes": [
    {
      "id": "ccda174f-3fee-4c2a-9a43-bed1c191e2ee",
      "name": "Form Trigger",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -976,
        304
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "3a5801af-eaf6-4073-a341-7b365b2fa39a",
      "name": "Analyze Input",
      "type": "n8n-nodes-base.code",
      "position": [
        -768,
        304
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "e1159295-ad3c-4099-b142-24f5483e4731",
      "name": "Check File Upload",
      "type": "n8n-nodes-base.if",
      "position": [
        -496,
        304
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "ac8a1708-032e-4b78-aeb5-81745d89d8b3",
      "name": "Extract File Content",
      "type": "n8n-nodes-base.code",
      "position": [
        -256,
        224
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "ee8423ec-e0fe-46b5-b87f-6c6e59091741",
      "name": "Manual Input Path",
      "type": "n8n-nodes-base.code",
      "position": [
        -256,
        352
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "be6cf06a-b292-433f-8090-78484b622f79",
      "name": "Merge Analysis",
      "type": "n8n-nodes-base.merge",
      "position": [
        -48,
        304
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "5ceb2c8a-90dd-40b8-833f-39086ccbfac1",
      "name": "Prepare for AI",
      "type": "n8n-nodes-base.set",
      "position": [
        224,
        304
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "96cabdf9-24d3-4068-8ed8-84504f836286",
      "name": "Configuration Decision Engine",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -992,
        704
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "a7f769ca-95b3-414f-8e1b-b6d6add0cbcc",
      "name": "OpenRouter LLM",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        -992,
        848
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "9b2f0a9e-06cb-47e9-9443-92b4de4326d5",
      "name": "Generate n8n Workflow",
      "type": "n8n-nodes-base.code",
      "position": [
        -544,
        784
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "61b5dea4-fce0-46f5-b2ae-cdb7e8e14fa8",
      "name": "Format HTML Report",
      "type": "n8n-nodes-base.code",
      "position": [
        32,
        704
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "c7bffbf8-ec03-4361-a254-e5c386d05d54",
      "name": "Send Gmail",
      "type": "n8n-nodes-base.gmail",
      "position": [
        240,
        704
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "9d962767-d6d4-48a0-8502-00b970669254",
      "name": "Create Workflow Attachment",
      "type": "n8n-nodes-base.code",
      "position": [
        -208,
        704
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "7438d281-cf6c-45e5-b415-eb153776a555",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -864,
        -96
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c2b3f583-b9f3-4df3-9733-4faaac1f2898",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1744,
        96
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b3709fa1-a92b-4e40-81ff-0c06a7eceac4",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -352,
        528
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d53fbe53-dae4-4c28-a85b-82380ff7a747",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -624,
        528
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "41e86c51-3bc1-4f03-af3d-a3246faae999",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1024,
        528
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "00ffe025-f9be-4e6c-8087-95e72cd63b54",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -576,
        96
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "dae3b3e1-8e7f-48fa-8777-ab7f40472b07",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1024,
        96
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "54189600-67bf-46a2-b856-0446bf084d46",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        160,
        96
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "connections": {
    "Form Trigger": {
      "main": [
        [
          {
            "node": "Analyze Input",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Analyze Input": {
      "main": [
        [
          {
            "node": "Check File Upload",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge Analysis": {
      "main": [
        [
          {
            "node": "Prepare for AI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter LLM": {
      "ai_languageModel": [
        [
          {
            "node": "Configuration Decision Engine",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Prepare for AI": {
      "main": [
        [
          {
            "node": "Configuration Decision Engine",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check File Upload": {
      "main": [
        [
          {
            "node": "Extract File Content",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Manual Input Path",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Manual Input Path": {
      "main": [
        [
          {
            "node": "Merge Analysis",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Format HTML Report": {
      "main": [
        [
          {
            "node": "Send Gmail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract File Content": {
      "main": [
        [
          {
            "node": "Merge Analysis",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate n8n Workflow": {
      "main": [
        [
          {
            "node": "Create Workflow Attachment",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Workflow Attachment": {
      "main": [
        [
          {
            "node": "Format HTML Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Configuration Decision Engine": {
      "main": [
        [
          {
            "node": "Generate n8n Workflow",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

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…

Source: https://n8n.io/workflows/11990/ — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

This comprehensive n8n workflow automates the complete process of generating professional interior design moodboards from concept to client delivery. Users submit a design brief through a form, and th

Google Gemini Chat, Output Parser Structured, Tool Think +7
AI & RAG

Mistral OCR is a cutting-edge document understanding API that improves how businesses extract and process information from complex documents. With top scores in benchmarks for accuracy and comprehensi

Agent, Chain Llm, Gmail +6
AI & RAG

Product Videos. Uses formTrigger, stickyNote, googleDrive, lmChatOpenRouter. Event-driven trigger; 24 nodes.

Form Trigger, Google Drive, OpenRouter Chat +3
AI & RAG

OpenAI Image Gen LinkedIn Post. Uses toolHttpRequest, lmChatOpenRouter, linkedIn, agent. Event-driven trigger; 20 nodes.

Tool Http Request, OpenRouter Chat, LinkedIn +4
AI & RAG

An automated workflow for auditing website security headers and generating comprehensive security reports.

HTTP Request, Google Sheets, Gmail +3