AI-201 · Question #25
Universal Containers (UC) wants to make a sales proposal and directly use data from multiple unrelated objects (standard and custom) in a prompt template. How should UC accomplish this?
The correct answer is C. Create a Flex template to add resources with standard and custom objects as inputs.. A Flex Template is the correct choice because it allows you to define multiple independent resource inputs - each resource can reference a different standard or custom object - making it ideal when data from unrelated objects must all feed into a single prompt. Record templates (
Question
Universal Containers (UC) wants to make a sales proposal and directly use data from multiple unrelated objects (standard and custom) in a prompt template. How should UC accomplish this?
Options
- ACreate a prompt template passing in a special custom object that connects the records
- BCreate a prompt template-triggered flow to access the data from standard and custom objects.
- CCreate a Flex template to add resources with standard and custom objects as inputs.
- DUse a Record Snapshot to combine data from unrelated objects into a single prompt.
How the community answered
(30 responses)- A13% (4)
- B3% (1)
- C77% (23)
- D7% (2)
Explanation
A Flex Template is the correct choice because it allows you to define multiple independent resource inputs - each resource can reference a different standard or custom object - making it ideal when data from unrelated objects must all feed into a single prompt. Record templates (choices A and B) are anchored to a single base object and cannot natively pull from multiple unrelated objects without workarounds. Choice D (Record Snapshot) is not a standard Salesforce prompt template concept for this use case.
Topics
Community Discussion
No community discussion yet for this question.