Skip to main content

Search leads

The Salesforce search leads action searches Lead records in your connected Salesforce org using flexible filters. This is a read-only action that helps teams find the right prospects quickly without modifying any Salesforce data.

Prerequisites

  • Your Salesforce org must be connected as a data source in Glean, and an admin must enable the Salesforce action pack and complete Salesforce Actions Setup including OAuth configuration.

  • Users must authenticate for Salesforce actions on first use.

  • The authenticated Salesforce user must have permission to view Lead records based on your organization's sharing rules.

Supported parameters

ParameterTypeDescription
NameStringSearch by lead name (first name or last name). Supports partial matches. Optional.
EmailStringSearch by email address. Supports partial matches. Optional.
CompanyStringSearch by company name. Supports partial matches. Optional.
StatusStringSearch by lead status (e.g., "Open", "Contacted", "Qualified"). Optional.
PhoneStringSearch by phone number. Supports partial matches. Optional.
FieldsStringComma-separated list of Lead fields to retrieve. Optional.
LimitIntegerMaximum number of leads to return. Optional.
Lead sourceStringSearch by lead source. Examples: "Web" "Phone Inquiry" "Partner Referral"
TitleStringSearch by job title. Supports partial matches. Examples: "Manager" "Director" "Sales"

Usage examples

  • "Search for all qualified leads at Acme Corporation with email addresses ending in @acme.com."

  • "Find open leads named John Smith with phone numbers in the 415 area code."

  • "Show me all contacted leads at companies in the technology industry."

Troubleshooting

FAQs