with n8n.io and Typebot?
Emit new event when a zapier step is triggered. See the docs
The n8n.io API provides a platform for automating workflows in a node-based structure that allows for integrations across various services and apps. Leveraging this API within Pipedream enables you to orchestrate complex operations, connect disparate systems, and trigger actions conditionally, transforming and passing data between services without writing extensive code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
n8n_io: {
type: "app",
app: "n8n_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.n8n_io.$auth.domain}.app.n8n.cloud/api/v1/workflows`,
headers: {
"Accept": `application/json`,
"X-N8N-API-KEY": `${this.n8n_io.$auth.api_key}`,
},
})
},
})
Typebot is a conversational form builder that allows you to create interactive and engaging forms for data collection. With Typebot API on Pipedream, you can automate the processing of form submissions, synchronize data with other services, and trigger customized workflows. Utilize the data gathered from Typebot in real-time, enrich it with other services, and streamline processes like lead generation, surveys, and feedback collection.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
typebot: {
type: "app",
app: "typebot",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://typebot.io/api/users/me`,
headers: {
Authorization: `Bearer ${this.typebot.$auth.api_token}`,
},
})
},
})