User Action and Reason Settings
On this page
The Admin UI manages User Actions and Reasons on Settings -> User Actions . For how User Actions work, see User Actions. To manage the same objects with the API, see the User Actions API and the User Action Reasons API.
User Action Form#
IdA UUID for the User Action. When you leave out the Id, FusionAuth generates one. You can't change the Id after you create the User Action.
NameA unique name for the User Action.
Webhook transactionHow many webhooks must succeed before FusionAuth commits the User Action instance. The values are:
None- No Webhooks are required to succeed for the FusionAuth transaction to be committed.Any- Only a single Webhook is required to succeed for the FusionAuth transaction to be committed.SimpleMajority- A simple majority (50% or more) of Webhooks are required to succeed for the FusionAuth transaction to be committed.SuperMajority- A super majority (2/3 or more) of Webhooks are required to succeed for the FusionAuth transaction to be committed.AbsoluteMajority- Every Webhook must succeed for the FusionAuth transaction to be committed.
Make action time-basedWhether the User Action is temporal. A temporal User Action has a duration, and FusionAuth starts and ends each instance. A temporal User Action can't have Options.
Prevent login during actionWhether the user can't log in while an instance of the User Action is in effect. The field appears when Make action time-based is on.
Send event when action endsWhether FusionAuth calls webhooks when an instance of the User Action ends. The field appears when Make action time-based is on.
Notify users when action is takenWhether the webhook event includes a notification flag, notifyUser. FusionAuth doesn't contact the user. Your webhook target reads the flag and notifies the user.
Options Tab#
Options are the choices an administrator can pick when applying an instantaneous User Action, such as the answers to a survey. FusionAuth includes the chosen Option, and the localized Option, in the webhook event and in the email template.
Option nameThe name of the Option, and the default text when no localization matches. Code that applies the User Action sends this name in the option field, so keep the name stable. For more information, see Name Options for Code.
LocalizationsTranslations of the Option, each with a locale and a text. FusionAuth picks the translation from the preferred languages of the Actionee.
Localization Tab#
LocaleThe language of a translated User Action name.
TextThe User Action name in that language. Emails and webhook events can use the localized name.
Email Tab#
Email user when action is takenWhether FusionAuth emails the Actionee with the templates below.
Include email info in webhook eventWhether the webhook event includes information about the email that FusionAuth sends.
Start templateThe email template for a new instance. For a temporal User Action, FusionAuth sends the email when the instance starts. Required when Email user when action is taken is on.
Modify templateThe email template for a modified instance of a temporal User Action. Required when Email user when action is taken is on for a temporal User Action.
Cancel templateThe email template for an instance that an administrator cancels before the instance ends. Required when Email user when action is taken is on for a temporal User Action.
End templateThe email template for an instance that ends. Required when Email user when action is taken is on for a temporal User Action.
Reason Form#
To manage Reasons, click Reasons on the User Actions page.
IdA UUID for the Reason. When you leave out the Id, FusionAuth generates one. You can't change the Id after you create the Reason.
TextThe text that administrators see when they apply a User Action. The webhook event includes the text as reason when an administrator picks the Reason.
CodeA short code for software. The webhook event includes the code as reasonCode.
LocalizationTranslations of the Reason text, each with a locale and a text.
Related
Learn how to use User Actions to manage a newspaper subscription and a customer survey, with emails and webhooks.
Learn about the APIs for creating, retrieving, updating and deleting forms.
Reference for the form fields and Integration Details of the SAML v2 and SAML v2 IdP Initiated Identity Providers.
Reference for the fields on the Identities tab of the Tenant form in the Admin UI, including email and phone verification and template settings.