Search Leads (Pipedrive)
Pipedrive → Search Leads (Pipedrive)
/v1/pipedrive-search-leads{ "term": "sample-value", "field": "sample-value", "exact_match": true, "person_id": 1, "organization_id": "Acme, Inc.", "limit": 1 }
{ "ok": true, "data": { "result_score": 92, "id": "rec_4f3a91", "title": "sample", "type": "sample", "owner_id": "rec_4f3a91", "person_id": "rec_4f3a91", "person_name": "sample", "organization_id": "rec_4f3a91", "organization_name": "sample", "value_amount": 1, "value_currency": "sample", "is_archived": true, "visible_to": 1, "mobile_number": "sample", "email": "[email protected]", "custom_fields": "sample", "note": "sample" } }
Searches all leads by title, notes, and/or custom fields using the Pipedrive API v2.
Install
Add search leads (pipedrive) to your MCP client.
Drop this into claude_desktop_config.json (or your client's equivalent) and the tool shows up in any chat.
{ "mcpServers": { "texau": { "command": "npx", "args": ["-y", "@texau/mcp-server"], "env": { "TEXAU_API_KEY": "..." } } } }
Tool name: texau__pipedrive-search-leads
When to use this.
The "Search Leads (Pipedrive)" action enables users to efficiently search for leads within the Pipedrive CRM by utilizing various criteria such as title, notes, and custom fields through the Pipedrive API v2. Key input parameters include 'term', which specifies the search term (minimum of 2 characters), 'fields' for defining specific search areas, and 'exact_match' to filter results for full matches. Additional filters like 'person_id' and 'organization_id' allow for targeted searches based on associated individuals or organizations, while 'limit' controls the number of results returned per page. The output includes essential data points such as lead ID, title, owner ID, person and organization details, value amounts, and notes, all categorized under semantic types like id, text, number, boolean, and email. This action is particularly useful for sales teams and CRM users looking to streamline lead management, enhance customer engagement, and improve sales strategies by quickly locating relevant leads based on specific criteria.
Try it
Run a sample request.
The response is a deterministic, cached example. No live call, no credits used.
Search Leads (Pipedrive)
Response
Output schema.
Every field returned in `data`. Click rows to expand nested objects.
result_scoreResult ScorenullablenumberidIdtexttitleTitletexttypeTypenullabletextowner_idOwner Idnullablenumberperson_idPerson Idnumberperson_namePerson Nametextorganization_idOrganization Idnumberorganization_nameOrganization Nametextvalue_amountValue Amountnumbervalue_currencyValue Currencytextis_archivedIs Archivednullablebooleanvisible_toVisible Tonullablenumbermobile_numberMobile NumbernullabletextemailEmailnullabletextcustom_fieldsCustom FieldsnullabletextnoteNotenullabletext
Integrate
Copy-pasteable snippets.
Real endpoint: https://v3-api.texau.com/api/v1/pipedrive-search-leads. Auth: x-api-key.
/v1/pipedrive-search-leadscurl -X POST 'https://v3-api.texau.com/api/v1/pipedrive-search-leads' \ -H 'x-api-key: $TEXAU_API_KEY' \ -H 'content-type: application/json' \ -d '{"term":"sample-value","field":"sample-value","exact_match":true,"person_id":1,"organization_id":"Acme, Inc.","limit":1}'
{ "ok": true, "data": { "result_score": 92, "id": "rec_4f3a91", "title": "sample", "type": "sample", "owner_id": "rec_4f3a91", "person_id": "rec_4f3a91", "person_name": "sample", "organization_id": "rec_4f3a91", "organization_name": "sample", "value_amount": 1, "value_currency": "sample", "is_archived": true, "visible_to": 1, "mobile_number": "sample", "email": "[email protected]", "custom_fields": "sample", "note": "sample" } }
Compose
How this fits a workflow.
The next 2 actions most operators chain after this one.
crm
Get Deals by Person (Pipedrive)
Retrieve all deals linked to a specified person from Pipedrive API v2, including amounts, stages, and statuses.
crm
Delete Lead (Pipedrive)
Deletes a specific lead from Pipedrive using its ID.
crm
Search Deals (Pipedrive)
Searches all deals by title, notes, and/or custom fields using Pipedrive API v2. Can be filtered by person ID, organization ID, or status.
Output
Results land in a TexAu table.
Sample rows below.
Real result preview coming soon.
| Input | Status | Score |
|---|---|---|
| [email protected] | valid | 96 |
| [email protected] | risky | 54 |
| [email protected] | invalid | 12 |
Workflow
A real example.
Trigger → search leads (pipedrive) → enrich → push to your CRM. ~80 ms operator effort, the rest runs in the background.
Built for
Who runs this.
Reliability
Rate limits & reliability.
- Per-minute limitNo public cap
- Per-day limitPlan-defined
- RetriesAutomatic w/ backoff
- ModeSync
Errors
HTTP status codes.
What each response means and what to do about it.
| Code | Cause | Fix |
|---|---|---|
| 200 OK | Action ran. Data in `data`. | Read response. |
| 400 Bad Request | Missing or malformed input. | Validate against the input schema. |
| 401 Unauthorized | Missing or invalid `x-api-key`. | Re-issue from /api-platform. |
| 403 Forbidden | Workspace lacks plan tier. | Upgrade or contact sales. |
| 404 Not Found | Action key not recognized. | Verify the slug. |
| 429 Rate Limited | Per-minute or per-day cap hit. | Backoff; reduce concurrency. |
| 500 Server Error | Unexpected TexAu issue. | Retry with backoff. |
| 502 Bad Gateway | Upstream provider 5xx. | Retry; we surface root cause. |
| 504 Timeout | Upstream slower than maxLatency. | Switch to `isAsync` polling. |
Related
More Pipedrive actions.
crm
Get Deals by Person (Pipedrive)
Retrieve all deals linked to a specified person from Pipedrive API v2, including amounts, stages, and statuses.
crm
Delete Lead (Pipedrive)
Deletes a specific lead from Pipedrive using its ID.
crm
Search Deals (Pipedrive)
Searches all deals by title, notes, and/or custom fields using Pipedrive API v2. Can be filtered by person ID, organization ID, or status.
crm
Search Organizations (Pipedrive)
Find organizations in Pipedrive by name, address, notes, or custom fields using the v2 Search API.
FAQ.
Is this real-time?
Yes. Synchronous actions return in ~1–4 s. Long-running work uses async polling (see status 504 → switch to async).
Do I get charged on failure?
No. Verified failures cost zero credits. Provider miss / 5xx / timeout cascade to the next provider in the waterfall when applicable.
Does it work with Claude / Cursor via MCP?
Yes. Add the texau MCP server to your client config, then call `texau__pipedrive-...` directly.
What CRMs can I push results to?
HubSpot, Salesforce, Pipedrive, Zoho, and GoHighLevel are bidirectional. Smartlead, Instantly, Lemlist, HeyReach, Apollo Sequences, and Reply.io for outbound.
Run Search Leads (Pipedrive) in 60 seconds.
Pull your API key, paste the cURL, ship to your CRM.