Save yourself the work of writing custom integrations for Brex and ChartMogul and use n8n instead. Build adaptable and scalable Finance & Accounting, workflows that work with your technology stack. All within a building experience you will love.

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.
List referrals
Returns referrals created, excluding expired ones.
Create referral
This creates new referrals and returns an identifier with a unique application link.
Get referral
Returns a referral object by ID if it exists.
Upload document
Create a new document upload using a presigned S3 URL.
List card accounts
This endpoint lists all accounts of card type.
List primary card account statements
This endpoint lists all finalized statements for the primary card account.
List cash accounts
This endpoint lists all the existing cash accounts with their status.
Get primary cash account
This endpoint returns the primary cash account with its status.
Get cash account by ID
This endpoint returns the cash account associated with the provided ID with its status.
List cash account statements
This endpoint lists all finalized statements for the cash account by ID.
List users
This endpoint lists all users.
Get current user
This endpoint returns the user associated with the OAuth2 access token.
Get user
This endpoint gets a user by ID.
Get limit for the user
This endpoint gets the monthly limit for the user including the monthly available limit.
Set user limit
This endpoint sets a limit for a user.
List locations
This endpoint lists all locations.
Create location
This endpoint creates a new location.
Get location
This endpoint gets a location by ID.
List departments
This endpoint lists all departments.
Create department
This endpoint creates a new department.
Create department
This endpoint creates a new department.
Get department
This endpoint gets a department by ID.
List titles
This endpoint lists all titles.
Get title
This endpoint gets a title by ID.
List cards
Lists all cards by a user_id.
Create card
Creates a new card requiring certain fields based on card type.
Get card
Retrieves a card by ID.
Lock card
Locks an existing, unlocked card.
Get card number
Retrieves card number, CVV, and expiration date of a card by ID.
Create secure email to send card number
Creates a secure email to send card number, CVV, and expiration date of a card by ID to the specified email.
Secure email card
Sends a secure email to a recipient regarding a card.
Terminate card
Terminates an existing card and notifies the card owner.
Unlock card
Unlocks an existing card.
List vendors
This endpoint lists all existing vendors for an account.
Get vendor
This endpoint gets a vendor by ID.
Update vendor
Updates an existing vendor by ID.
Delete vendor
This endpoint deletes a vendor by ID.
Create transfer
This endpoint creates a new transfer.
List transfers
This endpoint lists existing transfers for an account.
Create transfer
This endpoint creates a transfer between accounts.
Get transfer
This endpoint gets a transfer by ID.
List transactions
This endpoint lists all settled transactions for all card accounts.
List transactions
This endpoint lists all transactions for the cash account with the selected ID.
To set up Brex integration, add the HTTP Request node to your workflow canvas and authenticate it using a generic authentication method. The HTTP Request node makes custom API calls to Brex to query the data you need using the API endpoint URLs you provide.
See the example hereThese API endpoints were generated using n8n
n8n AI workflow transforms web scraping into an intelligent, AI-powered knowledge extraction system that uses vector embeddings to semantically analyze, chunk, store, and retrieve the most relevant API documentation from web pages. Remember to check the Brex official documentation to get a full list of all API endpoints and verify the scraped ones!
Get Account Details
Create an Activities Export
List Activities
Retrieve an Activities Export
Create a Contact
Delete a Contact
List Contacts
Retrieve a Contact
Update a Contact
Add Contact to Customer
Create a Customer
Delete a Customer
List Customer's Activities
List Customer's Invoices
List Customers
List Customers by Email
Merge Customers
Retrieve a Customer
Unmerge Customers
Update a Customer
Add Custom Attributes to a Customer
Add Custom Attributes to a Customer by Email
Add Tags to a Customer
Add Tags to a Customer by Email
Remove Custom Attributes From a Customer
Remove Tags From a Customer
Retrieve Customer's Tags and Attributes
Create a Subscription Event
Delete a Subscription Event
Disable a Subscription Event
List Subscription Events
Update a Subscription Event
Create an Invoice
Delete All Invoices of a Customer
Delete an Invoice
Disable an Invoice
List Invoices
Retrieve an Invoice
Update an Invoice
Update Invoice Status
Create a Line Item
Delete a Line Item
Disable a Line Item
Retrieve a Line Item
Update a Line Item
All Key Metrics
Annual Run Rate (ARR)
Average Revenue per Account (ARPA)
Average Sale Price (ASP)
Customer Churn Rate
Customer Count
Customer Lifetime Value (LTV)
Monthly Recurring Revenue (MRR)
MRR Churn Rate
Create a Note or Call Log
Delete a Note or Call Log
List Notes and Call Logs
Retrieve a Note or Call Log
Update a Note or Call Log
Create an Opportunity
Delete an Opportunity
List Opportunities
Retrieve an Opportunity
Update an Opportunity
Create a Plan
Delete a Plan
List Plans
Retrieve a Plan
Update a Plan
Create a Plan Group
Delete a Plan Group
List Plan Groups
List Plans in a Plan Group
Retrieve a Plan Group
Update a Plan Group
Create a Source
List Sources
Retrieve a Source
Delete a Source
List Customer's Subscriptions
Connect Subscriptions
Disconnect Subscriptions
Create a Task
Delete a Task
List Tasks
Retrieve a Task
Update a Task
Create a Transaction
Delete a Transaction
Disable a Transaction
Retrieve a Transaction
Update a Transaction
The world's most popular workflow automation platform for technical teams including
Build complex workflows, really fast