> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.contracthero.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Data automations: keep contract data up to date with rules

A contract gets set to "Terminated" — and still shows up in your renewal list, because the auto-renewal interval is sitting in the field. A new customer contract arrives, and someone types the same payment cycle and the same tax rate for the hundredth time. With data automations you set up a rule once, and ContractHero maintains those fields on its own.

> **Data automations are a paid add-on.** If you would like to use the feature, talk to your Customer Success Manager or write to support@contracthero.com — we will enable it and set up the first rules together with you.

## Why this helps

* **Set it up once instead of fixing it every time.** What someone corrects by hand after every status change, the rule handles in the background.
* **Data you can rely on.** Fields that are set automatically don't get forgotten — your reports and deadlines stay correct even when the day gets busy.
* **Less onboarding for new colleagues.** Whoever creates a contract doesn't need to know which tax rate belongs to which category. The rule knows.
* **Traceable, not magic.** Every automatic change is recorded on the contract's activity, together with the name of the rule that made it.

## How it works

### 1. Open the overview

Go to **Settings → Automations → Data**. Under "Automations" you will find two areas side by side: **Tasks** for task automations and **Data** for data automations.

The **Data automations** page lists every rule with its name, its status and a short summary of trigger, conditions and actions. **+ New automation** creates a new rule.

### 2. Set a name and a trigger

The **New data rule** panel opens. Start with a **Name** — this name appears on the contract with every automatic change, so make it descriptive ("Terminated → clear renewal").

Under **Management** ("What happens to the object?") you pick the trigger. There are three:

* **Created – a contract is added**
* **Updated – a value changes**
* **Document uploaded – a document is added to a contract**

### 3. Narrow it down with conditions

Conditions decide which contracts the rule applies to at all. **+ Add condition** creates a row in the shape **WHERE [field] is [value]**.

* Available fields are **Category**, **Team**, **Status** and **Created by** — plus every field from your contract field builder.
* Each condition can take several values at once, for example three categories.
* **Match all / any conditions in this rule** switches between AND and OR.

For the **Created** and **Document uploaded** triggers, conditions are optional. Without a condition the rule runs for every contract that hits the trigger.

For the **Updated** trigger at least one condition is required — otherwise the rule would fire on every contract, every time anything about it changes. This trigger also offers **+ Add value change**, where you define which field has to change and how: for example "Status changed from **Any value** to **Terminated**".

### 4. Define the actions

Under **Actions** you set out what should happen. Each action has three parts:

1. **Update** (set a field to a value) or **Clear** (empty a field)
2. the **field** — **Status**, **Category** or any field from your contract field builder
3. the **value**

**+ Add action** lets a single rule set several fields at once.

### 5. Choose reach and status

At the bottom of the panel there are two switches — both **off** by default:

* **Apply to existing contracts** — on, the rule runs once across every contract that matches the trigger and conditions. Off, it only takes effect from now on.
* **Is this rule active?** — on, the rule runs. Off, it is saved but does nothing.

**Add rule** saves it. A newly created rule is therefore **inactive** to begin with, so you can read it over before you arm it.

### 6. Manage your rules

In the list you switch a rule's status between active and inactive directly — that is how you pause a rule without deleting it. The **⋯** menu at the end of each row lets you edit or delete the rule.

### 7. Check the result on the contract

Where a rule has changed a field, it is recorded on the contract's **Activity**, including the name of the rule. You can always see why a value looks different from last time.

## Three example rules

**Terminated contracts stop renewing themselves**
Trigger: *Updated – a value changes*. Value change: Status changed from "Any value" to "Terminated". Action: *Clear* → the "Automatic renewal" field.
A terminated contract no longer appears among your renewal deadlines.

**New customer contracts arrive pre-filled**
Trigger: *Created – a contract is added*. Conditions (all): Category is "Customer contract" AND Team is "Team Germany". Actions: *Update* → your default values for payment method, tax rate and payment terms.
Whoever creates the contract doesn't need to know the defaults.

