nerdexam
Salesforce

AI-201 · Question #297

Universal Containers wants to use an existing prompt template inside Flow as part of automation.

The correct answer is B. Einstein for Flow. Einstein for Flow provides native Flow actions that invoke existing prompt templates directly within a Salesforce Flow, enabling no-code AI integration into automation processes.

AI Features for Service (e.g., Einstein Bots, Next Best Action)

Question

Universal Containers wants to use an existing prompt template inside Flow as part of automation.

Options

  • AInvocable Apex
  • BEinstein for Flow
  • CFlow action

How the community answered

(49 responses)
  • A
    16% (8)
  • B
    76% (37)
  • C
    8% (4)

Why each option

Einstein for Flow provides native Flow actions that invoke existing prompt templates directly within a Salesforce Flow, enabling no-code AI integration into automation processes.

AInvocable Apex

Invocable Apex can invoke external logic but requires custom development and bypasses the native, no-code Einstein for Flow integration that Salesforce provides specifically for invoking prompt templates within flows.

BEinstein for FlowCorrect

Einstein for Flow exposes dedicated Flow actions specifically designed to call prompt templates by name, making it the officially supported and recommended method for integrating prompt template outputs into Flow-based automation. This approach requires no custom Apex code and is the pattern Salesforce documents for this use case.

CFlow action

'Flow action' is a broad category of flow elements and is not a specific component; the correct named tool for invoking prompt templates inside Flow is the Einstein for Flow action.

Concept tested: Invoking prompt templates within Salesforce Flow using Einstein for Flow

Source: https://help.salesforce.com/s/articleView?id=sf.einstein_for_flow.htm&type=5

Topics

#Einstein for Flow#Prompt Templates#Generative AI#Flow Automation

Community Discussion

No community discussion yet for this question.

Full AI-201 Practice