Search contacts
The Salesforce search contacts action retrieves a list of Contact records from your connected Salesforce org using flexible filters. This is a read-only action that helps teams find the right contacts 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 Contact records based on your organization's sharing rules.
Supported parameters
| Parameter | Type | Description |
|---|---|---|
| Name | String | Search by contact name (first name or last name). Supports partial matches. Optional. |
| String | Search by email address. Supports partial matches. Optional. | |
| Account name | String | Search by associated account name. Supports partial matches. Optional. |
| Title | String | Search by job title. Supports partial matches. Optional. |
| Phone | String | Search by phone number. Supports partial matches. Optional. |
| Fields | String | Comma-separated list of Contact fields to retrieve. Optional. |
| Limit | Integer | Maximum number of contacts to return. Optional. |
Usage examples
-
"Find all contacts at Acme Corporation with email addresses ending in @acme.com."
-
"Search for contacts with the title 'VP of Engineering' across all accounts."
-
"Show me all contacts named John Smith with phone numbers in the 415 area code."