AI-201 · Question #177
Universal Containers (UC) is building a Flex prompt template. UC needs to use data returned by the flow in the prompt template. Which flow element should UC use?
The correct answer is C. Add Flow Instructions. In Salesforce Flex prompt templates, the 'Add Flow Instructions' element is the specific building block used to connect a flow and incorporate the data or output variables that the flow returns back into the prompt. This element bridges the flow execution context with the prompt
Question
Universal Containers (UC) is building a Flex prompt template. UC needs to use data returned by the flow in the prompt template. Which flow element should UC use?
Options
- AAdd Flex Instructions
- BAdd Prompt Instructions
- CAdd Flow Instructions
How the community answered
(37 responses)- A5% (2)
- B3% (1)
- C92% (34)
Explanation
In Salesforce Flex prompt templates, the 'Add Flow Instructions' element is the specific building block used to connect a flow and incorporate the data or output variables that the flow returns back into the prompt. This element bridges the flow execution context with the prompt template, allowing dynamic, flow-generated data to be injected into the prompt at runtime. 'Add Flex Instructions' (Option A) is a general instruction block for free-form text, and 'Add Prompt Instructions' (Option B) is not a recognized Flex template element for consuming flow output. The 'Add Flow Instructions' element is purpose-built for exactly this flow-to-prompt data-passing use case.
Topics
Community Discussion
No community discussion yet for this question.