Agentforce Platform | Send Email with Verification Code

Send a verification code to the customer’s email to verify their identity. The action requires the customer’s username or email as input. If the provided email is valid, a verification code is sent to the customer.

Required Editions

Available in: Lightning Experience
Available in: Enterprise, Performance, Unlimited, and Developer Editions with Foundations, or Agentforce 1 or Einstein 1 Editions
User Permissions Needed  
See Common User Access for Standard Agent Actions.

Action Details

API Name SendAuthenticationEmail
Reference Action Type Flow
Reference Action Send Verification Code
Does this action execute one or more prompt templates? No

Considerations and Guidelines

If the verification code isn’t received, confirm that the email address or username is correct and retry the process. The one-time passcode (OTP) remains valid for 5 minutes. If the code isn’t received within this period, initiate a new request.

To use this action with the Verify Customer action, map the outputs of the Send Email with Verification Code action to variables. Then assign the variables to the corresponding Verify Customer action inputs. Learn more in Control Access to Subagents and Actions with the Customer Verification Subagent.