Online form service
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
Formspree is a great way to build simple forms and gather data from users. Here
are some examples of what you can build using the Formspree API:
Formspree makes it easy to gather data from your users, and the possibilities
are endless!
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
formspree: {
type: "app",
app: "formspree",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://formspree.io/api/0/forms/${this.formspree.$auth.hash_id}/submissions`,
headers: {
Authorization: `Bearer ${this.formspree.$auth.api_key}`,
},
})
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})