The Send Phone Message trigger allows you to execute code when using SMS/Voice as a factor for Multi-factor Authentication (MFA). When using a custom provider to send the messages, this flow’sDocumentation Index
Fetch the complete documentation index at: https://auth0-feat-ionic-capacitor-quickstart-modernization.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
send-phone-message trigger is required to configure your custom provider.

Triggers
Send Phone Message
Thesend-phone-message trigger will run for the enrollment process and the challenge process (event.message_options.action). It will also run for the voice message type when using the New experience for (event.message_options.message_type === 'voice').
References
- Event object: Provides contextual information about the message to be sent and the user to be challenged or enrolled.
- API object: Provides methods for changing the behavior of the flow.
Common use cases
Use a custom SMS provider
For this Action to execute properly, the Action must contain secrets named
AWS_REGION, AWS_ACCESS_KEY_ID, and AWS_SECRET_ACCESS_KEY, and must have a dependency on the aws-sdk NPM package.