Available in: Salesforce Classic and Lightning Experience |
Available in: All editions except Personal Edition. |
An action link is a button on a feed element. Clicking an action link can take a user to a Web page, initiate a file download, or invoke an API call to Salesforce or to an external server. An action link includes a URL and an HTTP method, and can include a request body and header information, such as an OAuth token for authentication. Use action links to integrate Salesforce and third-party services into the feed so that users can take action to drive productivity and accelerate innovation.
In this example, Approve and Reject are action
links that make API calls to the REST API of a fictional travel website to approve or reject
an itinerary. When Pam created the itinerary on the travel website, the travel website made a
Chatter REST API request to post the feed item
with the action links to Pam’s manager Kevin so that he can approve or reject the itinerary.