What do you want to automate

with Expensify and Brex?

Prompt, edit and deploy AI agents that connect to Expensify, Brex and 2,800+ other apps in seconds.

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Create Expense with Expensify API on New Transfer Event (Instant) from Brex API
Brex + Expensify
 
Try it
Create Report with Expensify API on New Transfer Event (Instant) from Brex API
Brex + Expensify
 
Try it
Export Report To PDF with Expensify API on New Transfer Event (Instant) from Brex API
Brex + Expensify
 
Try it
Export Report with Expensify API on New Transfer Event (Instant) from Brex API
Brex + Expensify
 
Try it
New Transfer Event (Instant) from the Brex API

Emit new event for new failed or processed events

 
Try it
Create Expense with the Expensify API

Creates a new expense. See docs here

 
Try it
Create Card with the Brex API

Creates a new card. See the docs here

 
Try it
Create Report with the Expensify API

Creates a new report with transactions in a user's account. See docs here

 
Try it
Invite User with the Brex API

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

 
Try it
Export Report with the Expensify API

Export Expensify reports to a file (csv, xls, xlsx, txt, pdf, json, xml). See the documentation

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

Overview of Expensify

The Expensify API enables the automation of expense reporting and management tasks. By harnessing this API within Pipedream, you can craft workflows that streamline the expense submission process, synchronize financial data across platforms, and trigger actions based on expense report statuses. With Pipedream’s serverless platform, these automations can run in the background, allowing for real-time data processing and interaction between Expensify and a myriad of other apps and services.

Connect Expensify

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import { axios } from "@pipedream/platform"

export default defineComponent({
  props: {
    expensify: {
      type: "app",
      app: "expensify",
    }
  },
  async run({ steps, $ }) {
    // The Expensify API requires the request data to be sent as
    // a URL-encoded form with a key of "requestJobDescription".
    // The value of this key must be a JSON string.
    
    // First, define the JSON object as per the Expensify API documentation.
    const requestJobDescription = {
      type: "get",
      credentials: {
          partnerUserID: this.expensify.$auth.partnerUserId,
          partnerUserSecret: this.expensify.$auth.partnerUserSecret,
      },
      inputSettings: {
          type: "policyList",
      }
    };

    // Use URLSearchParams to create a properly formatted form body.
    const formData = new URLSearchParams();
    formData.append('requestJobDescription', JSON.stringify(requestJobDescription));

    // Make the API call with the correctly formatted data.
    return await axios($, {
      method: "post",
      url: `https://integrations.expensify.com/Integration-Server/ExpensifyIntegrations`,
      data: formData,
      // It's good practice to explicitly set the Content-Type header
      // to match the data format.
      headers: {
        'Content-Type': 'application/x-www-form-urlencoded',
      },
    });
  },
})

Overview of Brex

The Brex API offers a powerful avenue for automating financial operations, providing programmatic access to a company's Brex account. Through the API, you can manage cards, view transactions, and handle rewards programmatically. When combined with Pipedream, the API's capabilities expand, allowing users to integrate Brex data with other apps, trigger workflows based on financial events, and streamline financial reporting and reconciliation processes.

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/users/me`,
      headers: {
        Authorization: `Bearer ${this.brex.$auth.oauth_access_token}`,
      },
    })
  },
})

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo