.claude/skills/n8n-workflow-architect/SKILL.md
Strategic automation architecture advisor. Use when users want to plan automation solutions, evaluate their tech stack (Shopify, Zoho, HubSpot, etc.), decide between n8n vs Python/Claude Code, or need guidance on production-ready automation design. Invokes plan mode for complex architectural decisions.
npx skillsauth add promptadvisers/n8n-powerhouse n8n-workflow-architectInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The Intelligent Automation Architect (IAA) - Strategic guidance for building automation systems that survive production.
Invoke this skill when users:
Viability over Possibility
The gap between what's technically possible and what's actually viable in production is enormous. This skill helps users build systems that:
When a user mentions their tools, evaluate each for:
| Tool Category | Common Examples | n8n Native Support | Auth Complexity | |---------------|-----------------|-------------------|-----------------| | E-commerce | Shopify, WooCommerce, BigCommerce | Yes | OAuth | | CRM | HubSpot, Salesforce, Zoho CRM | Yes | OAuth | | Marketing | Klaviyo, Mailchimp, ActiveCampaign | Yes | API Key/OAuth | | Productivity | Notion, Airtable, Google Sheets | Yes | OAuth | | Communication | Slack, Discord, Teams | Yes | OAuth | | Payments | Stripe, PayPal, Square | Yes | API Key | | Support | Zendesk, Intercom, Freshdesk | Yes | API Key/OAuth |
Action: Use search_nodes from n8n MCP to verify node availability.
Apply these decision rules:
| Condition | Why | |-----------|-----| | OAuth authentication required | n8n manages token lifecycle automatically | | Non-technical maintainers | Visual workflows are self-documenting | | Multi-day processes with waits | Built-in Wait node handles suspension | | Standard SaaS integrations | Pre-built nodes eliminate boilerplate | | < 5,000 records per execution | Within memory limits | | < 20 nodes of business logic | Maintains visual clarity |
| Condition | Why | |-----------|-----| | > 5,000 records to process | Stream processing, memory management | | > 20MB files | Chunked processing capabilities | | Complex algorithms | Code is more maintainable than 50+ nodes | | Cutting-edge AI libraries | Access to latest packages | | Heavy data transformation | Pandas, NumPy optimization | | Custom ML models | Full Python ecosystem access |
n8n (Orchestration Layer)
├── Webhooks & triggers
├── OAuth authentication
├── User-facing integrations
├── Flow coordination
│
└── Calls Python Service (Processing Layer)
├── Heavy computation
├── Complex logic
├── AI/ML operations
└── Returns results to n8n
When user describes their stack, respond with this analysis:
## Stack Analysis: [User's Business Type]
### Services Identified:
1. **[Service 1]** - [Category] - n8n Support: [Yes/Partial/No]
2. **[Service 2]** - [Category] - n8n Support: [Yes/Partial/No]
...
### Recommended Approach: [n8n / Python / Hybrid]
**Rationale:**
- [Key decision factor 1]
- [Key decision factor 2]
- [Key decision factor 3]
### Integration Complexity: [Low/Medium/High]
- Auth complexity: [Simple API keys / OAuth required]
- Data volume: [Estimate based on use case]
- Processing needs: [Simple transforms / Complex logic]
### Next Steps:
1. [Specific action using other n8n skills]
2. [Pattern to follow from n8n-workflow-patterns]
3. [Validation approach from n8n-validation-expert]
Stack: Shopify + Klaviyo + Slack + Google Sheets
Verdict: Pure n8n
n8n-workflow-patterns → webhook_processingStack: Typeform + HubSpot + OpenAI + Custom Scoring
Verdict: Hybrid
n8n-workflow-patterns → ai_agent_workflowStack: PostgreSQL + BigQuery + 50k+ daily records
Verdict: Python with n8n Trigger
Stack: Slack + Notion + Email + 3-day wait periods
Verdict: Pure n8n
n8n-workflow-patterns → scheduled_tasksBefore any automation goes live, verify:
Use n8n-validation-expert skill to validate workflows before deployment.
This skill works as the planning layer that coordinates other skills:
┌─────────────────────────────────────────────────────────────┐
│ n8n-workflow-architect │
│ (Strategic Decisions & Planning) │
└─────────────────────────────────────────────────────────────┘
│
┌────────────────────┼────────────────────┐
▼ ▼ ▼
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
│ n8n-workflow- │ │ n8n-node- │ │ n8n-validation- │
│ patterns │ │ configuration │ │ expert │
│ (Architecture) │ │ (Node Setup) │ │ (Quality) │
└─────────────────┘ └─────────────────┘ └─────────────────┘
│ │ │
└────────────────────┼────────────────────┘
▼
┌─────────────────────────────────────────────────────────────┐
│ n8n MCP Tools │
│ (search_nodes, validate_workflow, create_workflow, etc.) │
└─────────────────────────────────────────────────────────────┘
| After Architect Decides... | Hand Off To |
|---------------------------|-------------|
| Pattern type identified | n8n-workflow-patterns for detailed structure |
| Specific nodes needed | n8n-node-configuration for setup |
| Code node required | n8n-code-javascript or n8n-code-python |
| Expressions needed | n8n-expression-syntax for correct syntax |
| Ready to validate | n8n-validation-expert for pre-deploy checks |
| Need node info | n8n MCP → get_node_essentials, search_nodes |
For complex architectural decisions, enter plan mode to:
## Automation Architecture Plan
### 1. Business Context
[What problem are we solving?]
### 2. Stack Analysis
[Each service, its role, integration complexity]
### 3. Recommended Architecture
[n8n / Python / Hybrid with rationale]
### 4. Data Flow Design
[Visual representation of the flow]
### 5. Implementation Phases
Phase 1: [Core workflow]
Phase 2: [Error handling & observability]
Phase 3: [Optimization & scaling]
### 6. Risk Assessment
[What could go wrong, how we prevent it]
### 7. Maintenance Plan
[Who maintains, what skills needed]
START: User wants to automate something
│
├─► Does it involve OAuth? ────────────────────► Use n8n
│
├─► Will non-developers maintain it? ──────────► Use n8n
│
├─► Does it need to wait days/weeks? ──────────► Use n8n
│
├─► Processing > 5000 records? ────────────────► Use Python
│
├─► Files > 20MB? ─────────────────────────────► Use Python
│
├─► Cutting-edge AI/ML? ───────────────────────► Use Python
│
├─► Complex algorithm (would need 20+ nodes)? ─► Use Python
│
└─► Mix of above? ─────────────────────────────► Use Hybrid
Use these n8n MCP tools during architecture planning:
| Planning Phase | MCP Tools to Use |
|----------------|------------------|
| Stack analysis | search_nodes - verify node availability |
| Pattern selection | list_node_templates - find similar workflows |
| Feasibility check | get_node_essentials - understand capabilities |
| Complexity estimate | get_node_documentation - auth & config needs |
| Template reference | get_template - study existing patterns |
Warn users when you see these patterns:
| Red Flag | Risk | Recommendation | |----------|------|----------------| | "I want AI to do everything" | Cost explosion, unpredictability | Scope AI to specific tasks, cache results | | "It needs to process millions of rows" | Memory crashes | Python with streaming, not n8n loops | | "The workflow has 50 nodes" | Unmaintainable | Consolidate to code blocks or split workflows | | "We'll add error handling later" | Silent failures | Build error handling from day one | | "It should work on any input" | Fragile system | Define and validate expected inputs | | "The intern will maintain it" | Single point of failure | Use n8n for visual clarity, document thoroughly |
This skill answers: "Given my business stack and requirements, what's the smartest way to build this automation?"
Key outputs:
Works with:
development
Proven workflow architectural patterns from real n8n workflows. Use when building new workflows, designing workflow structure, choosing workflow patterns, planning workflow architecture, or asking about webhook processing, HTTP API integration, database operations, AI agent workflows, or scheduled tasks.
documentation
Interpret validation errors and guide fixing them. Use when encountering validation errors, validation warnings, false positives, operator structure issues, or need help understanding validation results. Also use when asking about validation profiles, error types, or the validation loop process.
testing
Operation-aware node configuration guidance. Use when configuring nodes, understanding property dependencies, determining required fields, choosing between get_node_essentials and get_node_info, or learning common configuration patterns by node type.
tools
Expert guide for using n8n-mcp MCP tools effectively. Use when searching for nodes, validating configurations, accessing templates, managing workflows, or using any n8n-mcp tool. Provides tool selection guidance, parameter formats, and common patterns.