一键导入
n8n-workflows
n8n workflow automation — nodes, triggers, expressions, credentials, webhooks, error handling. Use when working with n8n workflows.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
n8n workflow automation — nodes, triggers, expressions, credentials, webhooks, error handling. Use when working with n8n workflows.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Enforce staged execution discipline on large tasks: written stage plan, parallel sub-agent delegation, failable verification at each stage, and skeptical self-review before delivery. Use when tasks span multiple files, multiple sources, or multiple sessions. Also triggers on "do this thoroughly", "be systematic", "deep work mode", "be thorough".
Write production-quality code from specs — reads requirements, researches patterns, implements with tests, and iterates until verification passes. Use when implementing features, fixing bugs with known root causes, or building new modules.
Ship code to production through a controlled pipeline with verification gates and rollback plans. Use when deploying features, managing CI/CD, running database migrations, or performing post-incident hotfix recovery.
Investigate topics deeply with cross-referenced sources and produce evidence-backed findings. Use when evaluating technologies before adoption, analyzing competitors, or investigating bug root causes across docs and issues.
Read code changes with adversarial intent to find bugs, security holes, logic errors, and performance traps. Use when reviewing PRs, auditing refactoring for regressions, or running pre-deploy safety checks.
Detect and fix code style violations, enforce project conventions, and ensure consistent formatting across the codebase. Use when cleaning lint errors before PRs, migrating linters, or bulk-applying new rules.
| name | n8n-workflows |
| description | n8n workflow automation — nodes, triggers, expressions, credentials, webhooks, error handling. Use when working with n8n workflows. |
| domain | automation |
| tags | ["automation","n8n","productivity","webhook","workflow","workflows"] |
n8n is a fair-code licensed workflow automation tool. It provides 400+ integrations, visual workflow design, self-hosting options, and code flexibility with JavaScript/Python nodes.
Trigger phrases:
"n8n workflows"
"Automating business processes across multiple SaaS tools"
"Building API integrations without coding"
"Needing self-hosted automation (data sovereignty)"
Automating business processes across multiple SaaS tools
Building API integrations without coding
Needing self-hosted automation (data sovereignty)
Complex workflows with branching, loops, error handling
Replacing Zapier/Make with more flexibility
Implementation patterns for common use cases with this skill.
Trigger → Set Variables → HTTP Request → IF Condition → Send Email / Slack
↓
Code Node → Database
// Access previous node data
{{ $json.fieldName }}
{{ $json.data.items[0].name }}
// Access trigger data
{{ $json.body.query }}
// Transform data
{{ $json.name.toUpperCase() }}
{{ $json.items.filter(i => i.active) }}
// Date
{{ $now.format('yyyy-MM-dd') }}
{{ $now.minus({ days: 7 }).toISO() }}
// Environment variables
{{ $env.API_KEY }}
{
"nodes": [{
"type": "n8n-nodes-base.webhook",
"parameters": {
"httpMethod": "POST",
"path": "my-webhook",
"responseMode": "lastNode",
"options": {}
}
}]
}
// Process items
const items = $input.all();
const results = items.map(item => ({
json: {
...item.json,
processed: true,
timestamp: Date.now(),
}
}));
return results;
# Access input data
items = _input.all()
# Process
results = []
for item in items:
results.append({
"json": {
**item["json"],
"processed": True,
}
})
return results
{
"settings": {
"errorWorkflow": "workflow-id-for-error-handler"
}
}
// Error workflow receives:
// - error.message
// - error.node.name
// - workflow.name
// - execution.id
{
"credentials": {
"httpHeaderAuth": {
"id": "1",
"name": "My API",
"type": "httpHeaderAuth",
"data": {
"name": "Authorization",
"value": "Bearer {{ $env.API_TOKEN }}"
}
}
}
}
// Execute Workflow node
{
"type": "n8n-nodes-base.executeWorkflow",
"parameters": {
"workflowId": "sub-workflow-id",
"inputDataFieldName": "items"
}
}
| Pattern | When to Use |
|---|---|
| Webhook → Process → Response | API endpoint |
| Cron → Fetch → Transform → Store | Scheduled ETL |
| Email Trigger → Parse → Database | Email processing |
| IF → Branch A / Branch B | Conditional logic |
| SplitInBatches → Loop | Process large datasets |
| Error Trigger → Notify | Error alerting |
| Execute Workflow | Modular sub-workflows |
| Error | Cause | Fix |
|---|---|---|
| Node execution failed | API error or timeout | Add retry on failure, increase timeout |
| Expression error | Invalid expression syntax | Check expression in editor |
| Credential expired | Token/key expired | Update credential |
| Workflow timeout | Long-running node | Increase execution timeout in settings |
| Rationalization | Reality |
|---|---|
| "Manual is faster for one-off tasks" | One-off tasks become recurring. Automate early, save time later. |
| "I will add error handling later" | You never do. Handle errors from day one. |
| "Automation is overkill" | If you do it twice, automate it. If you do it daily, it is critical infrastructure. |