I have three flows , a main flow and two sub-flows .I need to invoke the Main flow from button in LWC component I was thinking around if we can embed main flow in LWC Component invoked from a button in another LWC component, but seems that is currently not possible in LWC any possible workaround for this ? also I would like to return to the parent LWC component once the flow and subflows finish and refresh the parent LWC component but this refresh i think I can handle later

I saw one link for similar question on LWC but the code added here seems is not supported at present and will be part of Winter 23 release

Embed a Flow in a lightning web Component

  • 2
    If you can't wait a week or two, consider the unofficialsf.com options. However, I would recommend you simply wait for Winter '23 to be available - it's literally just round the corner.
    – Phil W
    Commented Sep 30, 2022 at 14:41

1 Answer 1


Salesforce provided the lwc attribute to launch flow from LWC Launch Screen Flows With Lightning Web Components

  • Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.
    – identigral
    Commented Apr 12, 2023 at 6:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .