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
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)- A82% (27)
- B6% (2)
- C12% (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
Community Discussion
No community discussion yet for this question.