with Typebot and Bash?
Emit new event when a zapier step is triggered. See the docs
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
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}`,
},
})
},
})
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id
# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS