czlonkowski avatar

N8n Workflow Patterns

After reviewing hundreds of real n8n workflows, this skill distills the six most common architectural patterns that actually work in production: webhook processing, HTTP API integration, database operations, AI agents, scheduled tasks, and batch processing. It's not just theory, it's battle-tested patterns with specific node configurations, data flow structures, and gotchas like SplitInBatches output handling. Use it when you're staring at a blank n8n canvas wondering how to structure a workflow, or when you need to process large datasets without hitting API rate limits. The batch processing section alone will save you hours of debugging nested loops.

skills.sh installs
12K
GitHub stars
6.6K
last updated
Aug 21, 2026

Install

$ npx -y skills add czlonkowski/n8n-skills --skill n8n-workflow-patterns --agent claude-code

Installs into .claude/skills of the current project.

Files

n8n Workflow Patterns

Proven architectural patterns for building n8n workflows.


The 6 Core Patterns

Based on analysis of real workflow usage:

  1. Webhook Processing (Most Common)

    • Receive HTTP requests → Process → Output
    • Pattern: Webhook → Validate → Transform → Respond/Notify
  2. HTTP API Integration

    • Fetch from REST APIs → Transform → Store/Use
    • Pattern: Trigger → HTTP Request → Transform → Action → Error Handler
  3. Database Operations

    • Read/Write/Sync database data
    • Pattern: Schedule → Query → Transform → Write → Verify
  4. AI Agent Workflow

    • AI agents with tools and memory
    • Pattern: Trigger → AI Agent (Model + Tools + Memory) → Output
  5. Scheduled Tasks

    • Recurring automation workflows
    • Pattern: Schedule → Fetch → Process → Deliver → Log
  6. Batch Processing (below)

    • Process large datasets in chunks with API rate limits
    • Pattern: Prepare → SplitInBatches → Process per batch → Accumulate → Aggregate

Pattern Selection Guide

When to use each pattern:

Sponsors

Details

Repository
github.com/czlonkowski/n8n-skills
Categories
Backend & APIs, DevOps & CI/CD, Code Review & Quality, AI & Agent Building, Productivity & Planning, Automation & Workflows, Design & UI/UX, Databases

More from czlonkowski/n8n-skills

All 7
1nomadamas avatarfine-dust-locationnomadamas/k-skill에어코리아 기반 미세먼지/초미세먼지를 지역명 또는 위치 힌트로 조회한다. 기본 경로는 k-skill-proxy의 report endpoint다.11.6Kskills.sh installs
2rohitg00 avataragentmemory-configrohitg00/agentmemoryagentmemory configuration, environment variables, ports, and feature flags. Use when enabling a feature, changing ports, setting an API key, configuring auth, o11.5Kskills.sh installs
3nomadamas avatarkorean-stock-searchnomadamas/k-skillUse k-skill-proxy to search Korean listed stocks, inspect KRX base information, and fetch daily trade snapshots without asking the user to issue a KRX API key.11.3Kskills.sh installs
4shopify avatarshopify-use-shopify-clishopify/shopify-ai-toolkitChoose when the user needs **Shopify CLI** to run or fix something now: validate app or extension config on disk (`shopify.app.toml`, `shopify.app.<name>.toml`,11.2Kskills.sh installs
5nomadamas avatarhan-river-water-levelnomadamas/k-skill한강홍수통제소 기반 현재 수위/유량을 관측소명 또는 관측소코드로 조회한다. 기본 경로는 k-skill-proxy의 han-river water-level endpoint다.11.2Kskills.sh installs
6getcargohq avatarcargo-hostinggetcargohq/cargo-skillsBuild, deploy, and manage Cargo Hosting apps and workers with the Cargo CLI — Vite SPAs served on *.cargo.app and serverless edge HTTP handlers, plus the deploy11Kskills.sh installs