Get opportunity
The Salesforce get opportunity action retrieves a single Opportunity record from your connected Salesforce org by its Salesforce ID. This is a read-only action that returns all available fields on the Opportunity object 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 the target Opportunity record based on your organization's sharing rules.
Supported parameters
| Parameter | Type | Description |
|---|---|---|
| Opportunity ID | String | The unique Salesforce ID of the opportunity to retrieve. Required. |
| Fields | String | Comma-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."