with Typeform and Prisma Postgres?
Creates a new Postgres database project via Prisma Management API. See docs here
Creates a new connection string for an existing database via Prisma Management API. See docs here
Create a new database in an existing Prisma project. Requires Project ID. See docs here
The Typeform API furnishes you with the means to create dynamic forms and collect user responses in real-time. By leveraging this API within Pipedream's serverless platform, you can automate workflows to process this data, integrate seamlessly with other services, and react to form submissions instantaneously. This empowers you to craft tailored responses, synchronize with databases, trigger email campaigns, or even manage event registrations without manual intervention.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
typeform: {
type: "app",
app: "typeform",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.typeform.com/me`,
headers: {
Authorization: `Bearer ${this.typeform.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
prisma_management_api: {
type: "app",
app: "prisma_management_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.prisma.io/v1/workspaces`,
headers: {
Authorization: `Bearer ${this.prisma_management_api.$auth.api_token}`,
"accept": `application/json`,
},
params: {
limit: `100`,
},
})
},
})