02Chapter 2: What a prompt template containsA prompt template is a saved, reusable set of instructions for a large language model (LLM). It is more than a block of text. This chapter breaks a template into its parts, so you know what you are filling in when you open Prompt Builder and what each part controls.7 min read
03Chapter 3: The prompt template types at a glanceThis chapter gives you a map of the four prompt template types in Salesforce Prompt Builder. Later chapters cover each type in detail. Here you learn what separates them and which question to ask first when you start a new template.7 min read
04Chapter 4: Grounding prompts with merge fields and resourcesThis chapter explains how a prompt template gets real data from Salesforce. It covers merge fields, the other resource types, and the way the template type and input name affect the syntax. You should already know objects, records, fields and relationships. You should also know how to open Prompt Bu5 min read
05Chapter 5: Sales Email templatesThis chapter assumes you know Salesforce objects, records, fields and relationships. You should be comfortable in Lightning Experience and Setup. You should also know the basics of prompts and generative AI. Einstein generative AI must be enabled in your org, because Prompt Builder depends on it. Th7 min read
06Chapter 6: Field Generation templatesThis chapter covers the Field Generation template type in Prompt Builder. It assumes you know what objects, records, and fields are, that you can work in Lightning Experience and Setup, and that Einstein generative AI is enabled in your org. It also assumes you have seen the parts of a prompt templa6 min read
07Chapter 7: Record Summary templatesThis chapter covers the Record Summary template type in Salesforce Prompt Builder. It explains what the type is for, how its input works, how to ground it, and where it goes wrong. It assumes you know what a prompt template is and how merge fields ground a prompt (covered in earlier chapters). It al7 min read
08Chapter 8: Flex templates and flexible inputsFlex templates are the prompt template type that is not tied to one object or one place in the user interface. You define the inputs yourself and decide where the output goes. This chapter covers how Flex differs from the object-bound types, how inputs and merge fields work, and how a Flex template 7 min read
09Chapter 9: Choosing the right template type for a scenarioYou have met the four prompt template types in Prompt Builder: Sales Email, Field Generation, Record Summary and Flex. This chapter is about the decision. Given a business request, which type do you create, and how do you notice early that you picked wrong?6 min read
10Chapter 10: The Einstein Trust Layer and model selectionThis chapter assumes you know how a prompt template is built and how merge fields ground it in record data. It also assumes Einstein generative AI is enabled in your org. It covers what happens to a template's prompt between the moment it is resolved and the moment the answer comes back. It also cov6 min read
11Chapter 11: Previewing, testing and versioning a templateThis chapter covers how to check a prompt template before people use it, and how to change it afterward without breaking what already works. It assumes you can already build a template of one type (Sales Email, Field Generation, Record Summary or Flex) and add merge fields to it. It also assumes you6 min read
12Chapter 12: Activating templates and invoking them from SalesforceThis chapter covers what happens after you finish writing and testing a template: you activate a version, and then something in Salesforce calls it. It assumes you know the four template types (Sales Email, Field Generation, Record Summary, Flex), merge fields, and how previewing works. It also assu6 min read
13Chapter 13: Prompt design best practices and common pitfallsThis chapter assumes you have read the earlier chapters on template anatomy, grounding with merge fields, and the four template types (Sales Email, Field Generation, Record Summary and Flex). You should know how a template is previewed, versioned and activated. Here the focus is on writing prompts t6 min read