> For the complete documentation index, see [llms.txt](https://ksaar.gitbook.io/ksaar-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ksaar.gitbook.io/ksaar-documentation/les-automations/quand-un-enregistrement-est-modifie.md).

# Quand un enregistrement est modifié

Comme son nom l'indique, le trigger **Quand un enregistrement est modifié** déclenche une automation lorsqu'un enregistrement est modifié dans une table spécifique.&#x20;

Pour configurer ce trigger, vous devez choisir la **table à écouter**. Puis, sélectionnez les **champs de cette table** dont les modifications déclencheront l'automation.

<figure><img src="https://2063331370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQBQ-Fk5qKATOA2R2_R%2Fuploads%2FvWTONpkEKVwDPcBWlNJH%2Fimage.png?alt=media&amp;token=5c1e0688-3390-4d56-abcb-b5bde51c1668" alt="" width="446"><figcaption><p>Paramètres du trigger "Quand un enregistrement est modifié"</p></figcaption></figure>

Ainsi, la mise à jour d’un des champs sélectionnés déclenchera l’automation. Si deux champs sélectionnés sont mis à jour, l’automation se déclenchera deux fois.

De même, si vous modifiez la valeur d'un champ et que vous la modifiez à nouveau immédiatement après, l'automation se déclenchera deux fois. Il est donc important de faire attention, car les champs placés dans les pages peuvent être modifiés à plusieurs reprises par l'utilisateur final, ce qui déclenchera l'automation à chaque modification.

Une fois le trigger paramétré, vous pouvez utiliser les champs de la table sélectionnée dans les actions de votre automation.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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 following URL with the `ask` and `goal` query parameters:

```
GET https://ksaar.gitbook.io/ksaar-documentation/les-automations/quand-un-enregistrement-est-modifie.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `build a script that syncs our docs to a CMS` lets GitBook tailor the answer to that use case.

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.
