> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hightouch.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Agillic

> Agillic is the trusted Nordic marketing automation platform, enabling personalisation that performs with scalability, operational efficiency, and full GDPR compliance.

## Supported syncing

| Type | Description | Supported Sync Modes | API Reference |
| - | - | - | - |
| **Recipients** | Sync data from any source to Agillic recipients | Upsert | [Recipients docs](https://developers.agillic.com/getting-started-with-apis/recipients-api/) |
| **One-to-Many** | Sync data from any source to Agillic one-to-many tables | Upsert | [One-to-Many docs](https://developers.agillic.com/getting-started-with-apis/recipients-api/) |
| **Events** | Sync data from any source to achieve recipient events in Agillic | Insert | [Events docs](https://developers.agillic.com/getting-started-with-apis/recipients-api/) |

For more information about sync modes, refer to the [sync modes](https://docs.hightouch.com/syncs/types-and-modes.md#sync-modes) docs.

## Connect to Agillic

Go to the [**Destinations** overview page](https://app.hightouch.com/destinations?from=docs) and click the **Add destination** button. Select **Agillic** and click **Continue**. You can then authenticate Hightouch to **Agillic**.

Enter the following fields into Hightouch:

* **Client ID**
* **Client secret**

## Sync configuration

Once you've set up your Agillic destination and have a [model](https://docs.hightouch.com/getting-started/concepts.md#models) to pull data from, you can set up your sync configuration to begin syncing data. Go to the [**Syncs** overview page](https://app.hightouch.com/syncs?from=docs) and click the **Add sync** button to begin. Then, select the relevant model and the Agillic destination you want to sync to.

### Syncing recipients

Sync data from any source to Agillic recipients.

#### Record matching

To match rows from your model to recipients in Agillic, you need to select the model column that contains values that match any unique recipient field.
Refer to the [record matching docs](https://docs.hightouch.com/syncs/record-matching.md) for more information.

#### Field mapping

Hightouch lets you sync recipient fields via [field mapping](https://docs.hightouch.com/syncs/mapping-data.md).
You can map data from any of your model columns to the default recipient fields.
Ensure your model's columns have the same data types as the fields you want to sync to.

#### Delete behavior

The [delete behavior](https://docs.hightouch.com/syncs/overview.md#delete-behavior) you select dictates what to do when a row no longer appears in your model's query results. You have the following options:

| Behavior | Description |
| - | - |
| **Do nothing** | Keep the recipient in Agillic with all its synced fields |
| **Delete** | Delete the synced recipients from Agillic |

### Syncing one-to-many

Sync data from any source to Agillic one-to-many tables.

#### Record matching

To match rows from your model to one-to-many records in Agillic, you need to select a model column that contains a unique recipient field
and a unique field for the one-to-many table you are syncing to.
Refer to the [record matching docs](https://docs.hightouch.com/syncs/record-matching.md) for more information.

#### Field mapping

Hightouch lets you sync one-to-many fields via [field mapping](https://docs.hightouch.com/syncs/mapping-data.md).
You can map data from any of your model columns to the default one-to-many fields.
Ensure your model's columns have the same data types as the fields you want to sync to.

### Syncing events

Sync data from any source to achieve recipient events in Agillic.

> [!WARNING]
>
> To ensure syncs send each event, your event model must use a truly unique [primary key](https://docs.hightouch.com/getting-started/concepts.md#unique-primary-key-requirement). See the [events syncs](https://docs.hightouch.com/syncs/types-and-modes.md#event-syncs) documentation for more information.

#### Field mapping

Hightouch lets you sync event properties via field mapping.

## Tips and troubleshooting

To see the exact API requests and responses from each sync run, use the [live debugger](https://docs.hightouch.com/syncs/debugger.md). To get notified by Slack, PagerDuty, SMS, or email when a sync fails, set up [sync alerts](https://docs.hightouch.com/syncs/alerting.md). If you run into an issue this page doesn't cover, [contact support](#pylon-chat).
