Back to Integrations
integrationBrex node
HTTP Request
integrationLusha node
HTTP Request

Brex and Lusha integration

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

How to connect Brex and Lusha

  • Step 1: Create a new workflow
  • Step 2: Add and configure nodes
  • Step 3: Connect
  • Step 4: Customize and extend your integration
  • Step 5: Test and activate your workflow

Step 1: Create a new workflow and add the first step

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.

Brex and Lusha integration: Create a new workflow and add the first step

Step 2: Add and configure Brex and Lusha nodes using the HTTP Request nodes

Add the HTTP Request nodes onto your workflow canvas. Set credentials for Brex and Lusha as appropriate using generic authentication methods. The HTTP Request nodes make custom API calls to Brex and Lusha to query the data you need. Configure nodes one by one: input data on the left, parameters in the middle, and output data on the right.

Brex and Lusha integration: Add and configure Brex and Lusha nodes

Step 3: Connect Brex and Lusha

A connection establishes a link between Brex and Lusha (or vice versa) to route data through the workflow. Data flows from the output of one node to the input of another. You can have single or multiple connections for each node.

Brex and Lusha integration: Connect Brex and Lusha

Step 4: Customize and extend your Brex and Lusha integration

Use n8n's core nodes such as If, Split Out, Merge, and others to transform and manipulate data. Write custom JavaScript or Python in the Code node and run it as a step in your workflow. Connect Brex and Lusha with any of n8n’s 1000+ integrations, and incorporate advanced AI logic into your workflows.

Brex and Lusha integration: Customize and extend your Brex and Lusha integration

Step 5: Test and activate your Brex and Lusha workflow

Save and run the workflow to see if everything works as expected. Based on your configuration, data should flow from Brex and Lusha or vice versa. Easily debug your workflow: you can check past executions to isolate and fix the mistake. Once you've tested everything, make sure to save your workflow and activate it.

Brex and Lusha integration: Test and activate your Brex and Lusha workflow

Build your own Brex and Lusha integration

Create custom Brex and Lusha 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.

Supported API Endpoints for Brex

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.

List referrals
Returns referrals created, excluding expired ones.
GET
get/v1/referrals
Create referral
This creates new referrals and returns an identifier with a unique application link.
POST
post/v1/referrals
Get referral
Returns a referral object by ID if it exists.
GET
/get/v1/referrals/{id}
Upload document
Create a new document upload using a presigned S3 URL.
POST
post/v1/referrals/{id}/document_upload

These 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!

List card accounts
This endpoint lists all accounts of card type.
GET
/v2/accounts/card
List primary card account statements
This endpoint lists all finalized statements for the primary card account.
GET
/v2/accounts/card/primary/statements
List cash accounts
This endpoint lists all the existing cash accounts with their status.
GET
/v2/accounts/cash
Get primary cash account
This endpoint returns the primary cash account with its status.
GET
/v2/accounts/cash/primary
Get cash account by ID
This endpoint returns the cash account associated with the provided ID with its status.
GET
get/v2/accounts/cash/{id}
List cash account statements
This endpoint lists all finalized statements for the cash account by ID.
GET
get/v2/accounts/cash/{id}/statements

These 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!

List users
This endpoint lists all users.
GET
/v2/users
Get current user
This endpoint returns the user associated with the OAuth2 access token.
GET
/v2/users/me
Get user
This endpoint gets a user by ID.
GET
/v2/users/{id}
Get limit for the user
This endpoint gets the monthly limit for the user including the monthly available limit.
GET
/v2/users/{id}/limit
Set user limit
This endpoint sets a limit for a user.
POST
post/v2/users/{id}/limit

These 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!

List locations
This endpoint lists all locations.
GET
get/v2/locations
Create location
This endpoint creates a new location.
POST
post/v2/locations
Get location
This endpoint gets a location by ID.
GET
get/v2/locations/{id}

These 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!

List departments
This endpoint lists all departments.
GET
get/v2/departments
Create department
This endpoint creates a new department.
POST
post/v2/departments
Create department
This endpoint creates a new department.
POST
/v2/departments
Get department
This endpoint gets a department by ID.
GET
/v2/departments/{id}

These 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!

List titles
This endpoint lists all titles.
GET
/v2/titles
Get title
This endpoint gets a title by ID.
GET
/v2/titles/{id}

These 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!

List cards
Lists all cards by a user_id.
GET
/v2/cards
Create card
Creates a new card requiring certain fields based on card type.
POST
post/v2/cards
Get card
Retrieves a card by ID.
GET
/v2/cards/{id}
Lock card
Locks an existing, unlocked card.
POST
post/v2/cards/{id}/lock
Get card number
Retrieves card number, CVV, and expiration date of a card by ID.
GET
get/v2/cards/{id}/pan
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.
POST
post/v2/cards/{id}/email
Secure email card
Sends a secure email to a recipient regarding a card.
POST
/v2/cards/{id}/secure_email
Terminate card
Terminates an existing card and notifies the card owner.
POST
/v2/cards/{id}/terminate
Unlock card
Unlocks an existing card.
POST
/v2/cards/{id}/unlock

