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.

Integrate the GitHub API with the Discord Webhook API

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

Send Message with Discord Webhook API on Custom Webhook Events from GitHub API
GitHub + Discord Webhook
 
Try it
Send Message with Discord Webhook API on New Branch (Instant) from GitHub API
GitHub + Discord Webhook
 
Try it
Send Message with Discord Webhook API on New Card in Column (Instant) from GitHub API
GitHub + Discord Webhook
 
Try it
Send Message with Discord Webhook API on New Collaborator (Instant) from GitHub API
GitHub + Discord Webhook
 
Try it
Send Message with Discord Webhook API on New Commit (Instant) from GitHub API
GitHub + Discord Webhook
 
Try it
Custom Webhook Events from the GitHub API

Emit new events of selected types

 
Try it
New Branch (Instant) from the GitHub API

Emit new events when a new branch is created

 
Try it
New Card in Column (Classic Projects) from the GitHub API

Emit new event when a (classic) project card is created or moved to a specific column. For Projects V2 use New Issue with Status trigger. More information here

 
Try it
New Collaborator (Instant) from the GitHub API

Emit new events when collaborators are added to a repo

 
Try it
New Commit (Instant) from the GitHub API

Emit new events on new commits to a repo or branch

 
Try it
Create Issue with the GitHub API

Create a new issue in a Gihub repo. See docs here

 
Try it
Send Message with the Discord Webhook API

Send a simple message to a Discord channel

 
Try it
Search Issues and Pull Requests with the GitHub API

Find issues and pull requests by state and keyword. See docs here

 
Try it
Send Message (Advanced) with the Discord Webhook API

Send a simple or structured message (using embeds) to a Discord channel

 
Try it
Create Issue Comment with the GitHub API

Create a new comment in a issue. See docs here

 
Try it

Connect GitHub

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: {
    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}`,
      },
    })
  },
})

Overview of Discord Webhook

With Discord's Webhook API, you can create applications that send messages to
Discord channels automatically. For example, you could create a bot that sends
a message to a channel every time a new blog post is published, or a message to
a channel when someone joins your Discord server.

Here are some ideas for what you could build using the Discord Webhook API:

  • A bot that sends a message to a channel when a new blog post is published
  • A bot that sends a message to a channel when someone joins your Discord
    server
  • A bot that sends a message to a channel when a new product is added to your
    online store

Connect Discord Webhook

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: {
    discord_webhook: {
      type: "app",
      app: "discord_webhook",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://discord.com/api/users/@me`,
      headers: {
        Authorization: `Bearer ${this.discord_webhook.$auth.oauth_access_token}`,
      },
    })
  },
})