Trigger workflows on an interval or cron schedule.
The Schedule app in Pipedream is a powerful tool that allows you to trigger workflows at regular intervals, ranging from every minute to once a year. This enables the automation of repetitive tasks and the scheduling of actions to occur without manual intervention. By leveraging this API, you can execute code, run integrations, and process data on a reliable schedule, all within Pipedream's serverless environment.
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}`,
},
})
},
})