Auto Marketing — Multi-Agent Architecture với n8n
Bài 4/21Thực hành

Bài 4 — Giao diện n8n: Workflow, Node, Trigger, Execution

Làm quen canvas, node palette, execution log và Pin Data trên n8n Cloud.

16 min
Mục tiêu bài học
  • Đọc execution log từng node trên tab Executions
  • Phân biệt Trigger vs Action node
  • Dùng Pin Data test workflow không cần trigger thật

Cấu trúc giao diện editor

Workflow trên canvas với Sticky Note — minh họa tổ chức workflow
Canvas + Sticky Note giúp ghi chú từng vùng Agent (Orchestrator, Content...)docs.n8n.io
  • Canvas — kéo thả và nối nodes (giữ Space + kéo để pan)
  • Node panel (phải) — parameters, credentials, Execute step
  • Executions tab — lịch sử chạy, input/output JSON từng node
  • Workflow settings — timezone, error workflow, Publish toggle

Khái niệm cốt lõi

  • Workflow — một quy trình automation (1 Orchestrator = 1 workflow chính)
  • Node — một bước (Telegram Trigger, Google Sheets, HTTP Request...)
  • Item — bản ghi JSON đi qua node
  • Trigger — node bắt đầu (Telegram message, Schedule, Webhook)
  • Publish — bật workflow Active để trigger tự chạy production
Kéo thả field vào node Set — minh họa mapping dữ liệu
Kỹ thuật drag-drop giúp map dữ liệu nhanh khi build flow sản phẩmdocs.n8n.io

Debug với Pin Data

Click node → Pin Data → dán JSON mẫu sản phẩm. Execute workflow từ node đó mà không cần Telegram gửi tin thật. Production execution bỏ qua pinned data.

Bài tập thực hành (trên n8n Cloud)

  1. Mở workflow 00-sandbox → Add first step → Manual Trigger
  2. Thêm Set node → field hello = Auto Marketing
  3. Execute Workflow → mở Executions tab xem JSON output
  4. Pin output Set node → thêm IF node test mà không chạy lại Manual Trigger

Tiếp tục lộ trình

Hoàn thành từng bài thực hành để xây hệ Auto Marketing Multi-Agent của riêng bạn.

Bài 4 — Giao diện n8n: Workflow, Node, Trigger, Execution — Auto Marketing — Multi-Agent Architecture với n8n | Sage Marketing