# Synchronize users attributes

### Overview

In this destination service, DinMo will export and update attributes in the Actito **Profiles table** and, optionally, insert new profiles.\
To achieve this, you will need to follow these three steps:

1. **Creating an Actito destination:** Refer to the corresponding section for detailed instructions.
2. **Creating a user segment or model:** This should include all profiles and their attributes that will be updated in Actito.
3. **Activating the model or segment to the Actito destination:** This initiates the data synchronization. Refer to the corresponding section for guidance.

Every time an activation runs, DinMo evaluates the latest audience data and syncs the resulting changes to the destination according to the selected sync mode and run type:&#x20;

* **Insert:** Each activation sends only newly detected records to the destination and inserts them without modifying or deleting existing data.
* **Update:** Each activation sends only records that have changed and updates existing records in the destination, without inserting new ones or deleting data.
* **Upsert:** Each activation sends new and changed records to the destination, inserting missing records and updating existing ones as needed.
* **Mirror:** Each activation synchronizes the destination to match the source by inserting new records, updating changed ones, and permanently deleting records that are no longer present in the source.

### Destination setup

To start synchronizing contacts, you are first required to create a Actito destination with the corresponding destination service.

{% hint style="info" %}
Learn how to create such a destination in our[ step-by-step tutorial](https://docs.dinmo.io/guides/get-started-with-dinmo/initial-configuration-of-dinmo/create-a-destination)
{% endhint %}

### Activation configuration

Once the destination has been setup, and your DinMo model created, you can create an activation to start sending data to Actito right away.&#x20;

{% hint style="info" %}
Learn how to activate a segment in our [step-by-step tutorial](https://docs.dinmo.io/guides/get-started-with-dinmo/create-and-activate-segments-on-dinmo/activate-your-first-segment)
{% endhint %}

#### Sync modes

Sync modes determine how data is synchronized between your data source and your Actito application. They control whether to insert new records, update existing ones, or both, and how to handle the synchronization process.

For the Actito destination, here are the available options:

<table data-full-width="true"><thead><tr><th>Sync Mode</th><th>Description</th><th>Use Case</th><th>Behavior</th></tr></thead><tbody><tr><td><strong>INSERT</strong></td><td>Processes only <strong>new records</strong> detected since the last sync and inserts them into the destination. Existing records are never modified or removed.</td><td><p></p><ul><li>Append-only datasets</li><li>Event or log ingestion</li><li>Historical data tracking</li></ul></td><td><p></p><ul><li>Detects new records using delta keys</li><li>Inserts new records only</li><li>Ignores existing and deleted records</li><li>Fastest and least intrusive sync mode</li></ul></td></tr><tr><td><strong>UPDATE</strong></td><td> Processes only <strong>changed records</strong> detected since the last sync and updates existing records in the destination. New records are ignored.</td><td><p></p><ul><li>Enriching or correcting existing datasets</li><li>Attribute updates without data growth</li><li>Systems where record creation is handled elsewhere</li></ul></td><td><p></p><ul><li>Detects modified records using delta keys</li><li>Updates existing records only</li><li>Does not insert or delete records</li><li>Assumes records already exist in the destination</li></ul></td></tr><tr><td><strong>UPSERT</strong></td><td>Processes <strong>new and changed records</strong>, inserting new records and updating existing ones as needed.</td><td><p></p><ul><li>Standard synchronization use cases</li><li>Incremental data refresh</li><li>Large datasets with moderate change rates</li></ul></td><td><p></p><ul><li>Detects new and updated records</li><li>Inserts missing records</li><li>Updates existing records</li><li>Does not delete records</li><li>Balances data freshness and performance</li></ul></td></tr><tr><td><strong>MIRROR</strong></td><td>Keeps the destination <strong>fully synchronized</strong> with the source by applying inserts, updates, and deletions detected since the last sync.</td><td><p></p><ul><li>Maintaining an exact replica of the source</li><li>Operational systems requiring strict consistency</li><li>Data pipelines with frequent deletes</li></ul></td><td><p></p><ul><li>Detects all changes using delta logic</li><li>Inserts new records</li><li>Updates changed records</li><li>Deletes records missing from the source</li><li>Requires connector support for delete operations</li></ul></td></tr></tbody></table>

{% hint style="danger" %}
**Warning — Use Mirror Mode with Caution**

**Mirror sync mode permanently deletes records from the destination when they are no longer present in the source.**\
This includes contacts and related data.

Once deleted, these records **cannot be recovered** unless they are reintroduced from the source in a future sync.

Mirror mode should therefore be used **only when the source is the single source of truth** and when permanent deletions are an intended and fully controlled behavior.\
Always validate deletion rules and run Mirror syncs carefully, especially on production environments.
{% endhint %}

#### Fields mapping

In the **Fields Mapping** section, you must specify the field in your DinMo model corresponding to the **external ID** in Actito.\
This field is used to match the records in your model to existing profiles in Actito.

#### Synchronized attributes

In this section, you can define the attributes you want to synchronize. DinMo ensures the values of the mapped attributes are always up to date in Actito.

To map an attribute:

* On the left side, select the field in DinMo containing the attribute’s value.
* On the right side, type the exact name of the attribute as it appears in Actito.

> **Note:** If the attribute you specify does not exist in Actito, DinMo will automatically create it.

#### **Scheduling options**

In this section, specify how often the data should be inserted/updated/deleted in Actito.

#### Warnings

In this section, specify if you want to receive warning for your Actito activation.

{% hint style="info" %}
Consult this specific documentation to [learn more about sync warnings](https://docs.dinmo.io/activations/troubleshooting-syncs/sync-warnings).
{% endhint %}
