# Delighted

Delighted is a customer experience (CX) platform that collects NPS, CSAT, and other survey feedback through email, SMS, and in-app channels.

Delighted integration replicates data using the [Delighted API](https://app.delighted.com/docs/api).

See the [Schema](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Delighted.htm#Schema) section for a list of objects available for replication.

## Preparing for authentication

To access your data, you need to authenticate the connection with your account credentials.

Information noteMake sure that the account you use has read access to the tables you want to fetch.

To set up your Delighted account, you need:

* A Delighted account with access to the CX project you want to replicate.
* A Delighted API key for the project. Each project has its own API key — contact your Delighted account admin to obtain it.

Before creating the connection, confirm that you have selected the correct project in the top-left corner of your Delighted account. API keys are project-scoped; using a key from a different project will replicate data from that project instead.

## Creating the connection

For more information, see [Connecting to SaaS applications](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/Landing/connecting-web-applications.htm).

1. Fill in the required connection properties.

2. Provide a name for the connection in Connection name.

3. Select Open connection metadata to define metadata for the connection when it has been created.

4. Click Create.

Connection settings

| Setting | Description |
| --- | --- |
| Data gateway | Select a Data Movement gateway if required by your use case.<br><br>Information note<br><br>This field is not available with the Qlik Talend Cloud Starter subscription, as it does not support Data Movement gateway. If you have another subscription tier and do not want to use Data Movement gateway, select None.<br><br>For information on the benefits of Data Movement gateway and use cases that require it, see [Qlik Data Gateway - Data Movement](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Gateways/replication-gateway.htm). |
| Start Date | Enter the date, in the format `MM/DD/YYYY`, from which the data must be replicated from your source to your target. |
| API Key | API key. |

## Schema

Schemas and naming conventions can change from version to version. It is recommended to verify your version before continuing.

Depending on your destination, table and column names may not appear as they are outlined below.

### bounces

The `bounces` table contains information about people whose survey delivery bounced in your Delighted project.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | person\_id |
| **Useful links** | [Delighted API reference](https://app.delighted.com/docs/api/listing-bounced-people "Opens in new tab: Delighted API reference") |

### email\_autopilot

The `email_autopilot` table contains information about people enrolled in the email autopilot queue in your Delighted project.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | person\_id<br><br>next\_survey\_request\_id |
| **Useful links** | [Delighted API reference](https://app.delighted.com/docs/api/listing-people-in-autopilot "Opens in new tab: Delighted API reference") |

### metrics

The `metrics` table contains aggregate survey metric data for your Delighted project.

| **Replication Method** | Full Table |
| --- | --- |
| **Useful links** | [Delighted API reference](https://app.delighted.com/docs/api/getting-metrics "Opens in new tab: Delighted API reference") |

### people

The `people` table contains information about survey recipients in your Delighted project.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | id |
| **Useful links** | [Delighted API reference](https://app.delighted.com/docs/api/listing-people "Opens in new tab: Delighted API reference") |

### sms\_autopilot

The `sms_autopilot` table contains information about people enrolled in the SMS autopilot queue in your Delighted project.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | person\_id<br><br>next\_survey\_request\_id |
| **Useful links** | [Delighted API reference](https://app.delighted.com/docs/api/listing-people-in-autopilot "Opens in new tab: Delighted API reference") |

### survey\_responses

The `survey_responses` table contains survey response records from your Delighted project.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | id |
| **Useful links** | [Delighted API reference](https://app.delighted.com/docs/api/listing-survey-responses "Opens in new tab: Delighted API reference") |

### unsubscribes

The `unsubscribes` table contains information about people who have unsubscribed from surveys in your Delighted project.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | person\_id |
| **Useful links** | [Delighted API reference](https://app.delighted.com/docs/api/listing-unsubscribed-people "Opens in new tab: Delighted API reference") |