Prompt Engineering20% of the exam
Prompt template lifecycle: build, preview, activate, invoke
How prompt templates are created, previewed with or without an LLM response, versioned and activated for consuming features, how flows and record pages invoke them, and how version-specific editor URLs and creation timestamps help navigate saved drafts.
Explain the process for creating, activating, and executing prompt templates.
~8 min read · 8 practice questions
What the exam expects
- Name the org prerequisites for building templates: Einstein turned on and the Prompt Template Manager permission set (or Customize Application).
- Walk through creating a template in Setup: type first, name, then the Prompt Template Workspace.
- Distinguish resolution-only Preview from Preview with Generate Response on, and explain why neither activates the template or bypasses access.
- Use versions and activation to change a live template without disrupting its users.
- Pick how an active template executes: generative field on a record page, Prompt Template flow action, invocable action or agent action.
- Key terms: Prompt Template Workspace (the editor where you write, ground and preview the prompt); resolution (replacing merge fields with real data, which Preview can inspect without an LLM call); Generate Response (the Preview setting that controls response generation); version (a saved, numbered copy of the template body, grounding and model); active version (the single version consumers run); Prompt Template action (the Flow action that runs an active template).
Key facts
Permission to build and activate
- Detail
- Prompt Template Manager (Manage + Execute Prompt Templates) or Customize Application
Where templates are created
- Detail
- Setup, Quick Find "Prompt Builder", New Prompt Template
Template description
- Detail
- Optional; shown in the Setup list of templates
Default availability
- Detail
- Not available to users until a version is activated
Active versions
- Detail
- One at a time; none active means the template is unavailable
Editing an ever-active version
- Detail
- Not possible; Save As > Save as a New Version
New version availability
- Detail
- Not available to users until activated
Preview
- Detail
- Generate Response off: resolved prompt only, no LLM call; on: also generates a response
Grounding access
- Detail
- Governed by the executing user's permissions
Flow action requirements
- Detail
- Prompt Builder enabled, Prompt Template User on the running user, an active version
Flow action output
- Detail
- Prompt Response
Sources for this section (6)
- Create a Prompt Templatehelp.salesforce.com (opens in a new tab)
- Activate and Deactivatehelp.salesforce.com (opens in a new tab)
- Use Multiple Versionshelp.salesforce.com (opens in a new tab)
- Get to Know Prompt Builderhelp.salesforce.com (opens in a new tab)
- Run-time Executionhelp.salesforce.com (opens in a new tab)
- Prompt Template Flow Actionhelp.salesforce.com (opens in a new tab)
- Why can a saved editor URL return to a particular template version?
- When does the version number become a dropdown?
- Which timing detail is shown beside saved versions?
- How does a builder open another version to work from?
The questions are free to read. Answers with their sources and self-grading are included with the pack.
Keep reading with the Agentforce Specialist pack
- Core concepts
- Exam traps
- Worked scenario
The pack includes:
- All 26 lessons of the Agentforce Specialist guide, with reading progress
- Interactive decision walks and step-by-step sequence steppers
- Practice exams purchase adds inline bank questions and topic practice (8 questions for this lesson)
- An official source cited for every claim
- An AI tutor that answers from the guide
- Choose guide-only, practice-only, or save $4 with both