Suggested answer

Prompt Templates are managed, versioned, and testable LLM prompt configurations stored in Salesforce. They separate prompt engineering from code and allow admins and developers to build reusable AI capabilities. Key types:

1. Flex Templates: Free-form templates used for agent instructions, system prompts, or custom generation tasks. They can merge dynamic data from Salesforce records via merge fields and template syntax. Used for defining the agent's persona and behavioural guidelines.
2. Grounding Templates (RAG): Designed to inject retrieved context (from vector search or Knowledge) into the prompt before sending to the LLM — the core mechanism of Retrieval-Augmented Generation.
3. Sales Email Templates: Pre-built template type for generating personalised prospect/customer emails using CRM data (opportunity details, contact name, company).
4. Field Generation Templates: Generate content for a specific record field — e.g., auto-populate a Case summary or Account description.
5. Record Summary Templates: Produce a natural language summary of a record's key data points. All templates support preview/testing within the Template Builder before deployment.

Practice content for interview preparation; not an official vendor answer. Verify details against current product documentation.

Community comments (0)

No comments yet.

Sign in or create a free account to add a comment. Comments are moderated before they appear.

Plain text only, 3–2000 characters. A moderator reviews every comment before it is published.