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

- 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

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)
- Mở workflow 00-sandbox → Add first step → Manual Trigger
- Thêm Set node → field hello = Auto Marketing
- Execute Workflow → mở Executions tab xem JSON output
- 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.