n8n-workflow-generator
Skill17 starsChanged 9 months agoMITView on GitHub
Geração de blueprints JSON de workflows n8n Cloud a partir de descrições em linguagem natural. Usar quando Claude precisa criar, modificar ou compor workflows n8n programaticamente. Inclui schema completo de nodes e connections, padrões de execução paralela, estratégias de manutenção de contexto, e templates modulares para AI workflows, RAG pipelines, e automações jurídicas.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- nek1987/auto-agent-harnesstheir own version, first seen Oct 11, 2026
- SidSharma010/n8n-workflow-generatortheir own version, first seen Sep 20, 2026
- xmqywx/claude-code-skillstheir own version, first seen Apr 2, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- nek1987/auto-agent-harness★ 4same name
- xmqywx/claude-code-skills★ 2same name
- SidSharma010/n8n-workflow-generator★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- lex-document-ocrSkill
- lex-rag-builderSkill
- n8n-legal-configSkill
- calculadora-processualSkill
- dje-monitorSkill
- jurisprudencia-minerSkill
- peticao-analyzerSkill
- sentenca-judicial-brSkill
- tese-juridica-validatorSkill
- ficao-digital-juvenilSkill
- social-content-juridicoSkill
- audiencia-analyzerSkill
- checklist-saneamentoSkill
- conciliacao-assistantSkill
- contrato-analyzer-brSkill
- despacho-generatorSkill
- prompt-forge-juridicoSkill
- relatorio-produtividadeSkill
- academic-writer-brSkill
- lex-pkm-juridicoSkill
The file
Files
n8n Workflow Generator - Criação Programática de Workflows
Schema Base do Workflow JSON
{
"name": "Nome do Workflow",
"nodes": [],
"connections": {},
"settings": {
"executionOrder": "v1",
"saveDataErrorExecution": "all"
},
"active": false
}Estrutura de Nodes
Campos obrigatórios: id, name, type, position
{
"id": "uuid-unico",
"name": "Nome Exibido",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.1,
"position": [250, 300],
"parameters": {},
"credentials": {
"httpHeaderAuth": {
"id": "cred-id",
"name": "API Key"
}
}
}Convenções de type:
- Core:
n8n-nodes-base.{nodeName} - Triggers:
n8n-nodes-base.{service}Trigger - AI/LangChain:
@n8n/n8n-nodes-langchain.{nodeName}
Estrutura de Connections
Conexões básicas (main)
"connections": {
"Node Origem": {
"main": [[{ "node": "Node Destino", "type": "main", "index": 0 }]]
}
}Conexões para AI nodes
"connections": {
"AI Agent": {
"ai_languageModel": [[{ "node": "OpenAI Chat", "type": "ai_languageModel", "index": 0 }]],
"ai_memory": [[{ "node": "Buffer Memory", "type": "ai_memory", "index": 0 }]],
"ai_tool": [
[{ "node": "Calculator", "type": "ai_tool", "index": 0 }],
[{ "node": "Vector Store Tool", "type": "ai_tool", "index": 1 }]
]
}
}Branches múltiplas (IF node)
"IF Node": {
"main": [
[{ "node": "True Branch", "type": "main", "index": 0 }],
[{ "node": "False Branch", "type": "main", "index": 0 }]
]
}Padrões de Processamento Paralelo
Split In Batches + Merge
Para manter contexto em processamento paralelo:
{
"nodes": [
{
"id": "split",
"name": "Loop Over Items",
"type": "n8n-nodes-base.splitInBatches",
"parameters": { "batchSize": 1, "options": { "reset": false } }
},
{
"id": "process",
"name": "Process Item",
"type": "n8n-nodes-base.code",
"parameters": {
"jsCode": "// Acesso ao contexto do loop\nconst index = $('Loop Over Items').context['currentRunIndex'];\nconst done = $('Loop Over Items').context['noItemsLeft'];\nreturn [{ json: { ...item.json, index } }];"
}
},
{
"id": "merge",
"name": "Aggregate Results",
"type": "n8n-nodes-base.merge",
"parameters": { "mode": "append" }
}
]
}Merge Modes
| Mode | Uso |
append | Concatenar resultados de branches paralelas |
combineBySql | JOIN complexo com AlaSQL |
combineByFields | Correlacionar por campo comum |
combineByPosition | Merge por índice |
chooseBranch | Selecionar uma branch |
Geração de IDs Únicos
function generateNodeId() {
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, c => {
const r = Math.random() * 16 | 0;
return (c === 'x' ? r : (r & 0x3 | 0x8)).toString(16);
});
}Validações Obrigatórias
- IDs únicos para cada node
- Nomes de nodes nas connections devem corresponder exatamente
- Array de nodes não vazio
- Estrutura de connections com arrays aninhados corretos
Importante: Credential IDs são específicos por instância - reconfigurar após import.
Templates Modulares
Ver references/templates.md para:
- AI Agent básico com tools
- RAG Pipeline com Vector Store
- Webhook → Process → Response
- Error handling centralizado
- Paginação de APIs
Arquiteturas Multi-Agent
Ver references/multi-agent.md para:
- Pattern Gatekeeper (agente principal + sub-agentes)
- Chained Requests
- Agentic RAG com seleção dinâmica de fontes
Limites n8n Cloud
| Plano | Execuções/mês | Concorrência |
| Starter | 2,500 | 5 |
| Pro | 10,000 | 20 |
| Business | 40,000 | Higher |
Timeout de webhooks: 100 segundos
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

