with Formdesk and Hubflo?
Formdesk is a versatile tool that lets you create online forms, surveys, and quizzes. With the Formdesk API on Pipedream, you can automate data collection, analysis, and integration. Whether you're syncing form submissions to a database, triggering emails based on responses, or connecting Formdesk to other apps for seamless data flow, Pipedream’s serverless platform empowers you to build powerful, customized workflows.
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}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
hubflo: {
type: "app",
app: "hubflo",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://app.hubflo.com/api/v2/pings`,
headers: {
Authorization: `Bearer ${this.hubflo.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})