top of page

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!

ree

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.



Make sure you have enabled Sender ID compliance, so that your OTP email will not fall into SPAM folder.
ree

Demo Time

ree

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



1 Comment


sforce blog
sforce blog
Sep 04, 2021

Hi Aviral, Nice to see this blog. My requirement is also same. Your package link is not working please update this.


Like

Aviral Agrawal

Principal Technical Architect

Subscribe to get all the updates.

Thanks for submitting!

Aviral Agrawal

Mail: aviralsfdc@gmail.com

bottom of page