# Wootric (v1)

Information note **Wootric (v1) deprecation**

This version of Wootric will be deprecated on **October 17, 2017**.

[Upgrade to the latest version (v1) to continue replicating data.](https://help.qlik.com/en-US/stitch/integrations/saas/wootric)

Information note **Wootric is supported by the Singer community**   
This integration is powered by [Singer's](https://www.singer.io/) Wootric tap. For support, [visit the GitHub repo](https://github.com/singer-io/tap-wootric) or [join the Singer Slack](https://singer-slackin.herokuapp.com/).

## Wootric integration summary

Stitch’s Wootric integration replicates data using the [Wootric API](https://docs.wootric.com/api/). Refer to the [Schema](https://help.qlik.com/en-US/stitch/integrations/saas/wootric#schema) section for a list of objects available for replication.

## Wootric feature snapshot

A high-level look at Stitch's Wootric (v1) integration, including release status, useful links, and the features supported in Stitch.

| **STITCH** |  |  |  |
| --- | --- | --- | --- |
| **[Release status](https://help.qlik.com/en-US/stitch/integrations/identify-an-integration-version)** | Deprecated on October 17, 2017 | **Supported by**<br><br>the Info icon<br><br>Indicates if the integration is supported by Stitch or the Singer community. | [Singer Community](https://www.singer.io/) |
| **Stitch plan**<br><br>the Info icon<br><br>The type of Stitch plan required to use the integration. | Standard | **[API availability](https://help.qlik.com/en-US/stitch/developers/stitch-connect/guides/source-destination-reference)**<br><br>the Info icon<br><br>Indicates if the integration is available as a source in Stitch Connect. | the Remove icon<br><br>This version of the integration isn't available via the API.<br><br><br>Not available |
| **Singer GitHub repository** | [singer-io/tap-wootric](https://github.com/singer-io/tap-wootric) |  |  |
| **REPLICATION SETTINGS** |  |  |  |
| **[Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/anchor-scheduling)**<br><br>the Info icon<br><br>A type of replication scheduling where an integration's Replication Frequency is anchored to a time you select. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **[Advanced Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/advanced-scheduling)**<br><br>the Info icon<br><br>A type of replication scheduling that allows you to specify granular start times for data extraction using cron expressions. | the Remove icon<br><br>Advanced Scheduling is not supported for this integration.<br><br><br>Unsupported |
| **Table-level reset**<br><br>the Info icon<br><br>Indicates if data can be reset at the table level. If unsupported, data can only be reset at the integration level. | the Remove icon<br><br>Table-level resets are not supported for this integration. Resets are only supported at the integration level.<br><br><br>Unsupported | **[Configurable Replication Methods](https://help.qlik.com/en-US/stitch/replication/replication-methods)**<br><br>the Info icon<br><br>Indicates if Replication Methods can be defined by you for tables in the integration. | the Remove icon<br><br>Configurable Replication Methods are not supported for this integration. Stitch will use pre-defined replication methods for tables you set to replicate.<br><br><br>Unsupported |
| **DATA SELECTION** |  |  |  |
| **Table selection**<br><br>the Info icon<br><br>The ability to select individual tables for replication in the Stitch interface. If table selection is unavailable, all tables and all the columns they contain will be set to replicate by default. | the Remove icon<br><br>Table selection is not supported for this integration. All available table and fields will be automatically selected for replication.<br><br><br>Unsupported | **Column selection**<br><br>the Info icon<br><br>The ability to select individual columns for replication in the Stitch interface. If column selection is unavailable, all columns will be set to replicate by default. | the Remove icon<br><br>Column selection is not supported for this integration. All available columns in tables set to replicate will be selected.<br><br><br>Unsupported |
| **Select all**<br><br>the Info icon<br><br>Indicates if the integration supports selecting all available tables and columns. | the Remove icon<br><br>As this integration doesn't support table or column selection, all available tables and columns are automatically replicated.<br><br><br>Unsupported |  |  |
| **TRANSPARENCY** |  |  |  |
| **[Extraction Logs](https://help.qlik.com/en-US/stitch/replication/extractions/integration-extraction-logs)**<br><br>the Info icon<br><br>Logs detailing the Extraction phase of the replication process for a given integration. Includes error info, should an error occur. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **[Loading Reports](https://help.qlik.com/en-US/stitch/replication/integration-loading-reports)**<br><br>the Info icon<br><br>Reports detailing the Loading phase of the replication process for a given integration. Includes the number of rows loaded for each table and error info, should an error occur. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |

## Connecting Wootric

### Step 1: Retrieve your Wootric API credentials

1. Sign into your Wootric account.

2. Click the **user menu** in the top right corner, then **Settings**.

3. Click **API** in the left nav tab.

4. Your Client ID and Client Secret will display:

   ![Wootric API credentials.](https://help.qlik.com/en-US/stitch/images/integrations/wootric-api-credentials.png)Wootric API credentials.Wootric API credentials.

Leave this page open for now - you’ll need it to complete the setup in Stitch.

### Step 2: Add Wootric as a Stitch data source

1. [Sign into your Stitch account](https://app.stitchdata.com/).

2. On the Stitch Dashboard page, click the **Add Integration** button.

3. Click the **Wootric** icon.

4. Enter a name for the integration. This is the name that will display on the Stitch Dashboard for the integration; it’ll also be used to create the schema in your destination.

   For example, the name “Stitch Wootric” would create a schema called `stitch_wootric` in the destination. **Note**: Schema names cannot be changed after you save the integration.

5. In the **Client ID** field, paste your Wootric Client ID.

6. In the **Client Secret** field, paste your Wootric Client Secret.

### Step 3: Define the historical replication start date

The Sync Historical Data setting defines the starting date for your Wootric integration. This means that data **equal to or newer than this date** will be replicated to your data warehouse.

Change this setting if you want to replicate data beyond Wootric’s default setting of **1 year**. For a detailed look at historical replication jobs, check out the [Syncing Historical SaaS Data](https://help.qlik.com/en-US/stitch/replication/syncing-historical-saas-data-resetting-replication-keys) guide.

### Step 4: Create a replication schedule

Information note Replication schedules affect the time Extraction begins, not the time to data loaded. Refer to the [Replication Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling) documentation for more information.

In the **Replication Frequency** section, you’ll create the integration’s [replication schedule](https://help.qlik.com/en-US/stitch/replication/replication-scheduling). An integration’s replication schedule determines how often Stitch runs a replication job, and the time that job begins.

Wootric integrations support the following replication scheduling methods:

* [Replication Frequency](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/replication-frequency)

* [Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/anchor-scheduling)

To keep your row usage low, consider setting the integration to replicate less frequently. See the [Understanding and Reducing Your Row Usage guide](https://help.qlik.com/en-US/stitch/getting-started/understanding-stitch-usage) for tips on reducing your usage.

### Initial and historical replication jobs

After you finish setting up Wootric, its **Sync Status** may show as **Pending** on either the Stitch Dashboard or in the Integration Details page.

For a new integration, a **Pending** status indicates that Stitch is in the process of scheduling the initial replication job for the integration. **This may take some time to complete.**

Information note

**Initial replication jobs with Anchor Scheduling**

If using Anchor Scheduling, an initial replication job may not kick off immediately. This depends on the selected Replication Frequency and Anchor Time. Refer to the [Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling#job-scheduling-and-anchor-times) documentation for more information.

#### Free historical data loads

The first seven days of replication, beginning when data is first replicated, are free. Rows replicated from the new integration during this time won’t count towards your quota. Stitch offers this as a way of testing new integrations, measuring usage, and ensuring historical data volumes don’t quickly consume your quota.

Information note **Replication will continue after the seven days are over**. If you’re no longer interested in this source, be sure to **pause** or **delete** the integration to prevent unwanted usage.

## Wootric table reference

Information note

**Schemas and versioning**

Schemas and naming conventions can change from version to version, so we recommend verifying your integration’s version before continuing.

The schema and info displayed below is for **version 1** of this integration.

This is the latest version of the Wootric integration.

Information note

**Table and column names in your destination**

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

For example: Object names are lowercased in Redshift (`CusTomERs` &gt; `customers`), while case is maintained in PostgreSQL destinations (`CusTomERs` &gt; `CusTomERs`). Refer to the [Loading Guide](https://help.qlik.com/en-US/stitch/replication/loading/destination-guides) for your destination for more info.

### declines

The `declines` table contains info about declines, or the instances where a user is presented with a survey opportunity and opts out.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [declines schema on GitHub](https://github.com/singer-io/tap-wootric/blob/master/tap_wootric/schemas/declines.json "Opens in new tab: declines schema on GitHub")<br><br><br>[Wootric API method](http://docs.wootric.com/api/#get-all-declines "Opens in new tab: Wootric API method") |

declines table foreign keys

| Join declines with | on |
| --- | --- |
| [end_users](https://help.qlik.com/en-US/stitch/integrations/saas/wootric#end-users) | ```<br>declines.end_user_id = end_users.id<br>``` |
| [responses](https://help.qlik.com/en-US/stitch/integrations/saas/wootric#responses) | ```<br>declines.end_user_id = responses.end_user_id<br>```<br><br>```<br>declines.survey_id = responses.survey_id<br>``` |

declines table schema

| **created\_at**<br><br><br>DATE-TIME |
| --- |
| **end\_user\_id**<br><br><br>INTEGER |
| **id**<br><br><br>INTEGER |
| **survey\_id**<br><br><br>INTEGER |
| **updated\_at**<br><br><br>DATE-TIME |

### end\_users

The `end_users` table contains info about end users.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [end_users schema on GitHub](https://github.com/singer-io/tap-wootric/blob/master/tap_wootric/schemas/end_users.json "Opens in new tab: end_users schema on GitHub")<br><br><br>[Wootric API method](https://docs.wootric.com/api/#get-all-end-users "Opens in new tab: Wootric API method") |

end\_users table foreign keys

| Join end\_users with | on |
| --- | --- |
| [declines](https://help.qlik.com/en-US/stitch/integrations/saas/wootric#declines) | ```<br>end_users.id = declines.end_user_id<br>``` |
| [responses](https://help.qlik.com/en-US/stitch/integrations/saas/wootric#responses) | ```<br>end_users.id = responses.end_user_id<br>``` |

end\_users table schema

| **created\_at**<br><br><br>DATE-TIME |
| --- |
| **email**<br><br><br>STRING |
| **external\_created\_at**<br><br><br>INTEGER |
| **id**<br><br><br>INTEGER |
| **last\_surveyed**<br><br>DATE-TIME |
| **page\_views\_count**<br><br><br>INTEGER |
| **updated\_at**<br><br><br>DATE-TIME |

### responses

The `responses` table contains info about end user responses to surveys.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [responses schema on GitHub](https://github.com/singer-io/tap-wootric/blob/master/tap_wootric/schemas/responses.json "Opens in new tab: responses schema on GitHub")<br><br><br>[Wootric API method](http://docs.wootric.com/api/#get-all-responses "Opens in new tab: Wootric API method") |

responses table foreign keys

| Join responses with | on |
| --- | --- |
| [declines](https://help.qlik.com/en-US/stitch/integrations/saas/wootric#declines) | ```<br>responses.end_user_id = declines.end_user_id<br>```<br><br>```<br>responses.survey_id = declines.survey_id<br>``` |
| [end_users](https://help.qlik.com/en-US/stitch/integrations/saas/wootric#end-users) | ```<br>responses.end_user_id = end_users.id<br>``` |

responses table schema

| **completed**<br><br><br>BOOLEAN |
| --- |
| **created\_at**<br><br><br>DATE-TIME |
| **end\_user\_id**<br><br><br>INTEGER |
| **excluded\_from\_calculations**<br><br><br>BOOLEAN |
| **id**<br><br><br>INTEGER |
| **ip\_address**<br><br><br>STRING |
| **origin\_url**<br><br><br>STRING |
| **score**<br><br><br>INTEGER |
| **survey\_id**<br><br><br>INTEGER |
| **tags**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **text**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |