Install
$ agentstack add skill-ma-serra-lex-intelligentia-skills-n8n-workflow-generator ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
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](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](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
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: ma-serra
- Source: ma-serra/lex-intelligentia-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.