Trigger on event
- Listen for a new event
- Parse and validate the payload
- Take an action with the linked tool
3 tools available
Turso is a fully managed database platform built on libSQL, offering serverless SQLite databases with global replication and low-latency access.
Connect Turso to Definable to automate repetitive tasks, sync data with the rest of your stack, trigger on real-world events. Personas call Turso's 3 tools directly from chat or scheduled flows. You can wire it into any persona to read, write, and react when an event fires.
Every Turso action below is a callable tool any Definable persona can invoke.
Tool to get the closest Turso region based on client location. Use when you need to minimize latency by selecting the nearest deployment region.
Listen to committed table changes in a Turso database via the /beta/listen endpoint. This tool streams real-time insert/update/delete events for a specific table. IMPORTANT: Requires a database-specific URL (e.g., 'https://mydb-myorg.turso.io'), NOT the platform API URL (api.turso.tech). Note: The /beta/listen endpoint is NOT available on AWS regions for Free, Developer, and Scaler plans. When unavailable, the action falls back to a /v2/pipeline health check.
Validates a Turso API token and retrieves its expiration time. Use this action to verify that an API token is valid and check when it expires. Returns the token's expiration timestamp, or -1 if the token has no expiration.
Anything Turso exposes through its API. Common databases workflows on Definable include automate repetitive tasks, sync data with the rest of your stack, trigger on real-world events. Personas can call any of the 3 Turso tools directly, then chain the result into another integration without you writing code.
Turso uses API_KEY on Definable. You connect once from the integrations page, scoped to the permissions you choose, and from then on any persona that has the integration enabled can act on your behalf. Tokens are encrypted at rest and rotated automatically.
Yes — every Definable plan, including Starter, includes access to all 3 Turso tools. You only need a separate Turso subscription if Turso itself charges per seat or per API call.
Every call from a persona to Turso is logged with the user, persona, prompt, and response. Tokens never leave Definable's secrets vault, scopes are configurable per persona, and you can revoke access at any time from the integration page.
Sign up for Definable, open the integrations page, find Turso, and connect via OAuth or API key. You can immediately attach Turso to any persona and start running workflows. The free Starter plan includes 5,000 credits/month.
Definable exposes all 3 Turso actions as callable tools — including `Closest Region`, `Listen To Changes`, `Validate API Token`. Each tool gets a typed parameter schema so personas know exactly how to call it.
Wire it up in minutes. No coding required.