You are here:
Flex Prompt Templates in Action
Flex prompt templates are specific to your use cases, so call them wherever you need them in your org. Build custom UI or use REST API to call them with an invocable action.

Use more general search terms.
Select fewer filters to broaden your search.
Flex prompt templates are specific to your use cases, so call them wherever you need them in your org. Build custom UI or use REST API to call them with an invocable action.
| Available in: Lightning Experience |
| Available in: Enterprise, Performance, and Unlimited Editions with the Einstein for Platform, or Einstein or Agentforce for Sales or Service add-on, or Agentforce Foundations |
Because flex templates are so customizable, you can use them in almost any way you want in your org. Enabling them is specific to the use case. For example, a prompt that generates a newsletter using several Product, Campaign, and Event records belongs on a different page than a prompt that generates a text message following up on a Customer Case.
Work with your Salesforce developer to create an invocable action that calls a prompt template in your org. See Generate a Prompt Response in the Actions Developer Guide.
Use flex prompts to automate field generation even further with flows. Unlike a field generation prompt template type, there isn’t a human reviewing and editing the generated content before it populates the field, it fills automatically as instructed by the flow.

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.