Unleash the Power of AI: The Prompt Builder as your strategic intermediary

Last February, we witnessed the launch of the innovative Prompt Builder, a cutting-edge tool within generative AI. Broadly speaking, this tool establishes seamless mediation between your prompts and the CRM’s AI, generating grounded prompts through data-based descriptions. In other words, it enables Salesforce administrators to create not only single prompts but reusable prompt templates using natural language. For example, prompt templates for sales emails or field generation prompts. Thus, it aims to streamline workflows in any organization, providing reliable AI experiences and prompts guaranteed by the Einstein Trust Layer. This is just a quick glimpse into the Prompt Builder; let’s delve into how powerful it can be.

What is the Prompt Builder?

The Prompt Builder is a specialized tool that facilitates effective communication with a Large Language Model (LLM) by creating specific and contextualized prompts.

In the context of generative AI, prompts are essential for effective communication and obtaining relevant results. Designing prompts involves creating, refining, and iterating on these prompts until precise and high-quality results are achieved. Therefore, vague or confusing prompts can generate irrelevant or biased responses.

To enhance the effectiveness of AI, it is crucial to ground prompts to reality by providing specific data to the LLM that complements its original training. This ensures personalized and relevant responses regarding organizations, products, and customers, thus avoiding generic or irrelevant content. With Salesforce’s Prompt Builder, you can create, test, review, customize, and manage prompt templates that leverage your CRM data. In turn, these templates simplify users’ daily workflows and make your organization smarter. Additionally, it ensures user data protection and the creation of trustworthy messages.

How does it work?

Before delving into how the Prompt Builder works, it’s essential to familiarize yourself with several key concepts:

  • Prompt: Detailed instructions for an LLM, optimizing results based on context, specific data, clear instructions, and constraints.
  • Response: Result generated by an LLM in response to a prompt; the more detailed the context and background, the better the result.
  • Grounding: Providing specific knowledge and context to the LLM, such as CRM data, to avoid generic responses.
  • Hallucination: Plausible but inaccurate response from the LLM, often occurring when it lacks access to factual or real-time data.
  • Toxicity: Rating responses for rude or disrespectful content, providing security in response generation.
  • Prompt Engineering: The art of skillfully constructing prompts to obtain optimal responses from an LLM. With this tool, your administrators can be prompt engineers without having to use code, just clicks and minimal instructions for AI.

With this in mind, let’s discuss the process. The Prompt Builder operates as a powerful yet straightforward tool within the Einstein 1 platform. Its functionality lies in combining prompts for artificial intelligence (AI) with specific data through an intuitive resource selector.

This process employs reusable prompt templates, which act as structured frameworks incorporating placeholders for particular details, such as customer information. By merging these placeholders with real and relevant data through grounding, the prompt template becomes fully personalized. The resulting prompt is then sent to an LLM, allowing for contextualized and accurate responses. This simplified yet efficient approach streamlines the creation of personalized prompts, securely connecting AI prompts with business data.

Salesforce identifies this process as occurring in 4 key moments:

Lifecycle of a prompt template within Salesforce

Ground with your data

Grounding allows administrators to dynamically connect prompt templates with Salesforce or Data Cloud data. This connection enables the LLM to understand the context, generating personalized responses without accessing confidential data. Methods for this connection include:

  • Merged Fields: Connect templates with object fields in Salesforce.
  • Flows: Allow access to related data, such as cases or opportunities.
  • Apex: Utilize SOQL or API to retrieve real-time data from Salesforce or other sources.

It is worth noting that confidential information remains secure within Salesforce, without being transmitted to the LLM. This is ensured through the Einstein Trust Layer’s zero-retention agreement.

Create Trusted AI Prompts Trough the Einstein Trust Layer

Create prompt templates

Once these foundations are established, administrators can use the Prompt Builder to create three different types of message templates:

  • Prompt templates for sales emails: These templates facilitate the creation of personalized emails with just one click.
  • Prompt templates for field generation: These templates allow users to fill in a field with a summary created by the LLM.
  • Flexible templates: The templates enable the creation of customized prompts that simultaneously incorporate records from multiple objects.

Regardless of the template type, administrators can add grounding to their prompts through the dropdown resource menu in the workspace. After building the template, it is activated for use.

New Prompt Template

Test and iterate prompt templates

The tool also facilitates the continuous testing and refinement of templates. Administrators can preview responses based on real data. Additionally, they can evaluate various aspects such as goal fulfillment, style and tone, toxicity, relevance, coherence, bias, and factual accuracy. This iterative adjustment process ensures accurate responses aligned with desired objectives.

It is worth noting that Salesforce is considered agnostic regarding LLMs. In fact, it offers a wide range of LLMs available from the outset to choose the most suitable one according to your prompts. Alternatively, you can also bring your own LLM (BYOM) to further contextualize the prompts with data and processes specific to your organization.

