with Fillout and Short Menu?
The Fillout API provides robust tools for creating, managing, and analyzing custom forms and surveys. With Fillout, businesses can streamline the process of data collection and insights gathering directly from their users or customers. Using Pipedream's capabilities, you can integrate Fillout with hundreds of other services, enabling automated workflows that can trigger actions in other apps based on responses, synchronize data across platforms, or generate real-time notifications and reports.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
fillout: {
type: "app",
app: "fillout",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.fillout.com/v1/api/forms`,
headers: {
Authorization: `Bearer ${this.fillout.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
short_menu: {
type: "app",
app: "short_menu",
}
},
async run({steps, $}) {
const data = {
"destinationUrl": "https://pipedream.com/explore?via=go",
"domain": `${this.short_menu.$auth.custom_domain}`,
"tags": [
{
"name": "mytag"
}
]
}
return await axios($, {
method: "post",
url: `https://api.shortmenu.com/links`,
headers: {
"x-api-key": `${this.short_menu.$auth.api_key}`,
},
data,
})
},
})