CONNECT APP
Build with Lusha
CRM
- API key
MCP
Give your agent Lusha tools
Every Lusha action is exposed as an MCP tool on Pipedream's remote server. Point a client at it with your end user's ID and Connect resolves that user's Lusha account for each tool call — you store no tokens.
// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
new URL("https://remote.mcp.pipedream.net/v3"),
{
requestInit: {
headers: {
Authorization: `Bearer ${accessToken}`,
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
"x-pd-app-slug": "lusha",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// e.g. run Enrich Companies:
const result = await mcp.callTool({
name: "lusha-company-enrich",
arguments: {
requestId: "Company Request ID",
companiesIds: ["Enrich Company IDs"],
},
})# access_token: mint a short-lived token with the Connect SDK — see the MCP guide
headers = {
"Authorization": f"Bearer {access_token}",
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", # any stable ID for this user in your system
"x-pd-app-slug": "lusha",
}
async with streamablehttp_client("https://remote.mcp.pipedream.net/v3", headers=headers) as (read, write, _):
async with ClientSession(read, write) as session:
await session.initialize()
tools = await session.list_tools()
# e.g. run Enrich Companies:
result = await session.call_tool("lusha-company-enrich", {
"requestId": "Company Request ID",
"companiesIds": ["Enrich Company IDs"],
})API PROXY
Call the Lusha API directly
For an endpoint with no pre-built tool, the Connect proxy forwards your request to the Lusha API with the connected user's credentials attached. You store no tokens and write no refresh logic.
const resp = await pd.proxy.get({
externalUserId: "{external_user_id}", // any stable ID for this user in your system
accountId: "apn_xxxxxxx",
url: "https://api.lusha.com/person",
})
// Any allowed Lusha endpoint works here. Pipedream attaches the
// connected account's credentials to the outgoing request.# The path segment is the target URL, URL-safe base64 encoded:
# https://api.lusha.com/person
curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9hcGkubHVzaGEuY29tL3BlcnNvbg?external_user_id={external_user_id}&account_id=apn_xxxxxxx" \
-H "Authorization: Bearer {access_token}" \
-H "x-pd-environment: production"SDK
Run Lusha actions from your backend
Connect a user's Lusha account once, then run Enrich Companies on their behalf from your own code — TypeScript, Python, or plain HTTP.
import { PipedreamClient } from "@pipedream/sdk"
const pd = new PipedreamClient({
projectId: process.env.PIPEDREAM_PROJECT_ID!,
clientId: process.env.PIPEDREAM_CLIENT_ID!,
clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
projectEnvironment: "production",
})
const result = await pd.actions.run({
id: "lusha-company-enrich",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
lusha: { authProvisionId: "apn_xxxxxxx" },
requestId: "Company Request ID",
companiesIds: ["Enrich Company IDs"],
},
})from pipedream import Pipedream
pd = Pipedream(
client_id="{oauth_client_id}",
client_secret="{oauth_client_secret}",
project_id="{project_id}",
project_environment="production",
)
result = pd.actions.run(
id="lusha-company-enrich",
external_user_id="{external_user_id}", # any stable ID for this user in your system
configured_props={
"lusha": {"authProvisionId": "apn_xxxxxxx"},
"requestId": "Company Request ID",
"companiesIds": ["Enrich Company IDs"],
},
)curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
-H "Content-Type: application/json" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}" \
-d '{
"external_user_id": "{external_user_id}",
"id": "lusha-company-enrich",
"configured_props": {
"lusha": { "authProvisionId": "apn_xxxxxxx" },
"requestId": "Company Request ID",
"companiesIds": ["Enrich Company IDs"]
}
}'TOOLS
Lusha actions
On-demand operations your product or agent can configure and run on behalf of a connected user.
-
Enrich Companies
actionEnriches company information based on provided company IDs. See the documentationWritev0.0.6 -
Enrich Contacts
actionEnriches contacts based on provided IDs. See the documentationWritev0.0.5 -
Get Company Recommendations
actionGet company recommendations based on other companies. Use requestId to get more results from a previous search. See the documentationRead-onlyv0.0.2 -
Get Company Signals By IDs
actionRetrieve signals data for a list of company IDs. This endpoint allows you to get recent activities and signals for up to 100 companies per request. See the documentationRead-onlyv0.0.1 -
Get Contact Recommendations
actionFetch recommended contacts by supplying the contact's IDs, enabling Lusha to return similar profiles aligned by job title, seniority, and company context. Use requestId to get more results from a previous search. See the documentationRead-onlyv0.0.2 -
Get Contact Signals By IDs
actionRetrieve signals data for a list of contact IDs. This endpoint allows you to get recent activities and signals for up to 100 contacts per request. See the documentationRead-onlyv0.0.1 -
Get Signal Options
actionRetrieve available signal options for a specific entity type (contact or company). This endpoint returns the list of signal types you can filter by when enriching contacts or companies. See the documentationRead-onlyv0.0.2 -
List Company NAICS Codes Options
actionRetrieves available options for the Company NAICS Codes field.Read-onlyv0.0.1 -
List Company Revenues Options
actionRetrieves available options for the Company Revenues field.Read-onlyv0.0.1 -
List Company SIC Codes Options
actionRetrieves available options for the Company SIC Codes field.Read-onlyv0.0.1 -
List Company Sizes Options
actionRetrieves available options for the Company Sizes field.Read-onlyv0.0.1 -
List Contact Countries Options
actionRetrieves available options for the Contact Countries field.Read-onlyv0.0.1 -
List Contact Departments Options
actionRetrieves available options for the Contact Departments field.Read-onlyv0.0.1 -
List Contact Seniority Levels Options
actionRetrieves available options for the Contact Seniority Levels field.Read-onlyv0.0.1 -
List Existing Data Points Options
actionRetrieves available options for the Existing Data Points field.Read-onlyv0.0.1 -
Search and Enrich Companies
actionSearch for companies and enrich them. See the documentationRead-onlyv0.0.4 -
Search and Enrich Contacts
actionSearch for contacts and enrich them. See the documentationRead-onlyv0.0.4 -
Search Companies
actionSearch for companies using various filters. See the documentationRead-onlyv0.0.5 -
Search Company Signals
actionSearch for company signals using identifiers like domain name or company name. This endpoint combines search and signal enrichment in a single request. See the documentationRead-onlyv0.0.2 -
Search Contact Signals
actionSearch for contact signals using identifiers like LinkedIn URL, email, or name + company. This endpoint combines search and signal enrichment in a single request. See the documentationRead-onlyv0.0.2 -
Search Contacts
actionSearch for contacts using various filters. See the documentationRead-onlyv0.0.5 -
Search Single Company
actionSearch for companies using various filters. See the documentationRead-onlyv0.0.1 -
Search Single Contact
actionSearch for a single contact using various filters. See the documentationRead-onlyv0.0.1
No Lusha triggers are available yet.
MULTI-APP
Use Lusha with other popular apps
Most products don't stop at one integration. Pair Lusha with the other apps your users rely on, and ship use cases that span both.
- App slug
- lusha
- Authentication
- API key
- Categories
- CRM
- Actions
- 23
- Triggers
- 0
- API proxy
- Available