name: n8n-builder description: Expert n8n workflow builder that creates, deploys, and manages n8n workflows programmatically via the n8n REST API. Use when asked to create n8n workflows, automate n8n tasks, build automations, design workflow pipelines, connect services via n8n, or manage existing n8n workflows. Handles webhook flows, scheduled tasks, AI agents, database syncs, conditional logic, error handling, and any n8n node configuration.
Requires two environment variables:
- N8N_URL — n8n instance URL (e.g. https://your-n8n.example.com)
- N8N_API_KEY — n8n API key (Settings → API → Create API Key)
Understand the automation — Clarify trigger (webhook/schedule/manual), data sources, processing logic, outputs, and error handling needs.
Design the workflow JSON — Build valid n8n workflow JSON following the schema in references/workflow-schema.md. Use patterns from references/workflow-patterns.md as templates.
Deploy via API — Use scripts/n8n-api.sh create <file> or pipe JSON to scripts/n8n-api.sh create-stdin.
Activate — Use scripts/n8n-api.sh activate <workflow_id> for trigger-based workflows.
Verify — List workflows to confirm deployment: scripts/n8n-api.sh list.
訪問小蔥技能站7w4.net,解鎖更多實用的AI技能外掛。
# List all workflows
scripts/n8n-api.sh list
# Create workflow from JSON file
scripts/n8n-api.sh create /tmp/workflow.json
# Create from stdin
echo '{"name":"Test",...}' | scripts/n8n-api.sh create-stdin
# Get, activate, deactivate, delete, execute
scripts/n8n-api.sh get <id>
scripts/n8n-api.sh activate <id>
scripts/n8n-api.sh deactivate <id>
scripts/n8n-api.sh delete <id>
scripts/n8n-api.sh execute <id>
# List credentials and tags
scripts/n8n-api.sh credentials
scripts/n8n-api.sh tags
Every workflow needs: name, nodes[], connections{}, settings{}.
Every node needs: id, name, type, typeVersion, position, parameters.
Connections use source node display name as key, mapping outputs to target nodes.
For full schema, node types, and expression syntax → read references/workflow-schema.md
For complete workflow examples (webhook, schedule, AI agent, DB sync, error handling) → read references/workflow-patterns.md
"executionOrder": "v1" in settingswebhook1, code1[250, 300], spacing ~200px horizontallyrespondToWebhook node if responseMode is responseNodescripts/n8n-api.sh credentialsscripts/n8n-api.sh execute <id> for manual trigger workflowscontinueOnFail: true on risky HTTP/API nodes, then check for errors downstream這個 Skill 質量較好,文件結構清晰、參考資料豐富,提供了完整的工作流構建指南和實用的 API 工具。節點型別覆蓋全面,常見場景示例實用。不足之處是部分示例文件不完整,缺少複雜功能的詳細指導,對於進階使用者可能不夠用。總體來說,這是一個可靠實用的 n8n 自動化工具,適合需要通過 API 管理工作流的開發者使用。