Segment

Customer data platform

Go to site

Integrate the Segment API with the GitHub API

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

Track actions your users perform

Track lets you record the actions your users perform (note requires userId or anonymousId)

 
Try it
Create Repo Issue

Creates an issue in a repository.

 
Try it
Get Repo

Gets a repository's details.

 
Try it
Search Issues or Pull Requests

Searches for issues or pull requests by state and keyword.

 
Try it
Create Fork

Creates a fork given a repository for the authenticated user.

 
Try it

Connect Segment

const data = {
  "event": `PipedreamTestOrder`,
  "anonymousId": `019mr8mf4r`,
}
return await require("@pipedreamhq/platform").axios(this, {
  method: "post",
  url: `https://api.segment.io/v1/track`,
  auth: {
    username: `${auths.segment.write_key}`,
    password: ``,
  },
  data,
})

Connect GitHub

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://api.github.com/user`,
  headers: {
    Authorization: `Bearer ${auths.github.oauth_access_token}`,
  },
})