List contacts
The Salesforce list contacts action retrieves a list of Contact records from your connected Salesforce org. This is a read-only action that supports flexible filtering and sorting to help teams find the right people in CRM 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 |
|---|---|---|
| Query | String | SOQL query to fetch contacts. Use standard SOQL syntax to filter, sort, and limit results. Examples: "SELECT Id, FirstName, LastName FROM Contact WHERE Email != null" "SELECT Id, FirstName, LastName, Email FROM Contact ORDER BY LastName LIMIT 10" "SELECT Id, Name, Email FROM Contact WHERE CreatedDate = TODAY" |
Usage examples
-
"List all contacts at Acme Corporation sorted by job title."
-
"Show me contacts with email addresses at example.com domain."
-
"Find all contacts created in the last 30 days owned by the sales team."