Discord Webhook

Use this app to send messages to a channel using Discord's incoming webhooks

Go to site

Integrate the Discord Webhook API with the HTTP / Webhook API

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

Connect Discord Webhook

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

Connect HTTP / Webhook

export default defineComponent({
  props: {
    http: {
      type: "http_request",
      default: {
        method: "GET",
        url: "http://api.open-notify.org/iss-now.json",
      }
    }
  },
  async run({steps, $}) {
    return await this.http.execute()
  },
})

Community Posts

A Look at Pipedream
A Look at Pipedream
I'm going to build a workflow that will search Twitter every hour for a keyword. It will take the results, format them nicely, and then email it.
Building a Traffic-Based Workflow in Pipedream
Building a Traffic-Based Workflow in Pipedream
Normally I don't like to blog about stuff that isn't generally available to all, but as it will be available sometime soon, I decided to go ahead anyway. And I built something really cool I want to share so that's another reason to talk about this now!