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. 👇

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

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. 👇

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. 👇

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. 👇

Now, Create a new Prompt flow.

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

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

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

Step 7:

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

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

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.

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

(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.👇

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

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.

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.

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!

Share This Blog
Related Articles

Salesforce CPQ (Configure, Price, Quote) is a powerful tool that enables businesses to streamline their quoting process by providing advanced configuration options. Among its many features, Multi-Dimensional Quoting (MDQ) stands out as a powerful capability that allows sales teams to create more detailed and flexible quotes for complex products. In this blog, we’ll dive into […]

Read More
Dynamic Search Filters in Salesforce CPQ

Salesforce CPQ (Configure, Price, Quote) is a powerful tool that allows sales teams to generate quotes with speed and accuracy. One of the key features that makes CPQ so flexible is its dynamic search filter capability. In this blog, we’ll explore how you can create dynamic search filters in Salesforce CPQ to make your quoting […]

Read More
How to Create Quote Templates Customization Methods

The objective after completing a quote is usually to produce a precise and expert quote document for clients. However, without the proper procedures in place, quoting can be difficult, error-prone, and time-consuming. Salesforce CPQ (Configure, Price, Quote) streamlines the process and improves quote accuracy by assisting with the setup and administration of quotation papers. By […]

Read More
Boost Performance with a Robust Trigger Framework in Salesforce

Boost Performance with a Robust Trigger Framework in Salesforce If you want to make sure of scalability and performance in the Salesforce development, managing Apex triggers is a must. With a trigger framework, you get a structured approach to organizing and maintaining trigger logic. This way, developers can follow the best practices while maintaining the […]

Read More

When it comes to Salesforce development, efficiently managing and deploying metadata is important to maintain streamlined operations. With the help of Unlocked Package, you can easily achieve this. It is specially designed for business’s internal use and allows businesses to develop and manage modular applications. This blog will walk you through the importance of Unlocked […]

Read More
How Salesforce Data Cloud Streamlines Data Management

The Data Cloud integrates your company’s data onto Salesforce’s Einstein 1 Platform. It provides each team with a comprehensive customer view for a better experience. The Data Cloud consolidates disparate data sources into a unified model, facilitating easy access and comprehension. It encompasses various data types such as web engagement and more from both internal […]

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