Newer Version Available

This content describes an older version of this product. View Latest

Action Link Templates

Create action link templates in Setup so that you can instantiate action link groups with common properties from Connect REST API or Apex. You can package templates and distribute them to other Salesforce orgs.
Available in: Salesforce Classic (not available in all orgs) 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 Connect 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. Action links on a feed item.

Action links are a developer feature. Although you create action link templates in Setup, you must use Apex or Connect REST API to generate action links from templates and add them to feed elements.

Important