Trello

Trello keeps track of everything, from the big picture to the minute details

Go to site

Integrate the Trello API with the Discord Webhook API

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

Connect Trello

import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    trello: {
      type: "app",
      app: "trello",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.trello.com/1/members/me`,
    }, {
      token: {
        key: this.trello.$auth.oauth_access_token,
        secret: this.trello.$auth.oauth_refresh_token,
      },
      oauthSignerUri: this.trello.$auth.oauth_signer_uri,
    })
  },
})

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