A detailed guide on how to transform your data into valuable insights using AI-driven prompt builder and flow automation!

What is Prompt Builder?

Organizations can easily integrate reliable Gen-AI using the prompt builder. It enables admins to create prompt templates, resulting in increased productivity of employees by generating content.
Prompt Builder boosts productivity and responds promptly. The prompt templates use large language models (LLM) to create substantial material.
Please Note: You can read this blog and understand the key steps to set up Prompt Builder in Einstein Generative AI.

Step-by-Step Process of How to Create a Field Generation Prompt Builder

Step 1:
Type and search for “Einstein Setup” in the Quick Find Box, and click on the toggle at the upper right corner. 👇

Screenshot 2024 04 16 160142

Step 2:
In the Second Step, Quickly find the Search Permission Sets and assign Permission set ‘Prompt Template Manager’ and ‘Prompt Template User.’ 👇

Screenshot 2024 07 09 165304 1

Step 3:

Later, search “Prompt Builder” in the Quick Find Box and create a completely new “Prompt Builder. Afterward, click on New Prompt Template and type prompt builder to create a new “Field Generation. 👇

Screenshot 2024 07 09 165304 1 1

Step 4:
You will find two sections in the Prompt Template – “Resource” and “Object Field”. In order to add “Account” object merge fields, you need to click on “Resource” to display in the prompt template.
You can merge fields like Account Name, Description, etc. Now, in the “Object Field” section, add the required field to set for the Prompt Builder’s Generative AI.
For Reference Check the below Screenshot. 👇

Screenshot 2024 07 09 165304 2

Step 5:
Now, create a Prompt Builder Flow to add the above Prompt Template. Currently, I have created a Flow to get all cases related to an account with Status. In the Quick find box Search flows to Create a new Flow. 👇

Screenshot 2024 07 09 165304 3

Now, Create a new Prompt flow.

Screenshot 2024 07 09 173447

Step 6:
(a.) Now, Create a flow to get all Cases which is related to the Account.
For More reference Check below Screenshot. 👇

Screenshot 2024 07 09 174312

(b.) Add a loop to iterate through all cases retrieved in the above step.
For more reference Check below Screenshot.👇

Screenshot 2024 07 09 174742

(c) Now Add the action ‘Add Prompt Instruction’.

Screenshot 2024 07 10 153108

Step 7:

Now add this flow in the Prompt builder that you created in the third step.
For more reference, check the screenshot below.👇

Screenshot 2024 07 09 165304 4

After adding flow in prompt builder. Preview this and test the prompt Builder.

Screenshot 2024 07 10 232641

Steps 8:
Now, create a record trigger flow to get the account related to the case and update the Account description with a prompt builder AI generative summary.

(a) Create a Record Trigger Flow on the Case object.

Screenshot 2024 07 10 233705

(b.) Get the Account as per the case. 👇

Screenshot 2024 07 10 233941

(c.) Now, add an action as a prompt builder which you created in the third step. In-Store Output values, create a resource as text and use it in Store Output values.
For more reference, check the screenshot below.👇

Screenshot 2024 07 10 234440

(d) The last step update the Account Description field which is related to the Case.

Screenshot 2024 07 10 234937

Step 9:
Now, test this flow. Move to the Case object and update a Case record. When the record trigger flow fires on the Case object, it will automatically update the related account description with the Prompt AI generative summary. Suppose I have updated the Subject in the Case object.

Screenshot 2024 07 10 235757

Step 10:
Now, navigate to the related Account and check the Description. The Account Description should be updated with the AI-generated summary related to the Case.

Screenshot 2024 07 11 000418

That’s how you can use Prompt Builder to generate AI summaries using flows.

Conclusion:

In a nutshell, the Prompt Builder is a robust tool for creating interactive prompts that guide user input effectively, enhancing the overall user experience. It supports variables, conditions, and loops, offering extensive customization and flexibility.
The Prompt Builder enables the creation of messages with a comprehensive language model and generates substantial content.
Stay tuned for more updates!

Related Articles
Step-by-Step Guide on Adding Opportunity Team Members to Slack Channel

Salesforce allows you to improve communication by effortlessly connecting Opportunity Team Members to Slack channels. This step-by-step blog will show you how to enable Opportunity Teams, configure Slack integrations, and automate the process with Salesforce Flow. Real-time Slack notifications may help you streamline communication, increase productivity, and keep your sales team on the same page. […]

Read More
How to Use Transform Element in Salesforce Flow

Salesforce introduced the transform element in their winter ‘24 release. This feature simplifies data processing in flows by eliminating the need for loops and assignment elements. With the Transform Element, you can seamlessly map source data to target data, making your flows more efficient and easier to maintain. Transform element is available for screen flows, […]

Read More
How to Use TypeScript in Salesforce Lightning Web Components (LWC)

TypeScript is a programming language developed by Microsoft; used for enhancing JavaScript by adding different static types. With the help of TypeScript, developers can easily find errors during the development process before the execution. It also makes the code more readable and maintainable. With the successful integration of Salesforce Lightning Web Components (LWC), TypeScript improves […]

Read More
Expert Guide on Seamless Integration of Salesforce and QuickBooks Online

Integrating Salesforce with QuickBooks Online can significantly streamline your business operations, improving data accuracy and efficiency. QB Sync Made Easy offers a seamless solution to synchronize customer and financial data between the two platforms. This expert QuickBooks Online, on the other hand, is a leading accounting tool specifically developed for small and medium-sized businesses that […]

Read More
A Complete Guide to Salesforce CPQ Contract Amendment and Renewal

Salesforce CPQ software offers robust features for managing pricing, product configurations, and quotations. The capacity to effectively modify and renew contracts is essential for businesses managing intricate agreements and long-term partnerships. In this guide, we’ll walk you through the details of contract amendment and renewal processes in Salesforce CPQ. About Salesforce CPQ Contract Amendments Modifications […]

Read More
Step by Step Guide to Configure Email to Salesforce 1 1

In this detailed guide, we will walk you through the significant yet easy steps to configure Email to Salesforce. Without any further ado, let’s get started! About Email to Salesforce As the term refers, Email to Salesforce is valuable for any organization that businesses use as their Customer Relationship Management (CRM) platform. It helps streamline […]

Read More
Our Location worldwide
Indian Flag India
3rd Floor, A-10, Pegasus Tower, Sector 68, Noida, Uttar Pradesh 201301 +91-1203117884
United States of America Flag USA
333 West Brown Deer Road Unit G – 366 Milwaukee WI, USA 53217 +1(262) 310-7818
United Kingdom Flag UK
7 Bell Yard, London, WC2A 2JR +44 20 3239 9428
Canada Canada
HIC Global Solutions INC
43 Lafferty Lane, Richmond Hill, L4C 3N8, CA +1(262) 310-7818