Package Information
Released: 5/16/2025
Downloads: 2 weekly / 29 monthly
Latest Version: 0.5.0
Author: vvonkledge
Documentation
n8n-nodes-turso
This is an n8n community node for interacting with Turso databases using the libSQL client.
Prerequisites
- n8n instance (v0.107.0 or later)
- Turso account and database
Installation
Installing via npm
You can install this package from npm:
# For n8n global installation
npm install -g n8n-nodes-turso
# For n8n installed as npm package
npm install n8n-nodes-turso
After installation, restart your n8n instance for the new node to be recognized.
Installing in n8n Desktop App
- Go to Settings > Community Nodes
- Click Install
- Enter
n8n-nodes-tursoin the "Install npm package" field - Click Install
Features
Interact directly with your Turso database using the libSQL client:
- Execute Query: Run SQL queries against your Turso database with support for parameterized queries
- Execute Batch: Run multiple SQL queries in sequence
- Insert Rows: Insert data into tables with support for data types (e.g.,
id:int,name:text) - Update Rows: Update table data with WHERE clause filtering
- Delete Rows: Delete rows with WHERE clause filtering
- List Tables: Get a list of all tables in your database
- Describe Table: View schema information about a specific table
Authentication
This node requires Turso Database credentials:
- Database URL: The URL of your Turso database (obtained with
turso db show --url <database-name>) - Auth Token: The authentication token for your database (obtained with
turso db tokens create <database-name>)
Usage Examples
Execute a SQL Query
- Create a new workflow
- Add the Turso node
- Select "Execute Query" as the operation
- Enter your SQL query (e.g.,
SELECT * FROM users) - Configure credentials and run the workflow
Insert Data into a Table
- Create a new workflow
- Add the Turso node
- Select "Insert Rows" as the operation
- Enter your table name and column definitions
- Choose data source (Input Items or Manual Input)
- Provide values to insert
- Configure credentials and run the workflow
Execute Multiple Queries in Batch
- Create a new workflow
- Add the Turso node
- Select "Execute Batch" as the operation
- Add multiple queries you want to execute
- Configure credentials and run the workflow
Troubleshooting
- If the node doesn't appear after installation, restart your n8n instance
- Check that your Turso database URL and authentication token are correct
- Ensure your Turso database is online and accessible
Contributing
Feel free to contribute to this node by opening issues or submitting pull requests on the GitHub repository.