nerdexam
Salesforce

PDI · Question #36

A Salesforce Administrator used Flow Builder to create a flow named `'accountOnboarding''. The flow must be used inside an Aura component. Which tag should a developer use to display the flow in the…

The correct answer is C. Lightning:flow. To embed a Salesforce Flow into an Aura component, the standard Salesforce lightning:flow component is used, with the flowApiName attribute specifying the flow to display.

Submitted by minji_kr· Apr 18, 2026User Interface

Question

A Salesforce Administrator used Flow Builder to create a flow named `'accountOnboarding''. The flow must be used inside an Aura component. Which tag should a developer use to display the flow in the component?

Options

  • ALightning-flow
  • BAura:flow
  • CLightning:flow
  • DAura:flow

How the community answered

(19 responses)
  • A
    5% (1)
  • C
    95% (18)

Why each option

To embed a Salesforce Flow into an Aura component, the standard Salesforce `lightning:flow` component is used, with the `flowApiName` attribute specifying the flow to display.

ALightning-flow

`lightning-flow` with a hyphenated tag name typically indicates a Lightning Web Component (LWC) syntax, not an Aura component.

BAura:flow

`Aura:flow` is not a standard component provided by the Salesforce platform for embedding flows.

CLightning:flowCorrect

The `lightning:flow` component is the correct standard Aura component to embed a Salesforce Flow into an Aura component, requiring the `flowApiName` attribute to specify which flow to display.

DAura:flow

`Aura:flow` is a duplicate of B and is also incorrect as it is not a standard component for embedding flows.

Concept tested: Embedding Flows in Aura Components

Source: https://developer.salesforce.com/docs/component-library/bundle/lightning:flow/documentation

Topics

#Aura Components#Flow Integration#Lightning Flow Component

Community Discussion

No community discussion yet for this question.

Full PDI Practice