Google Drive

Internet-related services and products

Go to site

Integrate the Google Drive API with the Python API

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

Connect Google Drive

import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    google_drive: {
      type: "app",
      app: "google_drive",
  async run({steps, $}) {
    return await axios($, {
      url: ``,
      headers: {
        Authorization: `Bearer ${this.google_drive.$auth.oauth_access_token}`,

Connect Python

from pipedream.script_helpers import (steps, export)

# Reference data from previous steps

# Return data for use in future steps
export("foo", {"test":True})