Description
n8n-nodes-kiotviet-official
The Ultimate KiotViet Integration for n8n. Seamlessly manage Products, Orders, Invoices, Customers, Categories, Branches, and Real-time Webhooks in Vietnam’s most popular retail management platform.
Developed and maintained by Jay Nguyen (Nguyễn Thiệu Toàn).
🛡️ Verified n8n Creator | 💼 CEO/Founder of GenStaff
Connect with me:
   
—
🌟 Why is this package a game-changer for n8n & Vietnamese Retailers?
KiotViet is the #1 cloud-based POS and retail management platform in Vietnam with over 300,000 active businesses. While connecting to KiotViet’s Public API natively in n8n previously required dealing with raw HTTP requests, OAuth 2.0 token exchanges, and manual webhook registrations, this package automates everything out of the box.
Key Highlights:
- Automated OAuth 2.0 Authentication: No need to write scripts or HTTP steps to fetch access tokens. The node handles token requests (
client_credentials) and caches them securely in memory during workflow execution. - Bi-directional Webhook Automation: The
KiotViet Triggernode registers the webhook directly with KiotViet on workflow activation and deletes it upon deactivation, saving you from manual dashboard configuration. - Enterprise-Ready CRUD Operations: Complete support for Products, Customers, Orders, Invoices, Categories, and Multi-Branch inventories.
- 100% n8n 2026 Verification Compliant: Zero external runtime dependencies, full TypeScript strict typing, password masking for credentials, and standard English copywriting.
—
🚀 Installation
Go to Settings > Community Nodes in your n8n instance and install:
n8n-nodes-kiotviet-official
—
⚙️ Credentials Configuration
1. In your KiotViet Dashboard, navigate to Thiết lập cửa hàng (Store Settings) ➔ Thiết lập kết nối API (API Connection).
2. Generate your Client ID and Client Secret (Mã bảo mật). Note down your Retailer (Mã gian hàng) name (e.g. taphoaxyz).
3. In n8n, create a new KiotViet API credential:
– Retailer (Store Name): Enter your store name (e.g. taphoaxyz).
– Client ID: Paste your Client ID.
– Client Secret: Paste your Client Secret (automatically masked).
4. (Bonus: Click the built-in Test Connection button in n8n to instantly verify your credentials with KiotViet’s OAuth server!)
—
📚 Included Nodes
| Node | Type | Description |
|——|——|————-|
| KiotViet | Standard Action Node | Perform CRUD operations on Products, Customers, Orders, Invoices, Categories, Branches, and Webhooks. |
| KiotViet Trigger | Webhook Trigger Node | Listen to real-time events: Orders (order.update), Invoices (invoice.update), Stock levels (stock.update), Products (product.update), and Customers (customer.update). |
—
🛠️ Supported Operations
1. Product (Hàng hóa)
2. Customer (Khách hàng)
3. Order (Đặt hàng)
4. Invoice (Hóa đơn)
5. Category (Nhóm hàng)
6. Branch (Chi nhánh)
7. Webhook
—