Brex

Payments, Deposits, Cards

Integrate the Brex API with the Discord API

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

Create Card with Brex API on New Message from Discord API
Discord + Brex
 
Try it
Invite User with Brex API on New Message from Discord API
Discord + Brex
 
Try it
List Transactions for Primary Card Account with Brex API on New Message from Discord API
Discord + Brex
 
Try it
List Transactions for Selected Cash Account with Brex API on New Message from Discord API
Discord + Brex
 
Try it
Set Limit for User with Brex API on New Message from Discord API
Discord + Brex
 
Try it
New Message (Instant) from the Discord API

Emit new event for each message posted to one or more channels in a Discord server

 
Try it
Message Deleted (Instant) from the Discord API

Emit new event for each message deleted

 
Try it
New Command Received (Instant) from the Discord API

Emit new event for each command posted to one or more channels in a Discord server

 
Try it
New Guild Member (Instant) from the Discord API

Emit new event for each new member added to a guild

 
Try it
New Transfer Event (Instant) from the Brex API

Emit new event for new failed or processed events

 
Try it
Create Card with the Brex API

Creates a new card. See the docs here.

 
Try it
Invite User with the Brex API

Invites a new user as an employee. See the docs here.

 
Try it
List Transactions for Primary Card Account with the Brex API

Lists all settled transactions for the primary card account. See the docs here.

 
Try it
List Transactions for Selected Cash Account with the Brex API

Lists all transactions for the specified cash account. See the docs here.

 
Try it
Set Limit for User with the Brex API

Sets the monthly limit for a user. See the docs here.

 
Try it

Overview of Brex

The Brex API enables developers to programmatically manage their Brex account
and cardholders. With the API, developers can create and manage cardholders,
retrieve transactions, and more.

Here are some examples of what you can build with the Brex API:

  • A tool to help manage your Brex account and cardholders
  • A tool to help retrieve transactions
  • A tool to help create and manage cardholders

Connect Brex

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    brex: {
      type: "app",
      app: "brex",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://platform.brexapis.com/v2/cards`,
      headers: {
        Authorization: `Bearer ${this.brex.$auth.oauth_access_token}`,
      },
    })
  },
})

Overview of Discord

The Pipedream Discord app enables you to build event-driven workflows that interact with the Discord API. When you authorize the Pipedream app's access to your guilds, you can use Pipedream workflows to perform common Discord actions, or write your own code against the Discord API.

Connect Discord

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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`,
      },
    })
  },
})