ShipHero

Whether you want to let go of running your own warehouse, or run your warehouse better, you can do both – and so much more – with ShipHero.

Integrate the ShipHero API with the Gmail API

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

Send Email with the Gmail API

Send an email from your Google Workspace email account

 
Try it

Overview of ShipHero

The ShipHero API enables granular control over warehousing and order fulfillment processes, offering endpoints for managing inventory, orders, returns, and shipping. In Pipedream, you can leverage this API to automate routine tasks, sync data across multiple platforms, and trigger actions based on specific events. This can save time, reduce errors, and increase operational efficiency for e-commerce businesses.

Connect ShipHero

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    shiphero: {
      type: "app",
      app: "shiphero",
    }
  },
  async run({steps, $}) {
    const data = {
      "query": `{
      products {
        request_id
        data(first: 100) {
          edges {
            node {
              id
              sku
              name
            }
          }
        }
      }
    }
    `,
    }
    return await axios($, {
      method: "post",
      url: `https://public-api.shiphero.com/graphql`,
      headers: {
        Authorization: `Bearer ${this.shiphero.$auth.oauth_access_token}`,
        "Content-Type": `application/json`,
      },
      data,
    })
  },
})

Overview of Gmail

By connecting your personal Gmail account to Pipedream, you'll be able to incorporate email into whatever you're building with any of the thousands of apps that are available on Pipedream.

Connect Gmail

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: {
    gmail: {
      type: "app",
      app: "gmail",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://www.googleapis.com/oauth2/v1/userinfo`,
      headers: {
        Authorization: `Bearer ${this.gmail.$auth.oauth_access_token}`,
      },
    })
  },
})