Generate workflows from natural language using GPT-4o Mini and n8nBuilder API
Ready for 3.0What this workflow does
This AI workflow has 17 nodes and runs when someone submits an n8n form (“n8n Workflow Generator”) (plus 2 other triggers). Along the way it connects HTTP Request and OpenAI Chat Model. It also calls api.n8nbuilder.dev over HTTP.
How it runs
Trigger: When someone submits an n8n form (“n8n Workflow Generator”) (plus 2 other triggers).
- Call n8nBuilder API (HTTP Request): calls api.n8nbuilder.dev (POST)
- n8nBuilder Chat Assistant (AI Agent): runs an AI agent, with model: GPT-4o Mini Model; 1 tool (Generate Workflow Tool)
- Call n8nBuilder API (Webhook) (HTTP Request): calls api.n8nbuilder.dev (POST)
- Process API Response (Edit Fields (Set)): sets 4 fields: output, timestamp, query_description…
- Extract Generated Workflow (Edit Fields (Set)): sets 1 field: output
- Process Webhook Response (Edit Fields (Set)): sets 3 fields: success, workflow_json, timestamp
- Handle API Errors (If): checks a condition and branches into true / false
- Check Webhook Response (If): checks a condition and branches into true / false
- Show Results (n8n Form): shows the next form page
- Show Error Message (n8n Form): shows the next form page
…plus 2 more steps. See the full node list below.
Services it uses
HTTP calls to: api.n8nbuilder.dev
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 (11)
- HTTP Request
n8n-nodes-base.httpRequest - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - Http Request Tool
n8n-nodes-base.httpRequestTool - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - n8n Form
n8n-nodes-base.form - If
n8n-nodes-base.if - Webhook
n8n-nodes-base.webhook - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
🤖 AI-Powered n8n Workflow Generator with n8nBuilder API Overview This workflow lets you generate complete n8n workflows from natural language descriptions using the n8nBuilder API. 🚀 Users submit a short description via a form, and the workflow returns a…