Save yourself the work of writing custom integrations for Apify and Brex and use n8n instead. Build adaptable and scalable 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.
Create custom Apify and Brex workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.
Run an Actor
Runs an Actor and immediately returns without waiting for the run to finish
Scrape Single URL
Scrape a single URL using the Apify Website Content Crawler Actor and get its content as text, markdown, and HTML
Get Last Run
Retrieves the most recent run of an Actor. This endpoint is useful for quickly accessing the latest run details, including its status and storages, without needing to specify a run ID.
Run Task
Runs an Actor task and immediately returns its details without waiting for the run to complete. You can optionally override the Actor’s input configuration by providing a custom body.
Get User Runs List
Gets a list of Actor runs for the user. This endpoint is useful for retrieving a history of runs, their statuses, and other data.
Get run
Gets the details of a specific Actor run by its ID. This endpoint is useful for retrieving information about a run, such as its status, storages, and other metadata.
Get runs
Gets a list of Actor runs. This endpoint is useful for retrieving a history of runs, their statuses, and other data.
Get Items
Retrieves items from a dataset
Get Key-Value Store Record
Gets a value stored in the key-value store under a specific key
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!
The world's most popular workflow automation platform for technical teams including
Build complex workflows, really fast