Discord

Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.

Go to site

Integrate the Discord API with the ClickUp API

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

Connect Discord

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

Connect ClickUp

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