# Survey Monkey

## Snapshot

| Features                        | Details                                           |
| ------------------------------- | ------------------------------------------------- |
| Release Status                  | Released                                          |
| Source API Version              | V3                                                |
| Table Selection                 | Yes                                               |
| Column Selection                | Yes                                               |
| Edit Integration                | Yes                                               |
| Replication Type Selection      | No                                                |
| Authentication Parameters       | Survey Monkey access token                        |
| Replication Type                | <p>Key Based Replication,<br>Full Replication</p> |
| Replication Key                 | modified\_at                                      |
| Suggested Replication Frequency | 24 hours                                          |

## **Tables/APIs Supported**

| surveys            | survey\_details   |
| ------------------ | ----------------- |
| responses          | collectors        |
| survey\_categories | survey\_templates |
| contacts           | rollups           |
| trends             |                   |

## Generating Access Token for Survey Monkey

* Login to <https://developer.surveymonkey.com/>
* Open **My Apps** tab and click on **Add a New App** button

<figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2FY13ZBx6SxphKVdL2WbJp%2FScreenshot%202023-04-13%20133454.png?alt=media&#x26;token=5eb6d629-18a6-45a8-a2ae-5e10e483e712" alt=""><figcaption><p>Creating a new app</p></figcaption></figure>

* Enter App name, creator mail and select **Private App** as app type

<figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2FcBmHuPEhZ5mNg8vGQEqV%2FScreenshot%202023-04-13%20133550.png?alt=media&#x26;token=c289b580-8d84-447c-8595-e0777f1b6306" alt=""><figcaption><p>Creating a new app</p></figcaption></figure>

* Once created, open **Settings** of the app and go to **Credentials** section
* You can find the **Access Token** for your account here
* **Scopes** required are - users\_read, collectors\_read, surveys\_read, contacts\_read, responses\_read, responses\_read\_detail
* Use this access token while creating an integration with Daton

## Integrate Survey Monkey with Daton

1. Sign in to Daton
2. Select Survey Monkey from Integrations page
3. Provide Integration Name Replication Frequency and History. Integration name would be used in creating tables for the integration and cannot be changed later
4. In the next step you will be asked to enter survey monkey access token
5. Post successful authentication you will be prompted to choose required tables from the list
6. Then select all required fields
7. Submit the integration

## Workflow

1. Integrations would be in Pending state initially and will be moved to Active state as soon as the first job loads data successfully on to the configured warehouse
2. Users would be able to edit/pause/re-activate/delete integration anytime
3. Users can view job status and process logs from the integration details page by clicking on the integration name from the active list

## Survey Monkey Data

### surveys <a href="#billable-items" id="billable-items"></a>

Purpose: This API is used to fetch all surveys in the given account

Source API Documentation: <https://api.surveymonkey.com/v3/docs?api_key=3yr7n6m8sjwvm48x8nhxej52#api-endpoints-get-surveys>

Replication: Key Based Incremental

Replication Key: start\_modified\_at, end\_modified\_at

**Fields**

| Name     | Data Type |
| -------- | --------- |
| id       | STRING    |
| title    | STRING    |
| nickname | STRING    |
| href     | STRING    |

### survey\_details <a href="#billable-items" id="billable-items"></a>

Purpose: This API is used to fetch detailed information about the surveys

Source API Documentation: <https://api.surveymonkey.com/v3/docs?api_key=3yr7n6m8sjwvm48x8nhxej52#api-endpoints-get-surveys-id-details>

Replication: Key Based Incremental

Replication Key: start\_modified\_at, end\_modified\_at

**Fields**

| Name            | Data Type |
| --------------- | --------- |
| title           | STRING    |
| nickname        | STRING    |
| language        | STRING    |
| folder\_id      | STRING    |
| category        | STRING    |
| question\_count | NUMERIC   |
| page\_count     | NUMERIC   |
| response\_count | NUMERIC   |
| date\_created   | DATETIME  |
| date\_modified  | DATETIME  |
| id              | STRING    |
| buttons\_text   | RECORD    |
| is\_owner       | BOOLEAN   |
| footer          | BOOLEAN   |
| theme\_id       | STRING    |
| href            | STRING    |
| analyze\_url    | STRING    |
| edit\_url       | STRING    |
| collect\_url    | STRING    |
| summary\_url    | STRING    |
| preview         | STRING    |
| pages           | RECORD    |

### responses <a href="#billable-items" id="billable-items"></a>

Purpose: This API is used to fetch all responses registered in the surveys

Source API Documentation: <https://api.surveymonkey.com/v3/docs?api_key=3yr7n6m8sjwvm48x8nhxej52#api-endpoints-get-surveys-id-responses-bulk>

Replication: Key Based Incremental

Replication Key: start\_modified\_at, end\_modified\_at

**Fields**

