n8n-workflow-patterns

Solid

Proven architectural patterns for building n8n workflows.

AI & Automation 38,979 stars 6339 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# n8n Workflow Patterns Proven architectural patterns for building n8n workflows. ## When to Use - You need to choose an architectural pattern for an n8n workflow before building it. - The task involves webhook processing, API integration, scheduled jobs, database sync, or AI-agent workflow design. - You want a high-level workflow structure rather than node-by-node troubleshooting. --- ## The 5 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 --- ## Pattern Selection Guide ### When to use each pattern: **Webhook Processing** - Use when: - Receiving data from external systems - Building integrations (Slack commands, form submissions, GitHub webhooks) - Need instant response to events - Example: "Receive Stripe payment webhook → Update database → Send confirmation" **HTTP API Integration** - Use whe...

Details

Author
sickn33
Repository
sickn33/antigravity-awesome-skills
Created
4 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Related Skills