Show answerHide answer
Correct answer: B Create a prompt template-triggered flow to access the data from standard and custom objects.
Explanation
Explanation:To combine data from multiple unrelated objects (standard and custom) in a prompt template, Universal Containers (UC) should:
Use a Flow with Prompt Template Integration
Why? Flows can:
Query multiple unrelated objects (e.g., Opportunity, Custom_Product_Spec__c).
Transform/format data (e.g., JSON, concatenated text).
Pass the processed data to the prompt template via merge fields.
Implementation Steps:
Create an autolaunched Flow to:
1. Query records from all required objects.
2. Structure the data (e.g., combine fields into a summary).
3. Call the prompt template with the merged data.
Trigger the Flow via Quick Action or Process Builder.
Why Not the Other Options?
A. "Custom object to connect records":
Overly complex. Requires maintaining a temporary object.
C. "Flex template with resources":
Flex templates don’t directly query objects—they rely on pre-processed inputs.
D. "Record Snapshot":
Snapshots only ground data from a single record, not multiple unrelated objects.
Reference:
Salesforce Help - Flows with Prompt Templates