# ON Keyword **Syntax** ``` ON trigger-type OF "table-name" ``` **Parameters** - `trigger-type` – The type of database trigger to listen for. Valid values are: - `INSERT` - `UPDATE` - `DELETE` - `"table-name"` – The name of the database table to monitor. **Description** `ON` registers a database trigger for the current session. When the specified event occurs on the given table, the engine records the trigger in the `system_automations` table, linking it to the session. This enables scripts to react to data changes by executing associated actions (e.g., sending a notification, updating a variable). The keyword performs the following steps: 1. Validates the `trigger-type` and converts it to the internal `TriggerKind` enum. 2. Constructs a parameter name in the form `