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

Quickbooks

Online accounting software

Go to site

Integrate the Quickbooks API with the Discord Webhook API

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

Connect Quickbooks

import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    quickbooks: {
      type: "app",
      app: "quickbooks",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://quickbooks.api.intuit.com/v3/company/${this.quickbooks.$auth.company_id}/companyinfo/${this.quickbooks.$auth.company_id}`,
      headers: {
        Authorization: `Bearer ${this.quickbooks.$auth.oauth_access_token}`,
        "accept": `application/json`,
        "content-type": `application/json`,
      },
    })
  },
})

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