Turso

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.

Common workflows with Turso

01

Trigger on event

  1. Listen for a new event
  2. Parse and validate the payload
  3. Take an action with the linked tool
02

Daily summary

  1. Pull yesterday's activity
  2. Summarise with the model of your choice
  3. Send the digest via email or Slack
03

Cross-tool sync

  1. Read records from one app
  2. Transform with a persona
  3. Write the result back via this integration

Turso actions 3

Every Turso action below is a callable tool any Definable persona can invoke.

Closest Region

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 Changes

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.

Validate API Token

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.

Frequently asked questions

What can I automate with Turso on Definable?

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.

How does Turso authentication work?

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.

Is the Turso integration included in my Definable plan?

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.

Is using Turso through Definable secure?

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.

How do I get started with Turso on Definable?

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.

What Turso actions does Definable expose?

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.

Ready to automate with Turso?

Wire it up in minutes. No coding required.

← All integrations