# Prompt Builder use cases and solution fit

*Agentforce Specialist Study Guide · Prompt Engineering · Last updated November 6, 2026 · https://www.certifyforce.com/study-guide/agentforce-specialist/prompt-engineering/prompt-builder-use-cases-and-solution-fit*

When a requirement calls for a Prompt Builder template (generated language grounded in Salesforce data that admins can tune) and when it calls for a formula, roll-up summary, flow or validation rule because the result must be exact, repeatable and auditable.

- Certification: Salesforce Agentforce Specialist
- Exam section: Prompt Engineering
- Study guide: https://www.certifyforce.com/study-guide/agentforce-specialist

**Official exam objective:**

> Given business requirements, identify when it's appropriate to use Prompt Builder.

## What the exam expects

- Distinguish generated language from an exact calculation, validation rule or data replication job.
- Choose reusable CRM-grounded templates when admins need to adjust the wording.
- Match record fields, email drafting and automation callers to suitable template families.
- Explain why grounding and better instructions do not guarantee identical LLM output.
- Key terms: **prompt template** (reusable instructions with data placeholders); **grounding** (adding relevant data); **resolution** (substituting that data); **deterministic** (identical inputs produce identical results); **entry point** (where a template is invoked).

## Key facts

| Fact | Detail | Source |
|---|---|---|
| Prompt Builder purpose | Manage reusable instructions grounded in CRM data | [Prompt Builder](https://help.salesforce.com/s/articleView?id=ai.prompt_builder_about.htm&type=5) |
| Repeatability | The same prompt can produce different responses on different calls | [Prompt Builder Key Concepts](https://help.salesforce.com/s/articleView?id=ai.prompt_builder_key_concepts.htm&language=en_US&type=5) |
| Availability | Lightning Experience; Enterprise, Performance or Unlimited with a listed Einstein/Agentforce add-on or Agentforce Foundations | [Create a Prompt Template](https://help.salesforce.com/s/articleView?id=ai.prompt_builder_build_template.htm&language=en_US&type=5) |
| Merge-data access | Governed by the executing user's permissions | [Run-time Execution](https://help.salesforce.com/s/articleView?id=ai.prompt_builder_runtime.htm&language=en_US&type=5) |
| Field generation | Populates supported writable text fields through the configured record-page experience | [Build a Field Generation Prompt Template](https://trailhead.salesforce.com/content/learn/modules/prompt-builder-basics/build-a-field-generation-prompt-template) |
| Flex | No predefined entry point; supports different consuming applications | [Flex Quick Start](https://trailhead.salesforce.com/content/learn/projects/quick-start-create-prompt-builder-flex-template/build-a-flex-prompt-template) |
| General invocation | Compatible templates, including Field Generation, support invocable action, Connect REST API or Connect in Apex | [Integrate Prompt Templates](https://help.salesforce.com/s/articleView?id=ai.prompt_builder_integrate.htm&language=en_US&type=5) |
| Workspace copying | Prompt, Resolved Prompt and Response each have Copy controls; rich-text response copies as JSON | [Get to Know Prompt Builder](https://help.salesforce.com/s/articleView?id=ai.prompt_builder_get_to_know.htm&type=5) |

## Check yourself

- Why must a handoff specify which workspace section was copied?
- When a generated response contains rich text, what format does its Copy control produce?
- When should you change the Step-by-Step Layout for an output-only review?

## Sources

- [Prompt Builder](https://help.salesforce.com/s/articleView?id=ai.prompt_builder_about.htm&type=5)
- [Prompt Builder Key Concepts](https://help.salesforce.com/s/articleView?id=ai.prompt_builder_key_concepts.htm&language=en_US&type=5)
- [Maximizing Generative AI with Effective Prompts](https://trailhead.salesforce.com/content/learn/modules/prompt-builder-basics/get-to-know-prompt-builder)
- [Create a Prompt Template](https://help.salesforce.com/s/articleView?id=ai.prompt_builder_build_template.htm&language=en_US&type=5)
- [Prompt Template Run-time Execution](https://help.salesforce.com/s/articleView?id=ai.prompt_builder_runtime.htm&language=en_US&type=5)
- [Troubleshoot Prompt Builder](https://help.salesforce.com/s/articleView?id=ai.prompt_builder_troubleshoot.htm&language=en_US&type=5)
- [Prompt Template Types](https://help.salesforce.com/s/articleView?id=ai.prompt_builder_standard_template_types.htm&language=en_US&type=5)
- [Integrate Prompt Templates with Salesforce Features](https://help.salesforce.com/s/articleView?id=ai.prompt_builder_integrate.htm&language=en_US&type=5)
- [Build a Field Generation Prompt Template](https://trailhead.salesforce.com/content/learn/modules/prompt-builder-basics/build-a-field-generation-prompt-template)
- [Create a Flex Prompt Template with Einstein AI](https://trailhead.salesforce.com/content/learn/projects/quick-start-create-prompt-builder-flex-template/build-a-flex-prompt-template)
- [Einstein Trust Layer: Designed for Trust](https://help.salesforce.com/s/articleView?id=ai.generative_ai_trust_arch.htm&type=5)
- [Roll-Up Summary Field](https://help.salesforce.com/s/articleView?id=platform.fields_about_roll_up_summary_fields.htm&type=5)
- [Build a Formula Field](https://help.salesforce.com/s/articleView?id=platform.customize_formulas.htm&type=5)
- [Get to Know Prompt Builder](https://help.salesforce.com/s/articleView?id=ai.prompt_builder_get_to_know.htm&type=5)
- [Invoke Prompt Templates from Flow, Apex, or the REST API](https://developer.salesforce.com/blogs/2024/04/invoke-prompt-templates-from-flow-apex-or-the-rest-api)
- [Flow Core Action: Prompt Template Actions](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_actions_generate_prompt_response.htm&type=5&language=en_US)
- [EinsteinLLM Class](https://developer.salesforce.com/docs/platform/apex-ref/references/apex-ref/apex-connectapi-einsteinllm-static-methods.html)

## About the full unit

The "Core concepts", "Exam traps" and "Worked scenario" sections of this unit and reading progress are included in the full study guide. The separate practice exams option includes the reviewed question bank and timed mock exams. The bundle includes both where available. See [current options and prices](https://www.certifyforce.com/pricing).
