Skip to main content

Get opportunity

The Salesforce get opportunity tool retrieves a single Opportunity record from your connected Salesforce org by its Salesforce ID. This is a read-only tool that returns all available fields on the Opportunity object 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 the target Opportunity record based on your organization's sharing rules.

Supported parameters​

ParameterTypeDescription
Opportunity IDStringThe unique Salesforce ID of the opportunity to retrieve. Required.
FieldsStringComma-delimited string of Opportunity field API names to retrieve. If omitted, all fields are returned. Examples: "Name,Amount,StageName,CloseDate" "Description,Type,LeadSource,NextStep"

Usage examples​

  • "Get the full details for Salesforce opportunity ID 006PZ000003xyzABC."

  • "Retrieve opportunity information for the Q4 Enterprise Deal using its Salesforce ID."

  • "Show me all fields for opportunity ID 006PZ000004defGHI."

Troubleshooting​

FAQs​