---
schema_version: "1"
id: ba90666d642b438cfac5d3cc8facfbe567f84d5506abdf1a0e4f22835101edfe
title: ConnectApi.Recommendation
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_proposition.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_proposition.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: e0b1b9bf2c9da9f03052a075104ea618f393b2ee2e4b96da808fb8db6745df02
description: A Next Best Action recommendation object.
---
# ConnectApi.Recommendation

A Next Best Action recommendation object.

| Property Name | Type | Description | Available Version |
| --- | --- | --- | --- |
| acceptanceLabel | String | Text indicating user acceptance of the recommendation. | 45.0 |
| actionReference | String | Reference to the action to perform, for example, launching a flow. | 45.0 |
| description | String | Description of the recommendation. | 45.0 |
| externalId | String | External ID of the recommendation. This ID doesn’t need to be a Salesforce 18-character ID. For example, it can be a product number from an external system. | 46.0 |
| id | String | ID of the recommendation. | 45.0 |
| image | [ConnectApi.​FileAsset](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_file_asset.htm "An asset file.") | Image to display. | 45.0 |
| name | String | Name of the recommendation. | 45.0 |
| rejectionLabel | String | Text indicating user rejection of the recommendation. | 45.0 |
| url | String | URL to the recommendation. | 45.0 |