---
title: Create a Rule in the Rules Engine
description: Learn how to create custom rules in the Rule Engine to automate your processes. Follow our step-by-step guide and improve your productivity!
---

[Skip to content](https://support.intelligenceindustrielle.com/en/base-de-connaissance/créer-une-règle-dans-le-moteur-de-règles#main-content)

- [English](https://support.intelligenceindustrielle.com/en/base-de-connaissance/cr%C3%A9er-une-r%C3%A8gle-dans-le-moteur-de-r%C3%A8gles)
- [Français](https://support.intelligenceindustrielle.com/fr/base-de-connaissance/créer-une-règle-dans-le-moteur-de-règles)

English

Show submenu for translations

![](https://support.intelligenceindustrielle.com/hs-fs/hubfs/Logo%20Intelligence%20Industrielle.png?width=100&height=75&name=Logo%20Intelligence%20Industrielle.png)

Open main navigation

Close main navigation

- - [English](https://support.intelligenceindustrielle.com/en/base-de-connaissance/cr%C3%A9er-une-r%C3%A8gle-dans-le-moteur-de-r%C3%A8gles)
    - [Français](https://support.intelligenceindustrielle.com/fr/base-de-connaissance/créer-une-règle-dans-le-moteur-de-règles)

  English
  
  Show submenu for translations
- Contact us

 Contact us

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Knowledge Base](https://support.intelligenceindustrielle.com/en/base-de-connaissance?hsLang=en)
2. [Advanced Features & Configuration 🤓](https://support.intelligenceindustrielle.com/en/base-de-connaissance/advanced-features-configuration?hsLang=en)
3. [Advanced Configuration - Expert's Zone](https://support.intelligenceindustrielle.com/en/base-de-connaissance/advanced-features-configuration?hsLang=en#advanced-configuration-experts-zone)

July 18, 2025

# Create a Rule in the Rules Engine

## This comprehensive guide explains how to create a custom rule in a few simple steps to optimize your processes and enhance your productivity.

In the **Rules Engine**, you have the ability to **create custom rules** to automate actions based on certain predefined events. 

### Accessing the Rules Engine

To begin, navigate to the **Rules Engine** from the **main menu** of your application. Here, you'll find all the **existing rules** and can create new custom rules.

### Creating a New Custom Rule

Click on the **Create New Rule** button to initiate the process of creating your custom rule.

#### Naming Your Rule

The first step is to assign a name to your **custom rule**. It's recommended to use clear nomenclature that includes the name of the relevant machine followed by a short description of the rule, facilitating quick identification. For example: *Machine*X - High Temperature Alert\_.

#### Assigning a Label to the Rule

Next, assign a **label** to your custom rule. Labels simplify the **sorting and management of rules**, especially when you have multiple ones. Choose a label that reflects the **function** or **category** of the rule.

#### Configuring the Rule Trigger

The **trigger** determines the **initial conditions** that activate the rule.

1. **Selecting the Trigger Type**: Choose from the six available trigger types that best suit your needs. (For more details on the different trigger types, consult the article **"Understanding Trigger Types"** in this knowledge base.)
2. **Setting Up the Trigger**: Once the trigger type is selected, configure the specific parameters that will correspond to the desired event to trigger the custom rule.

[Here's our article to better choose your Trigger.](https://support.intelligenceindustrielle.com/en/base-de-connaissance/en/les-d%C3%A9clencheurs-du-moteur-de-regles?hsLang=en)

#### How to Add Conditions to the Trigger

To refine the **triggering of the custom rule**, you can add **additional conditions** by clicking on **Add Condition** to specify extra criteria that must be met for the custom rule to activate. In practice, conditions are often the state of one or more variables.

#### Adding Actions to the Rule

Once the trigger and conditions are defined, you need to specify the **actions to perform** when the **custom rule** is triggered.

1. **Selecting or Creating Actions**

- If you already have configured actions, you can select them from the **list of available actions**.
- To **create a new action**, click on the **+ Create Action** button and configure it according to your needs.

You can add **multiple actions** to the same custom rule if necessary.

#### Saving and Submitting the Rule

After configuring all the elements of your **custom rule**:

1. **Review**: Go over the rule settings to ensure everything is correct.
2. **Save and Submit**: Click on **Submit** to save and activate your new rule.

Your rule will now appear in the **list of rules** in the **Rules Engine**.

### How to Manage Your Rules in the Rules Engine

The Rules Engine offers several options to manage your existing rules.

#### Editing Rule Labels

To modify a rule's **label**:

1. **Quick Access**: In the **list of rules**, click on the edit icon next to the rule's label.
2. **Update**: Select or enter the new label, then confirm.

#### Activating or Deactivating a Custom Rule

You can temporarily prevent a **custom rule** from triggering without deleting it.

1. **Use the Status Switch**: Toggle the **activation switch** located next to the rule's name.
2. **Confirm the Status**: The rule's status changes to **Active** or **Inactive** accordingly.

#### Duplicating an Existing Rule

To quickly create a **similar rule**:

1. **Duplication Option**: Click on the **Duplicate** option associated with the rule in the **list of rules**.
2. **Duplication Settings**: Choose the elements to duplicate. You'll be prompted with 3 option 
     1. Only duplicate the trigger: this option is the best when your actions are already created, but unrelated to any existing rule. K2 App will create a new rule, copying only the title, its original tag and its trigger.
     2. Duplicate the trigger and keep its original actions: this option is the best if you wish to keep the original actions in a new duplicated rule.
     3. Duplicate the trigger and its actions: this option is perfect if you wish to copy both the trigger and all actions. This is very practical if you want to duplicate a rule from a machine to another one and your actions aren't created yet.

Warning : when option "Duplicate the trigger and keep its original actions" is selected, you'll need to be extremely cautious in order to prevent any edits to original actions involved in the duplicated rule. If not cautious, the original actions will be modified causing your original rule to be corrupted!

#### Deleting an Unnecessary Rule

If a rule is no longer needed:

1. **Quick Deletion**: Click on the **Delete** icon next to the concerned rule.
2. **Confirmation**: Confirm the deletion when prompted.

These management options allow you to keep your **set of rules** organized and tailored to your **current needs**, optimizing your workflow.

### Conclusion

By following these steps, you can build a **basic rule** that automates key actions in your system. Feel free to explore further **advanced features**, such as the **different types of triggers** and **complex conditions**, to optimize your processes. **Screenshots** and **practical examples** are available to visually guide you in creating your **custom rules**.

 

- [Key Concepts 🔑](https://support.intelligenceindustrielle.com/en/base-de-connaissance/key-concepts?hsLang=en#main-content)

    - [KPI Introduction](https://support.intelligenceindustrielle.com/en/base-de-connaissance/key-concepts?hsLang=en#kpi-introduction)
- [Advanced Features & Configuration 🤓](https://support.intelligenceindustrielle.com/en/base-de-connaissance/advanced-features-configuration?hsLang=en#main-content)

    - [Advanced Configuration - Expert's Zone](https://support.intelligenceindustrielle.com/en/base-de-connaissance/advanced-features-configuration?hsLang=en#advanced-configuration-experts-zone)
    - [Tiles - Creation & Customization](https://support.intelligenceindustrielle.com/en/base-de-connaissance/advanced-features-configuration?hsLang=en#tiles-creation-customization)
- [Advises & Best Practises 👌](https://support.intelligenceindustrielle.com/en/base-de-connaissance/advises-best-practises?hsLang=en#main-content)

    - [Tips & Advices](https://support.intelligenceindustrielle.com/en/base-de-connaissance/advises-best-practises?hsLang=en#tips-advices)
    - [Case Studies & Feedbacks](https://support.intelligenceindustrielle.com/en/base-de-connaissance/advises-best-practises?hsLang=en#case-studies-feedbacks)
- [Getting Started 👣](https://support.intelligenceindustrielle.com/en/base-de-connaissance/getting-started?hsLang=en#main-content)

    - [User Manuals 📖](https://support.intelligenceindustrielle.com/en/base-de-connaissance/getting-started?hsLang=en#user-manuals)
    - [Initial Set-up ⚓](https://support.intelligenceindustrielle.com/en/base-de-connaissance/getting-started?hsLang=en#initial-set-up)
- [Machine Connectivity 📡](https://support.intelligenceindustrielle.com/en/base-de-connaissance/machine-connectivity?hsLang=en#main-content)

    - [K2 IoT](https://support.intelligenceindustrielle.com/en/base-de-connaissance/machine-connectivity?hsLang=en#k2-iot)

[![Logo Intelligence Industrielle](https://support.intelligenceindustrielle.com/hs-fs/hubfs/Logo%20Intelligence%20Industrielle-3.png?width=162&height=50&name=Logo%20Intelligence%20Industrielle-3.png "Logo Intelligence Industrielle")](https://www.intelligenceindustrielle.com)

266 rue Saint-Paul E, Montréal, (Québec) H2Y 1G9

<https://www.facebook.com/IntelligenceIndustrielle/> <https://www.linkedin.com/company/intelligence-industrielle/> <https://www.youtube.com/@intelligenceindustrielle586> [mailto:success@intelligenceindustrielle.com](mailto:success@intelligenceindustrielle.com)

Copyright © 2025, Fait avec 🧠 par intelligenceindustrielle.com