Zum Inhalt springen
Skillpedia
Automatisierungen33k · #9114

n8n-workflow-patterns

Was er macht

Dieser Skill gibt dem KI-Agenten fünf getestete Architekturmuster für den Bau von n8n-Automatisierungen. Er richtet sich an Menschen, die neue n8n-Workflows entwerfen und eine solide Ausgangsstruktur wollen.

Wann du ihn nutzt

  • ✓Wenn du einen neuen n8n-Workflow beginnst und eine Struktur wählen musst.
  • ✓Wenn du einen Workflow willst, der auf eingehende Webhook-Ereignisse reagiert, etwa auf ein Formular.
  • ✓Wenn du einen geplanten Workflow brauchst, der Daten abruft, verarbeitet und einen Bericht verschickt.

Link zum Skill

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/workflow-automation/n8n/n8n-workflow-patterns/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/workflow-automation/n8n/n8n-workflow-patterns/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Was ist die beste n8n-Struktur für einen Workflow, der Formulareinsendungen empfängt und eine Datenbank aktualisiert?”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Agent vergleicht dein Ziel mit den fünf Mustern, empfiehlt das passendste und erklärt die Schritte, um es zu bauen.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

n8n Workflow Patterns

Proven architectural patterns for building n8n workflows.


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 when:

  • Fetching data from external APIs
  • Synchronizing with third-party services
  • Building data pipelines
  • Example: "Fetch GitHub issues → Transform → Create Jira tickets"

Database Operations - Use when:

  • Syncing between databases
  • Running database queries on schedule
  • ETL workflows
  • Example: "Read Postgres records → Transform → Write to MySQL"

AI Agent Workflow - Use when:

  • Building conversational AI
  • Need AI with tool access
  • Multi-step reasoning tasks
  • Example: "Chat with AI that can search docs, query database, send emails"

Scheduled Tasks - Use when:

  • Recurring reports or summaries
  • Periodic data fetching
  • Maintenance tasks
  • Example: "Daily: Fetch analytics → Generate report → Email team"

Common Workflow Components

All patterns share these building blocks:

1. Triggers

  • Webhook - HTTP endpoint (instant)
  • Schedule - Cron-based timing (periodic)
  • Manual - Click to execute (testing)
  • Polling - Check for changes (intervals)

2. Data Sources

  • HTTP Request - REST APIs
  • Database nodes - Postgres, MySQL, MongoDB
  • Service nodes - Slack, Google Sheets, etc.
  • Code - Custom JavaScript/Python

3. Transformation

  • Set - Map/transform fields
  • Code - Complex logic
  • IF/Switch - Conditional routing
  • Merge - Combine data streams

4. Outputs

  • HTTP Request - Call APIs
  • Database - Write data
  • Communication - Email, Slack, Discord
  • Storage - Files, cloud storage

5. Error Handling

  • Error Trigger - Catch workflow errors
  • IF - Check for error conditions
  • Stop and Error - Explicit failure
  • Continue On Fail - Per-node setting

Workflow Creation Checklist

When building ANY workflow, follow this checklist:

Planning Phase

  • Identify the pattern (webhook, API, database, AI, scheduled)
  • List required nodes (use search_nodes)
  • Understand data flow (input → transform → output)
  • Plan error handling strategy

Implementation Phase

  • Create workflow with appropriate trigger
  • Add data source nodes
  • Configure authentication/credentials
  • Add transformation nodes (Set, Code, IF)
  • Add output/action nodes
  • Configure error handling

Validation Phase

  • Validate each node configuration (validate_node_operation)
  • Validate complete workflow (validate_workflow)
  • Test with sample data
  • Handle edge cases (empty data, errors)

Deployment Phase

  • Review workflow settings (execution order, timeout, error handling)
  • Activate workflow ⚠️ Manual activation required in n8n UI (API/MCP cannot activate)
  • Monitor first executions
  • Document workflow purpose and data flow

Data Flow Patterns

Linear Flow

Trigger → Transform → Action → End

Use when: Simple workflows with single path

Branching Flow

Trigger → IF → [True Path]
             └→ [False Path]

Use when: Different actions based on conditions

Parallel Processing

Trigger → [Branch 1] → Merge
       └→ [Branch 2] ↗

Use when: Independent operations that can run simultaneously

Loop Pattern

Trigger 
Häufige Fragen

Welche sind die fünf Muster?

Es sind Webhook-Verarbeitung, HTTP-API-Integration, Datenbankoperationen, KI-Agenten-Workflows und geplante Aufgaben.

Welches Muster ist am häufigsten?

Laut Skill ist die Webhook-Verarbeitung das häufigste Muster.

Deckt er KI-Agenten in n8n ab?

Ja. Er enthält ein KI-Agenten-Muster mit einem Modell, Werkzeugen und Speicher.

Details

Originalbeschreibung des Autors

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.

repo: davila7/claude-code-templates

Beliebtheit

GitHub-Sterne
33k
Platz im Ranking
#9114
Lizenz
MIT
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills