Formdesk lets you design your own online forms such as application forms, registration forms, order forms and surveys
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
formdesk: {
type: "app",
app: "formdesk",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.formdesk.$auth.domain}.formdesk.com/api/rest/v1/${this.formdesk.$auth.name_folder_of_forms}/users`,
headers: {
Authorization: `Bearer ${this.formdesk.$auth.api_key}`,
},
})
},
})
The Filter API is a great way to build powerful workflows that can manipulate
and transform data. Here are some examples of what you can build using the
Filter API:
export default defineComponent({
async run({ steps, $ }) {
let condition = false
if (condition == false) {
$.flow.exit("Ending workflow early because the condition is false")
} else {
$.export("$summary", "Continuing workflow, since condition for ending was not met.")
}
},
})