> ## Documentation Index
> Fetch the complete documentation index at: https://f4c7a9e2d8b1-docs.tenzo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Rules Engine for Conditional Settings

> Using the rules engine to configure settings conditioned on job attributes

### Rules Engine Overview

Admins may use the Rules Engine to customize interviews based on fields in the ATS. Rules follow the following pattern:

* **Conditions** Conditions based on specified ATS fields to determine matching jobs
* **Actions** How Tenzo should configure interviews for ATS jobs which match these conditions (eg. *adding to a folder*, *interview generation instructions*, *specific setting configurations*)

<Frame caption="Rules Engine overview">
  <img src="https://mintcdn.com/tenzoai/JB-jgb8sabUlkdOP/images/rules-engine/rules-engine-overview.png?fit=max&auto=format&n=JB-jgb8sabUlkdOP&q=85&s=f0bd69ba9f5fece602b2ef2de3ae9dd2" alt="Rules Engine overview page" width="2970" height="1664" data-path="images/rules-engine/rules-engine-overview.png" />
</Frame>

### Configured rule example

<Frame caption="Rule conditions (example)">
  <img src="https://mintcdn.com/tenzoai/JB-jgb8sabUlkdOP/images/rules-engine/rule-conditions.png?fit=max&auto=format&n=JB-jgb8sabUlkdOP&q=85&s=ae3e1362fe491b9a5744502e0e5050f4" alt="Example rule conditions" width="2932" height="1630" data-path="images/rules-engine/rule-conditions.png" />
</Frame>

<Frame caption="Rule actions (example)">
  <img src="https://mintcdn.com/tenzoai/JB-jgb8sabUlkdOP/images/rules-engine/rule-actions.png?fit=max&auto=format&n=JB-jgb8sabUlkdOP&q=85&s=27dd0347a27e24f642b8fd1ea2037149" alt="Example rule actions" width="2532" height="650" data-path="images/rules-engine/rule-actions.png" />
</Frame>

### Customizing Settings via the Rules Engine

Any interview setting may be applied to specific jobs matching conditions via a rule.

* For example, if the jobs in the ATS are organized by *office*, you may configure a rule for each office and specify a different *follow-up user calendar* for each office.
  * This setup is common for organizations who want to use a single shared calendar accross a set of interviews.
  * Once the rule is active, all interviews created for that office will automatically be configured to schedule follow-up interviews using the selected calendar for that office.

Any setting may be added to the rules engine. New settings and options are often added per-customer requests. If you do not see a specific setting as an *action* in the rules engine, you may reach out to support and the engineering team can quickly add that setting as an action.

### Example Rule

Below is an example of adding a rule which assigns a specific follow up user based on the location of the job.

<Frame caption="Admin > ATS Integrations > Rules Engine > Create Rule">
  <img src="https://mintcdn.com/tenzoai/1CiR7cblGR4qP3gQ/images/rules-engine-calendar-example.png?fit=max&auto=format&n=1CiR7cblGR4qP3gQ&q=85&s=33cd20a20443a97ae1a183f8bc2f055d" alt="Calendar integration setup screen" width="2182" height="1670" data-path="images/rules-engine-calendar-example.png" />
</Frame>
