Skip to main content

List contacts

The Salesforce list contacts tool retrieves a list of Contact records from your connected Salesforce org. This is a read-only tool 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 connector in Glean, and an admin must enable the Salesforce tools and complete Salesforce Tools Setup including OAuth configuration.

  • Users must authenticate for Salesforce tools on first use.

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

Supported parameters​

ParameterTypeDescription
QueryStringSOQL 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."

Troubleshooting​

FAQs​