nerdexam
Salesforce

AI-201 · Question #107

An Agentforce needs to create a Sales Email with a custom prompt template. They need to ground on the following data. Opportunity Products Events near the customer Tone and voice examples How should t

The correct answer is A. Call prompt initiated flow to fetch and ground the required data.. When the data needed to ground a prompt is not directly available as standard merge fields (e.g., geographically filtered Events, related Opportunity Products, or dynamic tone examples), a prompt-initiated Flow is the recommended approach. The Flow fetches, transforms, and return

AI Features for Service (e.g., Einstein Bots, Next Best Action)

Question

An Agentforce needs to create a Sales Email with a custom prompt template. They need to ground on the following data. Opportunity Products Events near the customer Tone and voice examples How should the Agentforce Specialist obtain related items?

Options

  • ACall prompt initiated flow to fetch and ground the required data.
  • BCreate a flex template that takes the records in question as inputs.
  • CUtilize a standard email template and manually insert the required data fields.

How the community answered

(33 responses)
  • A
    82% (27)
  • B
    6% (2)
  • C
    12% (4)

Explanation

When the data needed to ground a prompt is not directly available as standard merge fields (e.g., geographically filtered Events, related Opportunity Products, or dynamic tone examples), a prompt-initiated Flow is the recommended approach. The Flow fetches, transforms, and returns the required data as variables that can then be injected into the prompt template. A flex template (B) works for structured record inputs but lacks the orchestration logic needed for complex multi-source grounding. Using a standard template with manual insertion (C) eliminates automation entirely.

Topics

#AI Prompt Templates#Data Grounding#Prompt Initiated Flows#AI-powered Content Generation

Community Discussion

No community discussion yet for this question.

Full AI-201 Practice