Skip to content

Durasi: 10 menit | Block: 2


🧠 Core Distinction

WORKFLOW (n8n)                    AGENT (Hermes)
─────────────────                 ─────────────────
Deterministic                     Contextual
Fixed path                        Flexible path
Predictable output                Variable output
If X then Y                       If X then maybe Y, Z, or W
Rule-based                        Judgment-based
"SOP yang jalan otomatis"         "Karyawan yang bisa berpikir"

📊 Side-by-Side Comparison

AspekWorkflow (n8n)Agent (Hermes)
Cara kerjaEksekusi langkah berurutan"Berpikir" lalu bertindak
Variasi inputHarus dihandle manualAdapt otomatis
Error handlingRetry + fallback rulesSelf-correct + re-evaluate
OutputConsistent formatContextually appropriate
KontrolFull (kamu set rules)Semi (kamu set guidelines)
CostPredictable (per execution)Variable (per token usage)
SetupVisual drag-dropConfig + context engineering

🎯 Decision Framework: Workflow vs Agent

Punya task?

    ├─ Apakah langkahnya SELALU sama?
    │   ├─ YA → WORKFLOW (n8n)
    │   └─ TIDAK → Lanjut ↓

    ├─ Apakah butuh "pemahaman" konteks?
    │   ├─ YA → AGENT (Hermes)
    │   └─ TIDAK → WORKFLOW (n8n)

    ├─ Apakah inputnya bervariasi dan unpredictable?
    │   ├─ YA → AGENT (Hermes)
    │   └─ TIDAK → WORKFLOW (n8n)

    └─ Apakah butuh reasoning atau judgment?
        ├─ YA → AGENT (Hermes)
        └─ TIDAK → WORKFLOW (n8n)

💡 Real-World Examples

Email Processing

Workflow approach:

Email masuk → Check sender → Route ke folder
(Jalan untuk routing sederhana)

Agent approach:

Email masuk → Baca konten → Pahami maksud → 
Draft reply sesuai tone bisnis → Flag urgent atau tidak
(Better kalau konten bervariasi dan butuh understanding)

Customer Inquiry

Workflow approach:

Form masuk → If category = "sales" → route ke sales
(Good kalau user yang pilih category)

Agent approach:

Pesan masuk (bebas format) → Pahami maksud customer →
Classify sendiri → Draft reply personalized → 
Human approve → Send
(Better kalau inquiry bebas format)

Daily Report

Workflow approach:

Schedule → Pull data → Format template → Send
(Good kalau format fixed)

Agent approach:

Schedule → Pull data → Analyze trends → 
Generate insights + narrative → Flag anomalies → Send
(Better kalau butuh analysis dan narrative)

⚠️ Anti-Patterns

  1. ❌ Pakai agent untuk task yang 100% predictable (waste cost + unreliable)
  2. ❌ Pakai workflow untuk task yang butuh understanding (output jelek)
  3. ❌ Campur keduanya di awal — fokus 1 dulu, baru integrasi
  4. ❌ Skip workflow dan langsung ke agent — fondasi ga kuat

Bootcamp AI Automation — akala.id