# Adding a new Rule

To add a new Automation Rule, follow the steps mentioned below :

1. Select your Site and then an App.
2. Go to “App Settings” under “Settings” of your App
3. From the left menu, go to either User Based Rules, Record Based Rules or Time Based Rules :
4. Click “New Rule” to add a new rule :
5. Add rule name and define Conditions & Actions for the rule :
6. Add/Remove Condition :
   1. To add new Condition, click “New Condition” button in Conditions section
   2. To remove a Condition, click delete icon “x” located next to condition
7. Add/Remove Action :
   1. To add new Action, click “New Action” button in Actions section
   2. To remove an Action, click delete icon “x” located next to action
8. Click “Save” to save your new rule.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.workdigital.io/custom-database-apps/automation-rules/adding-a-new-rule.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
