Last Updated on January 21, 2022

To create a new flow, Go to Setup -> Quick Find Box -> Flows -> New Flow
and you can learn more about how to create flows in Salesforce
Embed Lightning Component in Flow

Also Read: How to Create a Salesforce Lightning Map Component?

If you want to use Lightning Components, you need to create Screen flow so that you can fill values in Lightning Component.
Lightning Components
You need to add the screen in the flow from the left panel, it will open the screen which has all the components like text, date, currency, and address, etc. My Flow:
Salesforce Lightning Components
From here you can add any custom lightning components and also download it from AppExchange. Here is a demo of custom Lightning Component.


<aura:component implements="lightning:availableForFlowScreens,lightning:availableForFlowActions,force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,forceCommunity:availableForAllPageTypes,force:lightningQuickAction" access="global" >
	<aura:handler name="init" value="{!this}" action="{!c.doInit}"/>
	<ui:message title="Regarding Vote" severity="info" closable="true">
			Please Click the below button to Vote.


	doInit : function(component, event, helper) {

My Flow to create a record.
Lightning Components FlowLightning Components Embed Salesforce
When started debugging the flow it will first show the component output:Lightning Components Embed

After clicking on ok, it enters to the flow.Lightning Components Output

Emizentech is one of the leading salesforce consultants offering custom salesforce solutions to businesses and organizations for a long time. So, if you have a salesforce project please get in touch with us.

Also Read: How To Relate a Contact To Multiple Accounts and Learn about Pipedrive and Salesforce Integration

With a decade of experience in eCommerce technologies and CRM solutions, Virendra has been assisting businesses across the globe to harness the capabilities of information technology by developing, maintaining, and improving clients’ IT infrastructure and applications. A leader in his own rights his teammates see him as an avid researcher and a tech evangelist. To know how the team Virendra can assist your business to adopt modern technologies to simplify business processes and enhance productivity. Let’s Talk.