---
title: Trigger a Workflow When Users Disable or Enable 2FA in GAT Flow
description: "[https://www.youtube.com/embed/AwjAAwejghw?feature=oembed&color=red&rel=0&controls=1&start=&end=&fs=0&iv_load_policy=0&autoplay=0&mute=0&modestbranding=0&cc_load_policy=1&playsinline=1](https://www.youtube.com/embed/AwjAAwejghw?feature=oembed&color=red&rel=0&controls=1&start=&end=&fs=0&iv_load_policy=0&autoplay=0&mute=0&modestbranding=0&cc_load_policy=1&playsinline=1) The GAT Flow tool is designed to reduce [Google Workspace Admin](https://workspace.google.com/) Tasks significantly. It is useful in managing user characteristics in the domain and more importantly, helps the admin achieve this in an automated manner. This is the purpose…"
url: "https://gatlabs.com/knowledge/tech-tips/trigger-a-workflow-when-users-disable-or-enable-2fa-with-gat-flow/"
updated: "2026-03-23"
category: "Users Audit & Management"
tags:
  - GAT Flow
---

# Trigger a Workflow When Users Disable or Enable 2FA in GAT Flow

[https://www.youtube.com/embed/AwjAAwejghw?feature=oembed&color=red&rel=0&controls=1&start=&end=&fs=0&iv_load_policy=0&autoplay=0&mute=0&modestbranding=0&cc_load_policy=1&playsinline=1](https://www.youtube.com/embed/AwjAAwejghw?feature=oembed&color=red&rel=0&controls=1&start=&end=&fs=0&iv_load_policy=0&autoplay=0&mute=0&modestbranding=0&cc_load_policy=1&playsinline=1)

The GAT Flow tool is designed to reduce [Google Workspace Admin](https://workspace.google.com/) Tasks significantly. It is useful in managing user characteristics in the domain and more importantly, helps the admin achieve this in an automated manner. This is the purpose of event-triggered workflows, that allow for users to be managed dynamically. In this post, we will look at the example of a workflow that will trigger when a user disables or enables 2FA.

## Creating event workflow for a user who disables 2FA

Navigate to **GAT Flow > Event Workflow** (1) and select '**+ New Event Workflow**' (2) at the top left-hand corner of the view.

![Creating a GAT Flow event workflow](https://gatlabs.com/knowledge/wp-content/uploads/2023/02/2026-03-23-11_19_26-.png)

There are 2 events available for 2FA,

1. User 2FA enabled.
2. User 2FA disabled.

For this example 'User 2FA disabled' is the event. Build the workflow by following the steps below,

![Creating event workflow](https://gatlabs.com/knowledge/wp-content/uploads/2023/02/2026-03-23-11_21_51-1.png)

> Pre-approved is selected to avoid needing the Security Officer approval everyime the event is triggered, only initial approval is required when selected.

Click '**Choose Actions**' (5) or '**Send approval request**' (6) to move to the next tab where the actions you choose will be executed when the event is triggered. There are dozens of actions to choose from depending on how your organization wishes to treat such cases from a security perspective.

In the **Choose Actions** click on the **(+) button **(1) and then click the **Add action** button (2)

![Adding an action to an event workflow](https://gatlabs.com/knowledge/wp-content/uploads/2023/06/2026-03-19-12_55_32.png)

For this example, we are sending a warning email to the user who disabled their 2FA, A follow-up action could be perhaps to add the user to a group for users who don't have 2FA enabled. Once you've selected the 'Send email' action (1), double click the action node (2) to configure the email.

!['Send email' action in a gat event workflow](https://gatlabs.com/knowledge/wp-content/uploads/2023/02/2026-03-23-11_31_01.png)

Adding the user to a group action and more can be selected the same way the '**send email**' action was selected above.

!['send email' configuration in a gat flow event workflow](https://gatlabs.com/knowledge/wp-content/uploads/2023/02/2026-03-23-11_34_46.png)

Changes made to the 'Send email' action are saved automatically, to finish click outside of the 'Send email' pop-up box or click the X in the top right then click the '**Send approval request**'

#### Security officer approval

The security officer will be notified via email to approve the request.

![Security officer approval email](https://gatlabs.com/knowledge/wp-content/uploads/2023/02/2026-03-23-11_49_05.png)

### Results

To check on the results, find the workflow in the '**Event workflow**' module by filtering by name, then select the results icon as shown below,

![Event workflow results](https://gatlabs.com/knowledge/wp-content/uploads/2023/02/2026-03-23-11_51_32-.png)

Here, each event triggered is displayed in rows, selecting the '**page**' icon will show more details about the actions taken.

![Event workflow triggers](https://gatlabs.com/knowledge/wp-content/uploads/2023/02/2026-03-23-11_59_48-Greenshot.png)

More details about the action can be observed when selecting the numbers under the headers.

![Event workflow trigger details](https://gatlabs.com/knowledge/wp-content/uploads/2023/02/2026-03-23-12_01_16.png)

## Related Posts

- [Update the user’s custom attributes with GAT Flow](https://gatlabs.com/knowledge/tech-tips/update-the-users-custom-attributes-with-gat-flow/)
- [Use workflow template to manage a suspended user’s account in GAT Flow](https://gatlabs.com/knowledge/tech-tips/use-workflow-template-to-manage-a-suspended-users-account-in-gat-flow/)
- [Add Users to an OU Depending on Their Department with GAT Flow](https://gatlabs.com/knowledge/tech-tips/add-users-to-an-ou-depending-on-department-with-gat-flow/)