| Name             | Data Type |
| ---------------- | --------- |
| id               | STRING    |
| recipient\_id    | STRING    |
| collection\_mode | STRING    |
| response\_status | STRING    |
| custom\_value    | STRING    |
| first\_name      | STRING    |
| last\_name       | STRING    |
| email\_address   | STRING    |
| ip\_address      | STRING    |
| collector\_id    | STRING    |
| survey\_id       | STRING    |
| edit\_url        | STRING    |
| analyze\_url     | STRING    |
| total\_time      | NUMERIC   |
| date\_modified   | TIMESTAMP |
| date\_created    | TIMESTAMP |
| href             | STRING    |
| pages            | RECORD    |

### collectors <a href="#billable-items" id="billable-items"></a>

Purpose: This API is used to fetch about the collectors in all the surveys

Source API Documentation: <https://api.surveymonkey.com/v3/docs?api_key=3yr7n6m8sjwvm48x8nhxej52#api-endpoints-get-collectors-id->

Replication: Key Based Incremental

Replication Key: start\_modified\_at, end\_modified\_at

**Fields**

| Name                       | Data Type |
| -------------------------- | --------- |
| status                     | STRING    |
| id                         | STRING    |
| survey\_id                 | STRING    |
| type                       | STRING    |
| name                       | STRING    |
| thank\_you\_message        | STRING    |
| thank\_you\_page           | RECORD    |
| disqualification\_message  | STRING    |
| disqualification\_url      | STRING    |
| close\_date                | TIMESTAMP |
| closed\_page\_message      | STRING    |
| redirect\_url              | STRING    |
| display\_survey\_results   | BOOLEAN   |
| edit\_response\_type       | STRING    |
| anonymous\_type            | STRING    |
| allow\_multiple\_responses | BOOLEAN   |
| date\_modified             | TIMESTAMP |
| url                        | STRING    |
| date\_created              | TIMESTAMP |
| password\_enabled          | BOOLEAN   |
| response\_limit            | NUMERIC   |
| redirect\_type             | STRING    |
| respondent\_authentication | BOOLEAN   |
| href                       | STRING    |

### survey\_categories <a href="#billable-items" id="billable-items"></a>

Purpose: This API is used to fetch all the categories of surveys

Source API Documentation: <https://api.surveymonkey.com/v3/docs?api_key=3yr7n6m8sjwvm48x8nhxej52#api-endpoints-get-survey_categories>

Replication: Full Replication

Replication Key: N/A

**Fields**

| Name | Data Type |
| ---- | --------- |
| name | STRING    |
| id   | STRING    |

### survey\_templates <a href="#billable-items" id="billable-items"></a>

Purpose: This API is used to fetch all templates of the given account

Source API Documentation: <https://api.surveymonkey.com/v3/docs?api_key=3yr7n6m8sjwvm48x8nhxej52#api-endpoints-get-survey_templates>

Replication: Full Replication

Replication Key: N/A

**Fields**

| Name           | Data Type |
| -------------- | --------- |
| category       | STRING    |
| name           | STRING    |
| description    | STRING    |
| title          | STRING    |
| available      | BOOLEAN   |
| num\_questions | NUMERIC   |
| id             | STRING    |
| preview\_link  | STRING    |

### contacts <a href="#billable-items" id="billable-items"></a>

Purpose: This API is used to fetch all contact details in the account

Source API Documentation: <https://api.surveymonkey.com/v3/docs?api_key=3yr7n6m8sjwvm48x8nhxej52#api-endpoints-get-contacts>

Replication: Full Replication

Replication Key: N/A

**Fields**

| Name        | Data Type |
| ----------- | --------- |
| id          | STRING    |
| first\_name | STRING    |
| last\_name  | STRING    |
| email       | STRING    |
| href        | STRING    |
| status      | STRING    |

### rollups <a href="#billable-items" id="billable-items"></a>

Purpose: This API is used to fetch rollups for all questions in a survey

Source API Documentation: <https://api.surveymonkey.com/v3/docs?api_key=3yr7n6m8sjwvm48x8nhxej52#api-endpoints-get-surveys-id-rollups>

Replication: Key Based Incremental

Replication Key: start\_modified\_at, end\_modified\_at

**Fields**

| Name    | Data Type |
| ------- | --------- |
| id      | STRING    |
| family  | STRING    |
| subtype | STRING    |
| href    | STRING    |
| summary | RECORD    |

### trends <a href="#billable-items" id="billable-items"></a>

Purpose: This API is used to fetch answer trends hour wise

Source API Documentation: <https://api.surveymonkey.com/v3/docs?api_key=3yr7n6m8sjwvm48x8nhxej52#api-endpoints-get-surveys-id-trends>

Replication: Key Based Incremental

Replication Key: start\_modified\_at, end\_modified\_at

**Fields**

| Name      | Data Type |
| --------- | --------- |
| id        | STRING    |
| family    | STRING    |
| subtype   | STRING    |
| href      | STRING    |
| trend\_by | STRING    |
| answered  | NUMERIC   |
| skipped   | NUMERIC   |
| trends    | RECORD    |
