Posts

Launch Salesforce Flow From Apex Class with LWC.

 Hello  Trailblazers ,                In this Blog, we are going to learn how to Launch a Flow from an Apex class. I am using Lightning Web Component (LWC) as User Interface. Basically I have created three input fields and button as well , after clicking 'Submit' button it will fire a Auto Launched flow and that flow will create a Contact record and send an Email with these Three input field data to given Email address. HTML CODE :  In this component we have Three input fields with onchange event. < template > < lightning-card title = "Personal Information" icon-name = "action:info" > < lightning-input name = "firstName" type = "text" placeholder = "Enter First Name..." onchange = {handleChange} > </ lightning-input > < br /> < lightning-input ...