Record field merge fields versus Record Snapshots
Key Takeaway
Record merge fields pull the fields you pick one by one. A Record Snapshot pulls the data on the page layout of the user who runs the prompt (not the Dynamic Form) through one resource.
Grounding gives the LLM context from your own accurate, up-to-date Salesforce data, so Prompt Builder can produce personalized responses. Record merge fields and Record Snapshots are two ways to ground a prompt template with record data.
The process both techniques follow
Record merge fields and Record Snapshots follow the same basic process:
- You write a prompt that uses Salesforce data.
- You add grounding resources to the prompt.
- When Prompt Builder generates the response, it replaces those resources with real data.