Paperform is a flexible online form builder that combines beautiful design with serious digital smarts.
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
The PaperForm API offers a robust means to interact programmatically with PaperForm's features, allowing you to automate form submissions, retrieve form data, and integrate with various other services. With Pipedream's serverless platform, you can construct workflows that respond to events from PaperForm forms—like new submissions—by triggering actions in other apps, or perform operations on the submissions themselves.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
paperform: {
type: "app",
app: "paperform",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.paperform.co/v1/forms`,
headers: {
Authorization: `Bearer ${this.paperform.$auth.api_key}`,
"Accept": `application/json`,
},
})
},
})
# $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