Sourcier Advanced icon

Sourcier Advanced

Full CRUD operations for Bullhorn CRM/ATS via Sourcier SDK

Lead → Search

AI-generated

Summary

Searches for Lead records in Bullhorn using a Lucene query string and returns specified fields with optional result limiting and deletion filtering.

Inputs

  • authentication — Type of authentication to use: User Credentials (Email & Password) or Enterprise Credentials (API Key). Default is Enterprise.
  • enableOperationsLog — Optional toggle to emit an audit log entry for operations; off by default.
  • fields — A list of Bullhorn Lead fields to return. Each field can be renamed in the output by setting an Output Name; if left empty, the Bullhorn field name is used.
  • limit — Maximum number of Lead records to return, between 1 and 500. Defaults to 20.
  • query (required) — Lucene query string to filter Leads (e.g., 'name:Smith* AND status:Active'). Required input for the search.
  • hideDeleted — Whether to automatically exclude deleted or archived Leads by adding an isDeleted:false filter. Defaults to true.
  • outputFields — Fields to include in every output item, merged into all results, no-results, and error outputs.

Output shape

a list of Lead records matching the query, each containing requested fields with optional custom names

The number of records returned respects the specified limit (max 500). Deleted or archived records are excluded automatically if 'Hide Deleted' is enabled. Field renaming applies in the output. An optional operations log is emitted if enabled.

Examples

Example 1: Search active Leads with name starting 'Smith' and return their id and email fields, limiting to 50 results

Set 'query' to 'name:Smith* AND isDeleted:false', specify fields 'id' and 'email', set limit to 50.

Links

Discussion