WeSupply

Post-Purchase CX Automation Platform built for Retail. WeSupply helps retailers reduce their customer support tickets with Pre-purchase delivery prediction, automated shipping tracking, proactive notifications and self-service returns.

Integrate the WeSupply API with the Delay API

Setup the WeSupply API trigger to run a workflow which integrates with the Delay API. Pipedream's integration platform allows you to integrate WeSupply and Delay remarkably fast. Free for developers.

Import Order with the WeSupply API

Orders can be pushed into the WeSupply platform via a JSON containing the order data. See the docs here

 
Try it
Delay Workflow with the Delay API

Delay the execution of your workflow for a specific amount of time (does not count against your compute time).

 
Try it

Overview of WeSupply

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.

Connect WeSupply

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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}`,
      },
    })
  },
})

Overview of Delay

The Delay API in Pipedream is a built-in function that allows you to pause a workflow for a specified amount of time. This can be incredibly useful when you need to stagger API calls to avoid rate limits, wait for an external process to complete, or simply introduce a delay between actions in a sequence. With precision up to milliseconds, the Delay API provides a simple yet powerful tool for managing timing in automation workflows.

Connect Delay

1
2
3
4
5
6
7
export default defineComponent({
  async run({steps, $}) {
    // Specify the amount of time to delay your workflow in milliseconds
    return $.flow.delay(5000)
  },
})