These 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!

List vendors
This endpoint lists all existing vendors for an account.
GET
/v1/vendors
Get vendor
This endpoint gets a vendor by ID.
GET
get/v1/vendors/{id}
Update vendor
Updates an existing vendor by ID.
PUT
put/v1/vendors/{id}
Delete vendor
This endpoint deletes a vendor by ID.
DELETE
delete/v1/vendors/{id}

These 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!

Create transfer
This endpoint creates a new transfer.
POST
post/v1/incoming_transfers

These 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!

List transfers
This endpoint lists existing transfers for an account.
GET
get/v1/transfers
Create transfer
This endpoint creates a transfer between accounts.
POST
/v1/transfers
Get transfer
This endpoint gets a transfer by ID.
GET
/v1/transfers/{id}

These 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!

List transactions
This endpoint lists all settled transactions for all card accounts.
GET
/v2/transactions/card/primary
List transactions
This endpoint lists all transactions for the cash account with the selected ID.
GET
/v2/transactions/cash/{id}

These 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!

Supported API Endpoints for Lusha

To set up Lusha 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 Lusha to query the data you need using the API endpoint URLs you provide.

Get person
Retrieve a person's data using their name and company information.
GET
/v2/person?firstName=:firstName&lastName=:lastName&companyName=:companyName
Create person
Create a new person entry in the system using the provided information.
POST
/v2/person
Get person details
Retrieve details of a person by their first name, last name, and company.
GET
/person?firstName=:firstName&lastName=:lastName&company=:company
Get person details with phone numbers
Retrieve details of a person, filtered by existence of phone numbers.
GET
/person?firstName=:firstName&lastName=:lastName&company=:company&property=phoneNumbers
Create person search request
Create a search request for a person using a list of organizations.
POST
/person
Bulk create person
Create multiple person entries in a single request.
POST
/bulk/person

These 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 Lusha official documentation to get a full list of all API endpoints and verify the scraped ones!

Create company
This endpoint allows you to create a bulk company request.
POST
/bulk/company
Create company names
Creates a company name search based on the provided text.
POST
/companies/names
List company sizes
Retrieves the list of company sizes.
GET
/companies/sizes
List company revenues
Retrieves the list of company revenues.
GET
/companies/revenues
Create company locations
Creates a location search based on the provided text.
POST
/companies/locations
List company SICS
Retrieves the list of company SICS codes.
GET
/companies/sics
List company NAICS
Retrieves the list of company NAICS codes.
GET
/companies/naics
List company industries labels
Retrieves the list of industry labels for companies.
GET
/companies/industries_labels
List companies
Get a list of companies using target audience filters.
GET
/v1/api/companies/list
Enrich companies
Enrich a company's information using its ID and request ID.
POST
/prospecting/company/enrich

These 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 Lusha official documentation to get a full list of all API endpoints and verify the scraped ones!

Get company
Retrieve information about a company using its domain name.
GET
/company?domain=:domain
Search companies
The request for search companies is mainly based on the filters which were mentioned earlier.
POST
/prospecting/company/search

These 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 Lusha official documentation to get a full list of all API endpoints and verify the scraped ones!

Create contact job titles
Creates a job title search for contacts based on the provided text.
POST
/contacts/job_titles
List contact departments
Retrieves the list of contact departments.
GET
/contacts/departments
List contact seniority
Retrieves the list of contact seniority levels.
GET
/contacts/seniority
List existing data points for contacts
Retrieves the existing data point labels for contacts.
GET
/contacts/existing_data_points
List all countries for contacts
Retrieves the list of all countries for contacts.
GET
/contacts/all_countries
Create contact locations
Creates a location search for contacts based on the provided text.
POST
/contacts/locations
Search contacts
Search for contacts based on provided filters.
POST
/prospecting/contact/search
List contacts
Get a list of contacts using target audience filters.
GET
/v1/api/contacts/list

These 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 Lusha official documentation to get a full list of all API endpoints and verify the scraped ones!

Enrich contact
The Enrich API provides information about requested contacts.
POST
/prospecting/contact/enrich

These 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 Lusha official documentation to get a full list of all API endpoints and verify the scraped ones!

FAQs

  • Can Brex connect with Lusha?

  • Can I use Brex’s API with n8n?

  • Can I use Lusha’s API with n8n?

  • Is n8n secure for integrating Brex and Lusha?

  • How to get started with Brex and Lusha integration in n8n.io?

Looking to integrate Brex and Lusha in your company?

Over 3000 companies switch to n8n every single week

Why use n8n to integrate Brex with Lusha

Build complex workflows, really fast

Build complex workflows, really fast

Handle branching, merging and iteration easily.
Pause your workflow to wait for external events.

Code when you need it, UI when you don't

Simple debugging

Your data is displayed alongside your settings, making edge cases easy to track down.

Use templates to get started fast

Use 1000+ workflow templates available from our core team and our community.

Reuse your work

Copy and paste, easily import and export workflows.

Implement complex processes faster with n8n

red iconyellow iconred iconyellow icon