🎉 Pipedream raises $20M Series A 🎉
Read the blog post and TC Techcrunch article.

Asana

Manage your team's work, projects, & tasks online

Go to site

Integrate the Asana API with the Discord Webhook API

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

Connect Asana

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

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