with Formdesk and Order Desk?
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}`,
},
})
},
})
The Order Desk API allows you to automate and streamline order management processes within the Order Desk platform. With this API, you have the power to create, update, and get detailed information on orders, inventory, and shipments. Pipedream's serverless platform enables you to connect the Order Desk API with numerous other apps and services to build dynamic workflows. Whether you're syncing order data, managing inventory, or connecting to fulfillment services, Pipedream can help you craft custom automations that save time and reduce manual errors.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
order_desk: {
type: "app",
app: "order_desk",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.orderdesk.me/api/v2/test`,
headers: {
"ORDERDESK-STORE-ID": `${this.order_desk.$auth.store_id}`,
"ORDERDESK-API-KEY": `${this.order_desk.$auth.api_key}`,
},
})
},
})