What is Prompt Builder and when do you use a prompt template instead of letting the agent write freely?
Your confidence:Not rated
Model answer
- Prompt templates with grounding from merge fields, Flow, Apex, data graphs and retrievers; model selection; Trust Layer.
- Types: sales email, field generation, record summary, flex.
- Used in Lightning, Flow, Apex and as agent actions.
Use a template when output must follow a structure (case summary, compliant email), needs specific grounding, must be reused outside the agent, or needs approval and versioning.
โ Key points to hit
โ Red-flag answers
- Long free-text instructions instead of templates for structured outputs
โช Follow-ups
How do you version prompts?
Template versions activated after tests against representative records.
Can flows call templates?
Yes, as actions in Flow; Apex can too.