Skip to main content

List leads

The Salesforce list leads tool retrieves a list of Lead records from your connected Salesforce org. This is a read-only tool that supports flexible filtering and sorting to help teams find the right prospects 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 Lead records based on your organization's sharing rules.

Supported parameters​

ParameterTypeDescription
QueryStringSOQL query to fetch leads. Use standard SOQL syntax to filter, sort, and limit results. Examples: "SELECT Id, FirstName, LastName, Company FROM Lead WHERE Status = 'New'" "SELECT Id, Name, Email, Company FROM Lead ORDER BY CreatedDate DESC LIMIT 10" "SELECT Id, Name, Rating FROM Lead WHERE Rating = 'Hot' AND Industry = 'Technology'"

Usage examples​

  • "List all open leads in the US West territory owned by me."

  • "Show me new leads created in the last 30 days sorted by company."

  • "Find all qualified leads with status 'Hot' ready for outreach."

Troubleshooting​

FAQs​