Langsung ke konten
Skillpedia
Agen48k Β· #5278

n8n-workflow-patterns

Fungsinya

Panduan ini membantu Anda memilih struktur (pattern) terbaik untuk workflow otomatis Anda di n8n. Panduan ini menampilkan 5 template umum untuk tugas yang berbeda, seperti memproses data dari website, mengintegrasikan dengan program lain, atau mengelola tugas terjadwal.

Kapan dipakai

  • βœ“Saat merencanakan workflow otomatis yang baru.
  • βœ“Saat Anda perlu mengatur struktur otomatisasi.
  • βœ“Saat menghubungkan berbagai sistem atau data.

Link skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/n8n-workflow-patterns/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/n8n-workflow-patterns/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œPattern workflow apa yang sebaiknya saya gunakan untuk menerima data dari form website dan menyimpannya ke database?”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Panduan ini menyajikan 5 pattern utama (seperti pemrosesan webhook, integrasi API, dan lainnya) dan menjelaskan kapan masing-masing digunakan. Panduan ini juga mencantumkan komponen umum dan checklist untuk membantu proses pembuatan.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

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 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)
  • 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 using activateWorkflow operation
  • 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


…
Pertanyaan umum

Apa itu 'pattern' workflow?

Pattern adalah struktur atau template yang sudah terbukti untuk mengatur langkah-langkah otomatisasi, sehingga lebih efisien dan lebih mudah dipahami.

Bagaimana cara memilih pattern yang tepat?

Panduan ini merinci situasi spesifik untuk tiap dari 5 pattern, sehingga membantu Anda memutuskan berdasarkan apa yang harus dilakukan otomatisasi Anda.

Apa itu 'komponen umum'?

Ini adalah blok dasar yang muncul di banyak workflow, seperti trigger (pemicu awal), sumber data, transformasi, dan output.

Detail

Deskripsi asli dari pembuat

Proven architectural patterns for building n8n workflows.

repo: sickn33/agentic-awesome-skills

Popularitas

Bintang GitHub
48k
Peringkat
#5278
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa