How can we help?

Introduction to Workflows

Noga Tubi
Noga Tubi
  • Updated
Learn when and how Torii workflows are triggered

Torii workflow is a powerful feature that brings powerful automation capabilities without the need to write any code.

  • A workflow consists of a trigger and a set of actions.

  • The trigger is what sets the workflow in motion through defined criteria. Actions are executed in sequential order once the workflow has been triggered.

  • Workflows are triggered when the defined criteria are met.

How Workflow Criteria are Evaluated

It is important to understand that workflow criteria are evaluated against Torii data which can also be viewed in Torii's UI console. As Torii syncs data from external sources every 24 hours, Torii's data and the source data might not always be in sync.

For example, assume you have a workflow with the following criteria:

 

This workflow would trigger when the status of a user in Google Workspace (G-Suite) is suspended.

You should expect this workflow to be triggered only when Google Workspace data has been synced to Torii and Torii workflow criteria have been evaluated.

When Workflow Criteria are Evaluated?

Torii syncs data from the integrations every 24 hours at 2:00 am GMT.

Workflow trigger criteria are evaluated every hour on the half-hour (e.g. 9:30, 10:30, 11:30, ...)

Example:

  • 7:00 pm GMT - Google Workspace user tony@example.com has been set to suspended on Google Workspace

  • 2:00 am GMT - Torii syncs data from Google Workspace

  • 2:30 am GMT - Torii evaluates the criteria, finds that tony@example.com matches the criteria, and triggers the workflow

Workflow Criteria Preview

By clicking the Preview button in the workflow criteria filter, you can view the entities that currently meet the criteria. This preview helps you fine-tune your criteria to match only the needed entities.

Pay attention that the preview only shows entities that match the criteria as of that moment and will not necessarily cause the workflow to be triggered once activated. Read about how to run workflow retroactively in this article.

 

 

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request