Using Messaging Templates
This doc will show you how to use email, voice, and SMS templates for OTP, Enchanted Link, and Magic Link authentication. We will use OTP as an example, but the steps are the same for each of the authentication methods.
Creating a Messaging Template
Before utilizing a template for your authentication message, you must first create it following the steps in our messaging templates guide
Using a Custom Template in Flows
Within a flow, you can edit any authentication action that involves messaging to use a custom template instead of the default message we provide.
- Open your flow in the Flow Editor
- Select the messaging action
- Choose your custom template from the dropdown
Using Template Options (Dynamic Keys)
Template options allow you to pass dynamic data to your templates. To learn how to set and use these values, refer to our Template Options Doc.
Was this helpful?