# Create Automation

In the nomos system Controller, you can create a new automation that responds to specific conditions and triggers. Automations allow you to automatically control devices or scenes based on predefined rules.

Steps to Create an Automation:

1. **Automation Name:**
   * Enter a unique name for the automation so you can easily identify it later.
   * Example: "Turn on lights at sunset."
2. **Add Trigger:**
   * Click "**Add your first trigger**" to define a trigger.
   * A trigger is an event that starts the automation, such as reaching a specific time, turning on a device, or detecting motion.
3. **Set Conditions:**
   * Optionally, click "**Add your first condition**" to add conditions that must be met before the automation is executed.
   * A condition could be, for example, that the automation only triggers at night or only when no one is home.
4. **Define Actions:**
   * Click "**Add your first action**" to define the actions to be executed when the conditions are met.
   * An action could be, for example, turning on the lights or sending a message.
5. **Enable Negative Actions:**
   * Optionally, you can also define **negative actions** that, for example, undo a specific action when the conditions are no longer met.
6. **Save Automation:**
   * After all triggers, conditions, and actions have been defined, click "**Add**" to activate the automation.
   * The automation is now displayed in the list of automations and is ready to run.
7. **Cancel:**
   * If you wish to cancel the process, click “**Cancel**” to stop creating the automation and return to the previous screen.

<figure><img src="/files/HVdC2c9bIGhxzbAbSNRh" alt=""><figcaption></figcaption></figure>


---

# 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://documentation.nomos-system.com/nomos-system/integrator-en/automations/create-automation.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.
