Search accounts
The Salesforce search accounts action searches Account records in your connected Salesforce org using flexible filters. This is a read-only action that helps teams find the right accounts 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 Account records based on your organization's sharing rules.
Supported parameters
| Parameter | Type | Description |
|---|---|---|
| Name | String | Search by account name. Supports partial matches. Optional. |
| Billing city | String | Search by billing city. Supports partial matches. Optional. |
| Billing state | String | Search by billing state/province. Supports partial matches. Optional. |
| Billing country | String | Search by billing country. Supports partial matches. Optional. |
| Industry | String | Search by industry. Optional. |
| Phone | String | Search by phone number. Supports partial matches. Optional. |
| Fields | String | Comma-separated list of Account fields to retrieve. Optional. |
| Limit | Integer | Maximum number of accounts to return. Optional. |
| Type | String | Search by account type. Examples: "Customer - Direct" "Customer - Channel" "Prospect" "Partner" |
| Webiste | String | Search by website. Supports partial matches. Examples: "acme.com" ".com" "https://" |
Usage examples
-
"Find all accounts in the technology industry located in San Francisco."
-
"Search for accounts with 'Acme' in the name in the United States."
-
"Show me accounts in the healthcare industry with phone numbers in the 415 area code."