
With the **action** “Turn on a switch”, you can set a switch field to "ON" in Jestor automatically when the chosen trigger is activated.
Trigger -> Action
The most important thing about a trick is understanding its conditions and actions. They have a simple generic structure:
When the condition (trigger) happens, then do (action). Trigger -> Action
## How to create
You just have to click on the "+ Automations" icon on the upper right corner of the screen to open the No code automations panel, and then on the "+ Create new automation" button:

Select the trigger of your choice to activate the action, then select the "Turn off a switch" action, and **fill in the options:**
**Choose tab:**
**ID of your record:**
Set the ID of the record you wish to update
**Choose a switch field:**
This field will be set to off
