WooCommerce

Open source eCommerce platform built for WordPress

Integrate the WooCommerce API with the Google Drive API

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

Add File Sharing Preference with Google Drive API on New CouponEvent from WooCommerce API
WooCommerce + Google Drive
 
Try it
Add File Sharing Preference with Google Drive API on New Customer Event from WooCommerce API
WooCommerce + Google Drive
 
Try it
Add File Sharing Preference with Google Drive API on New Order Event from WooCommerce API
WooCommerce + Google Drive
 
Try it
Add File Sharing Preference with Google Drive API on New Product Event from WooCommerce API
WooCommerce + Google Drive
 
Try it
Copy File with Google Drive API on New CouponEvent from WooCommerce API
WooCommerce + Google Drive
 
Try it
Changes to Specific Files from the Google Drive API

Watches for changes to specific files, emitting an event any time a change is made to one of those files. To watch for changes to shared drive files, use the Changes to Specific Files (Shared Drive) source instead.

 
Try it
Changes to Specific Files (Shared Drive) from the Google Drive API

Watches for changes to specific files in a shared drive, emitting an event any time a change is made to one of those files

 
Try it
New Coupon Event (Instant) from the WooCommerce API

Emit new event each time the specified coupon event(s) occur

 
Try it
New Customer Event (Instant) from the WooCommerce API

Emit new event each time the specified customer event(s) occur

 
Try it
New Order Event (Instant) from the WooCommerce API

Emit new event each time the specified order event(s) occur

 
Try it
Create Order with the WooCommerce API

Creates a new order. See the docs

 
Try it
Add File Sharing Preference with the Google Drive API

Add a sharing permission to the sharing preferences of a file and provide a sharing URL. See the docs for more information

 
Try it
Create Product with the WooCommerce API

Creates a new product. See the docs

 
Try it
Get Customer with the WooCommerce API

Retrieve a specific customer. See the docs

 
Try it
Get Order with the WooCommerce API

Retrieve a specific order. See the docs

 
Try it

Connect WooCommerce

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    woocommerce: {
      type: "app",
      app: "woocommerce",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://${this.woocommerce.$auth.url}/wp-json/wc/v2/orders`,
      auth: {
        username: `${this.woocommerce.$auth.key}`,
        password: `${this.woocommerce.$auth.secret}`,
      },
    })
  },
})

Connect Google Drive

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