Configure the Component Markup and Design Resource for a Flow Action
Make your custom Lightning web components available as flow local actions by targeting lightning__FlowAction.
Here’s sample code for a simple “Show Toast” component that sets a couple of attributes and displays a toast message on the screen.
When admins reference this component in a flow, they can pass data between the flow and the LWC component. To set an attribute using values from the flow, use the Set Input Values tab. To store an attribute’s value in a flow variable, use the Store Output Values tab.
See Also
- Component Library:
lightning:availableForFlowActionsInterface - Lightning Aura Components Dev Guide: Configure the Client-Side Controller for a Flow Local Action