The Account Research Lightning component comes with seven pre-configured research topics. To create custom research topics that fit your unique business requirements, use Prompt Builder.
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise, Performance, and Unlimited Editions with the Agentforce for Sales or Industry add-on license or included in Agentforce 1 Sales Edition. |
| User Permissions Needed | |
|---|---|
| To set up Sales Cloud Einstein: |
Customize Application AND Modify All Data |
| To edit prompt templates: |
Manage Prompt Template AND Data Cloud Architect permission set |
| To map prompt templates to Account or Account Plan fields: | Edit access on the Account and Account Plan objects |
Before you can use Account Research, Set up Einstein Generative AI. Optionally, Turn on Sales Account Plans. Then, turn on Account Research in Setup.
To create a custom record research prompt template for Account Research, start from an existing record research prompt template. Then, save it as a new prompt template with your specific customizations. For example, update the model or the data source used to conduct research. Or, research a new area, and store the results in a different field.
You can store Account Research results in standard fields and in custom fields. When customizing Account Research with Prompt Builder, map research results to these field types.
TextText AreaText Area (Encrypted)Text Area (Long)Text Area (Rich)
In this example, we’re creating a custom record research prompt template to research challenges in a customer’s company landscape. It then stores the research results on a standard field on Account Plan. Refine the example to meet your specific needs.
- From Setup, in the Quick Find box, enter Prompt Builder, and then select Prompt Builder.
- In the list of prompt templates, select a prompt template with the Record Research template type.
For this example, select the Research Company Strategic Priorities prompt template.
- In the Prompt Template Workspace, click Save as New Template.
- Specify a Prompt Template Name.
In this example, name it Research Custom Customer Landscape Challenges.
- Make sure that the API name is unique.
- Optionally, write a description for your prompt template.
- Specify a Prompt Template Name.
- Click Save As.
You’re directed to the Prompt Template Workspace.
- Replace the instructions with your custom instructions.
In this example, replace the first research instruction, leaving the data source and other prompt information as-is.
Specifically, remove this text.
Your goal is to write a concise, professional HTML-formatted summary of the company's top strategic initiatives for the current and coming year. Use the provided search results below as supporting evidence and summarize the most relevant insights clearly and factually.And replace it with this text.
Conduct a thorough analysis of the company's customer landscape to identify and describe the primary challenges they face. Describe the main weaknesses or vulnerabilities the company faces in its current market landscape. Focus on internal or market-based challenges. Focus on areas where the company may be underperforming or encountering difficulties in meeting customer expectations and needs. Consider aspects such as customer satisfaction, support effectiveness, product/service quality, customer retention, market position, and communication practices. Highlight specific issues, trends, and patterns that indicate potential areas for improvement. -
Update the
fieldNamevalues at the end of the Output Requirements section and in the Rules section.For this example, replace
AccountPlan.AccountStrategicPrioritieswithAccountPlan.AccountChallengesin both sections.
Note Map only one prompt template per field. If you map more than one prompt template to a field, you see an error when trying to update the field with the research. You can still generate research, but you can’t update the corresponding field. - Preview your prompt template and view the LLM’s response.
- Click Save .
- Under Inputs, search for and select a record.
- Click Preview and review the response.
If you prefer a different response, adjust the instructions in step 5, and repeat step 7.
- When you’re satisfied with the result, activate the prompt template.
Now, when you visit the Account Research Lightning component, you see your custom prompt template listed in the research area dropdown.
To build a flow with results from your custom Account Research prompt template, select the CustomPromptTemplateId field on the AiResearchPromptResult object. You can find the CustomPromptTemplateId number for your custom prompt template in its URL.