Package Information
Released: this month
Downloads: 0 weekly / 0 monthly
Latest Version: 1.0.0
Available Nodes
Documentation generating…
Documentation
n8n-nodes-json-to-sqlite
Custom n8n community node untuk mengisi database SQLite (sesuai schema yang sudah ada di JSON to SQLite API) langsung dari workflow n8n.
Fitur
- Dynamic Schema Dropdown: Memilih schema (
brc,default, dll.) langsung dari API (GET /api/v1/schemas). - Dynamic Table / Collection Dropdown: Memilih tabel (
tbtran,tbblok,tbestate, dll.) dari schema terpilih. - Auto-Loaded Column Mapping (
resourceMapper): Setelah tabel dipilih, daftar kolom dan tipenya otomatis muncul untuk diisi dengan nilai statis atau n8n Expression ({{ $json.field }}), atau gunakan mode Auto-Map. - Binary Output: Menghasilkan file
.sqlitesebagai binary property (data) yang siap dikirim ke Google Drive, Email, Write File, atau HTTP Response.
Build
cd n8n-nodes-json-to-sqlite
npm install
npm run build
Instalasi ke n8n
Opsi A: n8n Local (npm / global)
- Link package dari folder ini:
cd d:\Projects\JsonToSqlite\n8n-nodes-json-to-sqlite npm link - Masuk ke folder custom n8n Anda (biasanya
~/.n8n/custom, buat jika belum ada):mkdir -p ~/.n8n/custom cd ~/.n8n/custom npm link n8n-nodes-json-to-sqlite - Restart n8n.
Opsi B: n8n Docker
Mount folder dist/ ke /home/node/.n8n/custom/n8n-nodes-json-to-sqlite atau salin ke volume custom extensions, lalu restart container n8n.
Pada Credentials → JSON to SQLite API, isi API Base URL dengan http://host.docker.internal:3000 (jika API berjalan di host Windows).
Cara Pakai di Workflow n8n
- Tambahkan node JSON to SQLite.
- Buat/pilih credential JSON to SQLite API (pastikan server
npm startdi root project sudah berjalan). - Pilih Schema (misal:
brc). - Pilih Table (Collection) (misal:
tbtran). - Pada bagian Columns, kolom-kolom tabel akan muncul otomatis — isi nilainya atau drag field JSON dari node sebelumnya.
- Jalankan node, dan ambil file
.sqlitedari binary output propertydata.