02Chapter 2: Prompt templates and template typesThis chapter assumes you know the basic Salesforce data model (objects, fields, relationships) and can find your way around Setup and permission sets. You should also know what a large language model prompt is. Flow and Apex come later, so you don't need them yet.3 min read
03Chapter 3: Template inputs: the record behind the promptThis chapter assumes you know the Salesforce data model (objects, fields, relationships), can navigate Setup and permission sets, and know what an LLM prompt is. You do not need to build a Flow or write Apex yet.3 min read
04Chapter 4: Inserting record fields with merge fieldsThis chapter assumes you know the Salesforce data model (objects, fields, relationships), can find Prompt Builder in Setup, and understand what a prompt to a large language model is. Flow and Apex come in later chapters.3 min read
05Chapter 5: Writing instructions that use grounded data wellMerge fields supply the facts. The instructions around them decide whether the model uses those facts well. This chapter covers how to write that surrounding text. It assumes you can create a prompt template in Prompt Builder and insert merge fields such as {!$Input:Case.Subject}.3 min read
06Chapter 6: Pulling in related recordsA prompt that only knows the fields of one record often lacks context. A case summary improves when the model also sees the customer's account and the contact who raised the case. This chapter shows how to reach those related records from a template with relationship fields.4 min read
07Chapter 7: Grounding with a FlowThis chapter assumes you can build an autolaunched flow in Flow Builder. It also assumes you know how merge fields insert record values into a template, which the earlier chapters covered.3 min read
08Chapter 8: Grounding with ApexThis chapter assumes you know basic Apex syntax, how a Flow resource feeds a prompt template, and how template inputs work. You will write an invocable Apex method that returns grounding text, then see how a template calls it.3 min read
09Chapter 9: Choosing between merge fields, Flow, and ApexThis chapter assumes you can write a prompt template with merge fields, have built a simple autolaunched Flow, and can read Apex. Here you will learn how to pick the right grounding resource for a given need.3 min read
10Chapter 10: Previewing and testing the resolved promptThis chapter assumes you can build a prompt template with record merge fields. It also assumes you know the basics of Flow Builder and read Apex comfortably. Here you will check what the model actually receives before anyone uses the template.4 min read
11Chapter 11: Permissions, data quality, and size limitsThis chapter assumes you can build a prompt template with merge fields, a Flow resource, and an Apex resource, and that you know Salesforce permission sets, field-level security, and sharing. Grounded output is only as good as the data that reaches the model. Three things decide that: who is running4 min read