with Returnless and Schedule?
Trigger your workflow on one or more days each month at a specific time (with timezone support).
Emit new event when a return is created. See the documentation
Trigger your workflow on one or more days each week at a specific time (with timezone support).
Retrieve a list of sales orders sorted by creation date, with the most recent sales orders appearing first. See the documentation
Update the status of a return order. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
returnless: {
type: "app",
app: "returnless",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api-v2.returnless.com/2023-01/account`,
headers: {
Authorization: `Bearer ${this.returnless.$auth.api_key}`,
"content-type": `application/json`,
},
})
},
})
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.