A complete, fully customizable solution to transform your paper forms into dynamic, mobile forms to save time and money.
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
The FastField Mobile Forms API allows you to automate interactions with your mobile forms. Using this API on Pipedream, you can trigger workflows based on form submissions, fetch and push data to and from your forms, and integrate with other services to streamline data processing. It’s ideal for creating powerful, serverless workflows that react to form data in real-time, update databases, send notifications, or even generate reports.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
fastfield_mobile_forms: {
type: "app",
app: "fastfield_mobile_forms",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.fastfieldforms.com/services/v3/users`,
headers: {
Authorization: `Bearer ${this.fastfield_mobile_forms.$auth.session_token}`,
"X-Gatekeeper-SessionToken": `${this.fastfield_mobile_forms.$auth.session_token}`,
"FastField-API-Key": `${this.fastfield_mobile_forms.$auth.api_key}`,
},
})
},
})
# $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