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

UserVoice

User feedback made easy and actionable

Go to site

Integrate the UserVoice API with the Discord Webhook API

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

Connect UserVoice

import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    uservoice: {
      type: "app",
      app: "uservoice",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://${this.uservoice.$auth.subdomain}.uservoice.com/api/v2/admin/users/current`,
      headers: {
        Authorization: `Bearer ${this.uservoice.$auth.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}`,
      },
    })
  },
})