Trigger workflows on an interval or cron schedule.
Orders can be pushed into the WeSupply platform via a JSON containing the order data. See the docs here
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 WeSupply API serves as a bridge connecting your ecommerce platforms to WeSupply's order tracking and logistics features. By utilizing the API within Pipedream, you unlock the potential to automate order updates, streamline returns, and enhance customer service interactions. Pipedream's serverless platform allows you to create workflows that trigger based on certain events, process data, and connect to countless other APIs and services—essentially turning your WeSupply data into actionable insights and automated tasks without the need for a dedicated backend infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
wesupply: {
type: "app",
app: "wesupply",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.wesupply.$auth.client_name}.labs.wesupply.xyz/api/orders/lookup`,
headers: {
Authorization: `Bearer ${this.wesupply.$auth.oauth_access_token}`,
},
})
},
})