Test and iterate prompt templates

Deploy prompt templates

Regarding the implementation of prompts, administrators have full control over which users can leverage these customized tools. The activation of templates varies depending on their type: sales email templates are implemented on record pages. Additionally, field generation templates are integrated with dynamic forms. Lastly, flexible templates are invoked through various Salesforce platform tools such as flows, Apex, or Lightning web components. Anywhere you can perform an invocable action, you can use a flexible template. This approach allows for adapting the deployment of prompts according to the specific needs of your organization and usage context.

Benefits of the Prompt Builder for Your Organization

As you can see, the Prompt Builder is a simple yet powerful tool. Some of its key benefits include:

  1. Workflow Optimization: Improves efficiency by streamlining workflows through grounding and automated generation of personalized responses.
  2. Maximize AI Utilization: Allows you to harness the full potential of generative AI in Salesforce by generating suitable prompts for it.
  3. Increased Productivity: Streamlines content and response generation, increasing productivity by reducing time spent on manual tasks.
  4. Adaptation to Specific Contexts: Provides flexibility to adapt implementation according to specific usage contexts, customizing the user experience based on each organization’s needs.
  5. Message Consistency: Eliminates the need for users to write prompts, ensuring communication coherence through templates.
  6. Response Evaluation: Facilitates the evaluation of generated responses.
  7. Agile Iteration: Enables an iterative and agile approach to template refinement, adjusting prompts to obtain more accurate responses.
  8. Data Security: Ensures security by keeping confidential data within Salesforce, without transmitting it to the LLM model, ensuring zero data retention.

In summary, the Prompt Builder is presented as a revolutionary tool that, once discovered, becomes indispensable. It is transforming the way organizations utilize generative AI, unleashing its full potential and optimizing investment. If you’re looking to implement it in your company, SkyPlanner offers the optimal solution. As a certified Salesforce consultant, we have the necessary experience to accompany and advise you at every stage of the process. Don’t hesitate to contact us! Write to us at hello@theskyplanner.com.

Trusted by great companies.

From start-ups to Fortune 500s, we help businesses of all sizes get the most out of their Salesforce experience.

sp-client-Sony
sp-client-GBI
sp-client-Sabadell
sp-client-Boats
sp-client-DHL
sp-client-Norwegian
sp-client-Larkin
sp-client-Bupa
sp-client-Discovery
sp-client-Bacardi

What people are saying

Five starts

Five stars on customer satisfaction and Salesforce appexchange ratings.

"Excellent Consultants. During the training I received by the SkyPlanner team, I was lucky to better understand the powerful capabilities of Salesforce.com. They were very effective, straight-to-the-point, and with a solid knowledge of the CRM and the Force.com platform. Definitively they showed us how to streamline the business process within our company. Great group of people spreading valuable knowledge to make businesses grow. I highly recommend them."

Ramiro Allen — Chief Software Engineer @ TurboPay Limited

"Excellent partner! We have been working with SkyPlanner for almost one year now. It has been a pleasure working with their team. If it wasn't for them we would have not been able to go-live with our platform when we did. They understood our needs and were not only able to execute but guide us in our decisions. We continue using them for our on-going projects. They have a deep understanding of the overall platform. Their team is always ready, willing and able to help."

Ivan de Moya — VP Innovation Technology @ SunStreet

"SkyPlanner was professional, creative, reliable and extremely accommodating. From the onset of the project, it was clear that we had found the right partner. Our project was complex and every time we hit a roadblock, SkyPlanner was helpful in identifying and implementing a solution. Jorge Fernandez [SkyPlanner's Co-Founder & Managing Director] was our primary contact and we cannot say enough about what an asset he was in bringing our project to resolution."

Ryan Borcherds — Marketing @ Deliver Lean

"On time, on budget, great quality on every project. Whenever I get asked to recommend a Salesforce.com partner, I do not hesitate on my reply: Go with SkyPlanner. I had the privilege to have worked with many teams over the years, none have brought to the table the enthusiasm the SkyPlanner team has. This combined with their professionalism and expertise are the reasons I ONLY recommend one partner: SkyPlanner. In every project (and we have done many) they have consistently delivered on time and on budget with significantly superior quality."

Juan Meza — Strategic Business Development Director @ Sony Electronics Inc.

"Outstanding Service! Happy to have them as our partner! SkyPlanner is by far the most experienced and reliable Salesforce partner. We almost gave up on Salesforce thanks to our previous partner, fortunately we found SkyPlanner and they came to the rescue! They took their time to understand our needs and complexity of our organization. Highly talented, professional and dedicated team. I cannot stress enough how happy we are to have them as our partner and we look forward to continue building our relationship."

Nolan Pereira — Project Manager @ BLU Products

Go to top