What do you want to automate

with Turso and Prepr (GraphQL)?

Prompt, edit and deploy AI agents that connect to Turso, Prepr (GraphQL) and 2,500+ other apps in seconds.

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Create Database with the Turso API

Creates a new database in a group for the organization or user. See the documentation

 
Try it
Execute SQL Query with the Turso API

Execute a custom SQLite query. See our docs to learn more about working with SQL in Pipedream.

 
Try it
Get Databases with the Turso API

Returns a list of databases belonging to the organization or user. See the documentation

 
Try it
Get Groups with the Turso API

Returns a list of groups belonging to the organization or user. See the documentation

 
Try it
Get Organizations with the Turso API

Returns a list of organizations the authenticated user owns or is a member of. See the documentation

 
Try it
Integrate the Turso API with the Prepr (GraphQL) API
Setup the Turso API trigger to run a workflow which integrates with the Prepr (GraphQL) API. Pipedream's integration platform allows you to integrate Turso and Prepr (GraphQL) remarkably fast. Free for developers.

Connect Turso

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    turso: {
      type: "app",
      app: "turso",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.turso.tech/v1/organizations`,
      headers: {
        Authorization: `Bearer ${this.turso.$auth.api_token}`,
      },
    })
  },
})

Connect Prepr (GraphQL)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    prepr_graphql: {
      type: "app",
      app: "prepr_graphql",
    }
  },
  async run({steps, $}) {
    const data = {
      "query": `query {
      Posts {
        items {
          _id
          title
        }
      }
    }`,
    }
    return await axios($, {
      method: "post",
      url: `https://graphql.prepr.io/${this.prepr_graphql.$auth.access_token}`,
      data,
    })
  },
})

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo