What do you want to automate

with Instant and Prepr (GraphQL)?

Prompt, edit and deploy AI agents that connect to Instant, 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
Integrate the Instant API with the Prepr (GraphQL) API
Setup the Instant API trigger to run a workflow which integrates with the Prepr (GraphQL) API. Pipedream's integration platform allows you to integrate Instant and Prepr (GraphQL) remarkably fast. Free for developers.

Connect Instant

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { init, id } from '@instantdb/admin';
export default defineComponent({
  props: {
    instant: {
      type: "app",
      app: "instant",
    }
  },
  async run({steps, $}) {
    const db = init({
      appId: this.instant.$auth.app_id,
      adminToken: this.instant.$auth.admin_token,
    });
    return await db.query({ _: {} });
  },
})

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