I'm looking for ways to expose one LWC to flow builder to drop it on a screen component. Anyone aware of any such attribute that needs to be set in LWC Meta.xml


To make the components available in flow screens, edit the lightning web component configuration file to include a target of lightning_FlowScreen. For example:

<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
  <masterLabel>Example Flow Component</masterLabel>
  <description>This lwc is available in flows.</description>

See the Winter ‘20 release notes for more information.

| improve this answer | |

As per the documentation:
LWC is not supported in Visual flows as of now!

As mentioned, you can wrap a lightning web component in an aura component, and can use the same in flows, and in many other experiences and tools where LWC is not supported!

Update: Now LWC is supported in flows from Winter' 20 updates, as the feature has been implemented.

| improve this answer | |
  • Would it not be possible if I wrap the LWC inside an aura component which I can drop in flow? Just a thought. – Ashish Sharma Mar 26 '19 at 6:23
  • @AshishSharma Yes, its possible, I had updated the answer. – Aditya Vijay Mar 26 '19 at 6:48
  • Great! Thanks!! – Ashish Sharma Mar 26 '19 at 11:03

Winter '20 Salesforce release will allow you to embed Lightning Web components to flow builder.

| improve this answer | |

LWC is not supported yet with flow in this version. See official documentation for this. You have to use Aura component for your requirement.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.