Lightning Flows to verify Contact
Updated: May 28, 2020
Hey #AwesomeAdmins, have you ever got requirement to enable customers/ guest users to be able to login and to access some related data. Well here I am sharing something very close to it, that I used many times!
Well these are the few key ingredients that we need to build this beautiful flow! #BeABuilder
A custom field(could be Employee Id, customer Id or anything) on contact (You can use any other as well).
An Email field.
An Apex class (for OTP generation).
An awesome Lightning Flow.
Putting all ingredients all together, it will look something like this!

This flow contains some good validations (All custom) and yes you can use it as sub-flow because it will return the recordId of the particular Contact after successfully execution of Flow.
Here is the unmanaged package link - https://login.salesforce.com/packaging/installPackage.apexp?p0=04t2x000001Mtv1
Make sure you have enabled Sender ID compliance, so that your OTP email will not fall into SPAM folder.

Demo Time

Thanks for your time, and let me know how it goes!