**An uploaded document moves the contract along**
Trigger: *Document uploaded*. Condition: Status is "Draft". Action: *Update* → Status to "In signature process".
The contract moves to the next step as soon as the document lands.

## Frequently asked questions

### Will the rules change my existing contracts retroactively?

Only if you want them to. The **Apply to existing contracts** switch is off by default. Without it, the rule only applies to new contracts and future changes.

### Is a new rule live straight away?

No. **Is this rule active?** is switched off when you create a rule. You save it inactive first and set it to active in the list when you are ready.

### Are there sample rules to start from?

Yes. New organisations get two sample rules. They show you how trigger, conditions and actions fit together, so you can adapt one instead of starting from a blank page.

Existing organisations don't get them automatically. Let us know and we will switch them on for you.

### Can I switch a rule off temporarily?

Yes. Set its status to inactive in the list. The rule keeps all its settings and can be reactivated at any time.

### What happens if I delete a rule?

The rule disappears, but contracts it has already changed **keep those values**. Deleting does not undo past changes, and it cannot be reversed.

### How do I know that a rule changed a field?

On the contract's **Activity**. Every automatic change is listed there with the name of the rule behind it.

### Do I get a notification when a rule fires?

No, notifications on trigger are not part of this version. What a rule has done is visible on the activity of the contract in question.

### Can a rule calculate, for example "end date plus 30 days"?

No. Actions always set a fixed value. For calculated values, use a [formula field](https://support.contracthero.com/en-us/article/formula-fields-calculate-values-from-your-contract-data-automatically-17kmwp7/).

### Is there a "date reached" trigger?

Not yet. A trigger that reacts to a date being reached — for example "terminate the contract automatically when the end date arrives" — is not part of the first version.

### Does this work for tasks and contacts as well?

No, data automations work on contract data only. For tasks there are the task automations under **Settings → Automations → Tasks** (see Related articles).

### Who is allowed to create rules?

Anyone with the automations permission. You manage it under **Organization → Members**, and it covers task automations and data automations together: whoever can already manage task automations can also change contract data by rule.

### Which plan includes data automations?

Data automations are a paid add-on and are not automatically part of a plan. Talk to your Customer Success Manager — we will enable the feature and set up the first rules together with you.

## Good to know

* **Nothing happens until there is a rule.** As long as you have no active rule, your contract data stays exactly as it is.
* **Start small.** Create a rule, save it inactive, read it over, activate it and watch it on a handful of contracts — then widen it. A condition that is too broad changes more contracts than you expect.
* **The sample rules are the fastest way in.** Rather than building your first rule on a blank page, open a sample rule, see how it is put together and adapt it to your case.
* **"Apply to existing contracts" is the big lever.** That switch can touch a very large number of contracts in one pass. Check your conditions carefully beforehand — undoing it means doing it by hand.
* **A rule is not a one-off correction.** If you only want to adjust many contracts once, [bulk editing](https://support.contracthero.com/en-us/article/mass-editing-contract-information-bulk-edit-c8zpov/) is the more direct route.
* **The fields come from your field builder.** Which fields you can pick in conditions and actions depends on what exists in your [contract field builder](https://support.contracthero.com/en-us/article/what-is-the-contract-field-builder-10156c/).

## Related articles

* [How can task automations be set up and managed?](https://support.contracthero.com/en-us/article/how-can-task-automations-be-set-up-and-managed-129a18q/)
* [What tools are available for task management?](https://support.contracthero.com/en-us/article/what-tools-are-available-for-task-management-hp5fgj/)
* [Mass editing contract information (bulk edit)](https://support.contracthero.com/en-us/article/mass-editing-contract-information-bulk-edit-c8zpov/)
* [Formula fields: calculate values from your contract data automatically](https://support.contracthero.com/en-us/article/formula-fields-calculate-values-from-your-contract-data-automatically-17kmwp7/)
* [What is the Contract Field Builder?](https://support.contracthero.com/en-us/article/what-is-the-contract-field-builder-10156c/)
* [What information is available in the Change Log?](https://support.contracthero.com/en-us/article/what-information-is-available-in-the-change-log-1mdj620/)