You are here:
Turn On Email Verification for Guest Users
Require guest users to verify their email address with a one-time password (OTP) before Salesforce Scheduler saves or cancels their service appointments.
Required Editions
| Available in: Lightning Experience. |
| Available in: Enterprise and Unlimited Editions |
| User Permissions Needed | |
|---|---|
| To turn on Email Verification for Guest Users: | Customize Application |
- The standard Inbound New Guest Appointment, Modify Guest Service Appointment, and Book Appointment from Invitation flows include the OTP Validation Flow subflow.
- Flows that you created from earlier versions of these templates don’t include the subflow. Add the OTP Validation Flow subflow to each of these flows. Then, set the Verification ID input of each action that saves or cancels a service appointment to the verificationId output of the subflow.
The OTP Validation Flow subflow emails the guest a 6-digit code and checks the code that the guest enters. When this setting is on, Salesforce Scheduler saves or cancels a guest user’s service appointment only if the request includes a verification ID from a session that was verified for the guest’s email address. A verified session lasts 15 minutes. When this setting is off, flows that include the subflow still ask guests for a code, but Salesforce Scheduler doesn’t check the verification ID when it saves or cancels the appointment. This setting applies only to guest users.
- From Setup, in the Quick Find box, enter Salesforce Scheduler, and then select Salesforce Scheduler Settings.
- Turn on Email Verification for Guest Users.
If a guest’s verification ID is missing or expired, or was verified for a different email address, the action that saves or cancels the appointment fails with this error: "Your email verification has expired or is invalid. Verify your email again and retry."
