Form.io is a platform that enables you to build web and mobile applications. Create both the forms and the RESTful API's all in one easy step!
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
The Form.io API empowers developers to manage forms and submissions on Pipedream, enabling the automation of workflows that require data collection and processing. With Form.io on Pipedream, you can create, update, and fetch forms, as well as handle form submissions. This is ideal for tasks like dynamically generating forms based on user input, streamlining data collection processes, and integrating form data with other services for further analysis or action.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
form_io: {
type: "app",
app: "form_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.form_io.$auth.project_id}.form.io/${this.form_io.$auth.form_name}`,
headers: {
"x-token": `${this.form_io.$auth.api_key}`,
},
})
},
})
Develop, run and deploy your Node.js code in Pipedream workflows, using it between no-code steps, with connected accounts, or integrate Data Stores and File Stores.
This includes installing NPM packages, within your code without having to manage a package.json
file or running npm install
.
Below is an example of installing the axios
package in a Pipedream Node.js code step. Pipedream imports the axios
package, performs the API request, and shares the response with subsequent workflow steps:
// 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
},
})