/productivity-automation-personal:n8n-workflow-patternsfrom productivity-automation-personal
Provides five core architectural patterns for n8n workflows: webhook processing, HTTP API integration, database operations, AI agent workflows, and scheduled tasks. Includes a selection guide and common building blocks.
Ships in productivity-automation-personal. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Proven architectural patterns for building n8n workflows.
Common design patterns:
Webhook Processing
[HTTP API Integration]
Database Operations
AI Agent Workflow
Scheduled Tasks
Webhook Processing - Use when:
HTTP API Integration - Use when:
Database Operations - Use when:
AI Agent Workflow - Use when:
Scheduled Tasks - Use when:
All patterns share these building blocks:
Before activation, confirm credential scope, destination recipients and paid/API effects. Authenticate webhooks, validate payloads, deduplicate delivery IDs and use idempotent writes. Retry with bounds and backoff; a timeout may follow a successful side effect. Restrict AI tools and treat retrieved content as untrusted. The Error Trigger belongs to a separate configured error workflow, not an ordinary branch of the main workflow. Sequential branches are not necessarily concurrent execution.
When building ANY workflow, follow this checklist:
activateWorkflow operationTrigger → Transform → Action → End
Use when: Simple workflows with single path
Trigger → IF → [True Path]
└→ [False Path]
Use when: Different actions based on conditions
Trigger → [Branch 1] → Merge
└→ [Branch 2] ↗
Use when: Independent operations that can run simultaneously
Trigger → Split in Batches → Process → Loop (until done)
Use when: Processing large datasets in chunks
Main Flow → [Success Path]
└→ [Error Trigger → Error Handler]
Use when: Need separate error handling workflow
Problem: Can't access webhook payload data
Solution: Data is nested under $json.body
❌ {{$json.email}}
✅ {{$json.body.email}}
See: n8n Expression Syntax skill
Problem: Node processes all input items, but I only want one
Solution: Use "Execute Once" mode or process first item only
{{$input.first().json.field}} // First item only
Problem: API calls failing with 401/403
Solution:
Problem: Nodes executing in unexpected order
Solution: Check workflow settings → Execution Order
Problem: Expressions showing as literal text
Solution: Use {{}} around expressions
These skills work together with Workflow Patterns:
n8n MCP Tools Expert - Use to:
n8n Expression Syntax - Use to:
n8n Node Configuration - Use to:
n8n Validation Expert - Use to:
The patterns are design heuristics, not measured usage statistics. No dataset or methodology is bundled to establish prevalence, percentages or average editing times. Node names and available operations vary by installed n8n and MCP version. The detailed pattern files listed later are not bundled here; use installed documentation or the official n8n docs rather than claiming they were read.
1. Webhook (path: "form-submit", POST)
2. Set (map form fields)
3. Slack (post message to #notifications)
1. Schedule (daily at 9 AM)
2. HTTP Request (fetch analytics)
3. Code (aggregate data)
4. Email (send formatted report)
5. Error Trigger → Slack (notify on failure)
1. Schedule (every 15 minutes)
2. Postgres (query new records)
3. IF (check if records exist)
4. MySQL (insert records)
5. Postgres (update sync timestamp)
1. Webhook (receive chat message)
2. AI Agent
├─ OpenAI Chat Model (ai_languageModel)
├─ HTTP Request Tool (ai_tool)
├─ Database Tool (ai_tool)
└─ Window Buffer Memory (ai_memory)
3. Webhook Response (send AI reply)
1. Manual Trigger (for testing)
2. HTTP Request (GET /api/users)
3. Split In Batches (process 100 at a time)
4. Set (transform user data)
5. Postgres (upsert users)
6. Loop (back to step 3 until done)
For comprehensive guidance on each pattern:
From n8n template library:
Template #2947: Weather to Slack
Webhook Processing: Most common pattern
HTTP API: Common pattern
Database Operations: Common pattern
AI Agents: Growing in usage
Use search_templates and get_template from n8n-mcp tools to find examples!
Key Points:
Next Steps:
Related Skills:
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub marslanalvi/skillsstack --plugin productivity-automation-personal20 skills in this plugin
/anti-sleepKeep a Mac awake with caffeinate during long builds, downloads, or supervised automation runs./anywriteCompiled CLI covering all 52 endpoints of the Anytype local API — objects, properties, tags, search, chat, files — one binary, no MCP server needed./browser-bridgeInspect, control, and automate tasks in your real Microsoft Edge or Google Chrome browser via Chrome DevTools Protocol (CDP) with bilingual UI, native tab grouping, and self-healing daemon.Other plugins' skills for the same job