AGENTFORCE-SPECIALIST practice question 26 of 30

Universal Containers (UC) wants to use Flow to bring data from unified Data Cloud objects to prompt templates. Which type of flow should UC use?

Full set: 298 questions
Answer options
A: Data Cloud-triggered flow
B: Template-triggered prompt flow Correct answer
C: Unified-object linking flow
Correct Answer:
B. Template-triggered prompt flow
Explanation

To populate prompt templates with dynamic data from complex sources, such as unified Data Cloud objects, Salesforce provides a specific type of flow known as a Prompt Template Flow. This flow is invoked at runtime when the prompt template is executed. Its purpose is to fetch, process, and format the necessary data from Salesforce objects, including those from Data Cloud, and merge it into the prompt. The option "Template-triggered prompt flow" accurately describes this mechanism, where the prompt template's execution triggers the flow to retrieve the required grounding data.

Why Incorrect

A. Data Cloud-triggered flow: This flow type initiates an automation process in response to a data change event (create, update) within a Data Cloud object, not for on-demand data retrieval by a prompt template.
C. Unified-object linking flow: This is not a standard Salesforce Flow type. The process of linking and unifying objects is a core data modeling function within Data Cloud itself, not an automation handled by Flow.

References

1. Salesforce Help, "Create a Prompt Template Flow": This document explicitly states, "A prompt template flow is a specific type of flow that’s built from a template. Use a prompt template flow to get and transform data from Salesforce that you can use in your prompt templates." This confirms the existence and purpose of a special flow type for this use case.

2. Salesforce Help, "Ground a Prompt Template with Salesforce Data": This guide details the methods for bringing data into prompt templates. It specifies, "To bring in data from related objects or do more complex data lookups, use a Flow." This directly supports using a flow to fetch data for prompts.

3. Salesforce Help, "Flow and Process Types": This documentation lists the various types of flows available. It describes a "Data Cloud-Triggered Flow" as one that "Launches when data changes in a Data Cloud object," differentiating its purpose from the on-demand data retrieval needed for a prompt template.

Scroll to Top