🎉 Pipedream raises $20M Series A 🎉
Read the blog post and TC Techcrunch article.

GitHub

Where the world builds software. Millions of developers and companies build, ship, and maintain their software on GitHub—the largest and most advanced development platform in the world.

Go to site

Integrate the GitHub API with the Google Docs API

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

Connect GitHub

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

Connect Google Docs

import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    google_docs: {
      type: "app",
      app: "google_docs",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://www.googleapis.com/oauth2/v1/userinfo`,
      headers: {
        Authorization: `Bearer ${this.google_docs.$auth.oauth_access_token}`,
      },
    })
  },
})