# User Action and Reason Settings

Reference for the fields on the User Action and Reason forms in the Admin UI.

> For the index of this section of the site, see [llms.txt](https://fusionauth.io/docs/llms.txt)

The Admin UI manages User Actions and Reasons on Settings -> User Actions . For how User Actions work, see [User Actions](https://fusionauth.io/docs/users/user-actions.md). To manage the same objects with the API, see the [User Actions API](https://fusionauth.io/docs/apis/user-actions.md) and the [User Action Reasons API](https://fusionauth.io/docs/apis/user-action-reasons.md).

## User Action Form

`Id`

*   Optional

A 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.

`Name`

*   Required

A unique name for the User Action.

`Webhook transaction`

*   Required

How 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-based`

*   Optional
*   Defaults to `false`

Whether 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 action`

*   Optional
*   Defaults to `false`

Whether 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 ends`

*   Optional
*   Defaults to `false`

Whether 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 taken`

*   Optional
*   Defaults to `false`

Whether 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 name`

*   Required

The 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](https://fusionauth.io/docs/users/user-actions.md#name-options-for-code).

`Localizations`

*   Optional

Translations of the Option, each with a locale and a text. FusionAuth picks the translation from the preferred languages of the Actionee.

### Localization Tab

`Locale`

*   Optional

The language of a translated User Action name.

`Text`

*   Optional

The User Action name in that language. Emails and webhook events can use the localized name.

### Email Tab

`Email user when action is taken`

*   Optional
*   Defaults to `false`

Whether FusionAuth emails the Actionee with the templates below.

`Include email info in webhook event`

*   Optional
*   Defaults to `false`

Whether the webhook event includes information about the email that FusionAuth sends.

`Start template`

*   Optional

The 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 template`

*   Optional

The 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 template`

*   Optional

The 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 template`

*   Optional

The 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.

`Id`

*   Optional

A UUID for the Reason. When you leave out the Id, FusionAuth generates one. You can't change the Id after you create the Reason.

`Text`

*   Required

The text that administrators see when they apply a User Action. The webhook event includes the text as **`reason`** when an administrator picks the Reason.

`Code`

*   Required

A short code for software. The webhook event includes the code as **`reasonCode`**.

`Localization`

*   Optional

Translations of the Reason text, each with a locale and a text.

Related

[Users Manage Subscriptions and Surveys With User Actions Learn how to use User Actions to manage a newspaper subscription and a customer survey, with emails and webhooks. user actionsemail templatesprevent login](https://fusionauth.io/docs/users/user-actions/tutorial.md)

[APIs Form API Learn about the APIs for creating, retrieving, updating and deleting forms. form fields](https://fusionauth.io/docs/apis/custom-forms/forms.md)

[Authentication SAML v2 Identity Provider Settings Reference for the form fields and Integration Details of the SAML v2 and SAML v2 IdP Initiated Identity Providers. form fields](https://fusionauth.io/docs/authentication/identity-providers/samlv2-settings.md)

[Concepts Tenant Identity Settings Reference for the fields on the Identities tab of the Tenant form in the Admin UI, including email and phone verification and template settings. email templates](https://fusionauth.io/docs/concepts/types/tenants/identities.md)
---

## Other pages in User Actions

> For the full index of this section, see [Users](https://fusionauth.io/docs/llms-users.txt).

- [User Actions](https://fusionauth.io/docs/users/user-actions.md): Learn how User Actions record an event or a state on a user, such as a subscription, a survey response, or a login ban.
- [Manage Subscriptions and Surveys With User Actions](https://fusionauth.io/docs/users/user-actions/tutorial.md): Learn how to use User Actions to manage a newspaper subscription and a customer survey, with emails and webhooks.
