Einstein Copilot & Prompt Builder Flow Overview: A Visual Guide

Are you finding it difficult to wrap your head around how Einstein Copilot & Prompt Builder work together within Salesforce? I certainly did, which is why I created this post.

This visual guide will walk you through the flow, making it easy to grasp how these components integrate to bring powerful automation and AI-driven capabilities to your Salesforce Org.

Einstein Copilot & Prompt Builder Flow Overview - An animated Visual Guide

1. Einstein Copilot: Your AI Assistant

Einstein Copilot is a conversational interface embedded within Salesforce, allowing users to interact in natural language. It intelligently processes users’ requests, executing tasks seamlessly to boost productivity across your Salesforce environment.

Einstein Copilot Chat Interface

For more information, please refer to the Salesforce help article – What’s Einstein Copilot?

2. Copilot Actions: The Power Behind the Assistant

When a request is made to Einstein Copilot, it evaluates which action to trigger to fulfill that request. There are two main types of Copilot Actions:

  • Standard Actions: Pre-configured actions that automate common tasks with no additional setup or coding required.
  • Custom Actions: Tailored actions that you can create to meet specific business needs, extending the capabilities of Einstein Copilot.

For instance, a standard action might be used to send a meeting request, while a custom action could be created to generate personalized sales proposals.

Einstein Copilot Standard & Custom Actions

For more information, please refer to the Salesforce help articles – Standard Copilot Action Reference

3. Copilot Custom Action Types: Flexibility and Customization

For more complex requirements, Custom Actions come into play. You can create three types of custom actions:

  1. Apex Actions: Utilize Apex code for complex logic and integrations.
  2. Flow Actions: Leverage Salesforce Flows for process automation and user interactions.
  3. Prompt Template Actions: Generate dynamic responses or trigger specific actions based on user input.
Einstein Copilot Custom Action Types

For more information, please refer to the Salesforce help article – Extend Your Copilot with Custom Actions

4. Prompt Entry Points: Access AI from Anywhere

Prompt Templates can be triggered not only from within Einstein Copilot Custom Action but also from other Salesforce components. This flexibility allows you to integrate AI capabilities into various touchpoints like:

  1. Einstein Copilot Custom Action
  2. Salesforce Flow
  3. Apex
  4. Rest API
  5. Record Page
  6. Email Composer

However, not all prompt templates are compatible with every entry point. Refer to the diagram at the top to see which combinations are available.

5. Prompt Template Types: Shaping AI Responses

In generative AI, a prompt is the input or set of instructions given to the AI to generate a response. The clarity and quality of the prompt significantly impact the AI’s output.

Salesforce takes this a step further with Prompt Templates, enabling you to predefine prompts for specific use cases and make it context-aware with data stored in Salesforce. These templates ensure consistent, high-quality, accurate responses tailored to your needs.

Salesforce offers four types of Prompt Templates:

  1. Sales Email Prompt Template: Generate personalized, context aware emails based on data stored in Salesforce.
  2. Field Generation Prompt Template: Generate values for fields (e.g. description, summary etc.) based on data stored in Salesforce.
  3. Record Summary Prompt Template: Generate summary of a record based on field values and related data stored in Salesforce.
  4. Flex Prompt Template: Create custom prompt templates using data stored in multiple objects in Salesforce.
Prompt Template Types

For more information, please refer to the Salesforce help article – Prompt Template Types

6. Input Merge Fields: Bringing Context to AI

To make your prompts contextually relevant, you can enrich them with Salesforce data through merge fields. There are several ways to incorporate merge fields into your Prompt Templates:

  1. Record Merge Fields: Use data from standard/custom fields.
  2. Related List Merge Fields: Include data from related lists.
  3. Flow Merge Fields: Retrieve and insert data using Flows.
  4. Apex Merge Fields: Write Apex code for complex data gathering.
  5. Data Cloud DMO Merge Fields: Utilize data from Data Cloud Model Objects.
  6. Record Snapshot Merge Fields: Add data from Record Snapshots.
Prompt Builder Input Merge Fields

For more information, please refer to the Salesforce help article – Ground Prompt Templates with Salesforce Resources

Conclusion

The flow of Einstein Copilot & Prompt Builder is designed to be flexible, powerful, and seamlessly integrated into your existing Salesforce workflows. By mastering each component, you can fully leverage the power of Generative AI to drive productivity and innovation in your Salesforce implementation.

Introducing Mastering Einstein Copilot & Prompt Builder

We’ve developed detailed, step-by-step guides with comprehensive screenshots on how to configure, test, and use each component illustrated in the diagram. By subscribing to our “All Access” Pass, you’ll gain access to downloadable PDF versions of these guides, participate in our chat community, ask questions, and join our weekly live office hours.

Scroll to Top
Introducing All Access Pass