Need to turn a one-line chat request into a fully-wired n8n workflow template—complete with AI agents, RAG, and web-search super-powers—without lifting a finger?
That’s exactly what Agent Builder automates:
Think of it as your personal “workflow chef”: you shout the order, it shops for ingredients, cooks, plates, and serves the meal. All you do is eat.
Sub-process | What happens inside | Key nodes |
---|---|---|
Web Crawler (optional) | Firecrawl scrapes docs.n8n.io (or any URL you drop in) and streams raw markdown back. | Set URL → HTTP Request (Extract) → Wait & Retry |
RAG Trainer | Splits the scraped docs, embeds them with OpenAI, and upserts vectors into Pinecone. | Recursive Text Splitter → Embeddings OpenAI → Train Pinecone |
Agent Builder | The star of the show – orchestrates GPT-4o (via OpenRouter), SerpAPI web-search, your Pinecone index and a Structured Output Parser to produce → validate → prettify the final n8n template. | Chat Trigger → AI Agent → OpenAI (validator) → Code (extract) → Convert to JSON file |
Every arrow in the drawn workflow is pre-connected, so the generated template always passes n8n’s import check.
Service | Credential type |
---|---|
OpenAI / Azure OpenAI – embeddings & validation | OpenAI API |
Pinecone – vector store | Pinecone API |
OpenRouter – GPT-4o LLM | OpenRouter API Key |
SerpAPI – web search | SerpAPI Key |
Firecrawl (only if you plan to crawl) | Generic Header Auth → Authorization: Bearer YOUR_KEY |
Each node already expects those creds; just create them once, select in the dropdown, hit Activate.
User says: “Build me a workflow that monitors our support inbox, summarises new tickets with GPT and posts to Slack.”
Chat Trigger captures the message.
AI Agent:
The agent returns JSON ➜ OpenAI node double-checks field names, connections, type versions.
A tiny JS Code node slices the JSON out of the chat blob and saves it as template.json
ready for download.
You download, import, and… done.