# Help Scout (v1)

Information note **Help Scout extraction is supported by Stitch**   
This integration is powered by [Singer's](https://www.singer.io/) Help Scout tap and certified by Stitch. [Check out and contribute to the repo on GitHub](https://github.com/singer-io/tap-helpscout).  
  
For support, contact [Support](https://community.qlik.com/t5/Support/ct-p/qlikSupport).

## Help Scout integration summary

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

## Help Scout feature snapshot

A high-level look at Stitch's Help Scout (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)** | Released on July 30, 2019 | **Supported by**<br><br>the Info icon<br><br>Indicates if the integration is supported by Stitch or the Singer community. | [Stitch](https://community.qlik.com/t5/Support/ct-p/qlikSupport) |
| **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 Success icon<br><br>This version of the integration is available via the API.<br><br><br>Available |
| **Singer GitHub repository** | [singer-io/tap-helpscout](https://github.com/singer-io/tap-helpscout) |  |  |
| **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 Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **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 Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |
| **Select all**<br><br>the Info icon<br><br>Indicates if the integration supports selecting all available tables and columns. | the Success icon<br><br>Supported<br><br><br>Supported |  |  |
| **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 Help Scout

### Help Scout setup requirements

To set up Help Scout in Stitch, you need:

* **An active, invited Help Scout user.** The Help Scout user setting up the integration in Stitch must be [active and invited in Help Scout](https://developer.helpscout.com/mailbox-api/overview/authentication/).

  To verify a user’s status, click **Manage &gt; Users** in Help Scout.

### Step 1: Add Help Scout 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 **Help Scout** 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 Help Scout” would create a schema called `stitch_help_scout` in the destination. **Note**: Schema names cannot be changed after you save the integration.

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

The Sync Historical Data setting defines the starting date for your Help Scout 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 Help Scout’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 3: Create a replication schedule

When finished, click the **Authorize** button to continue.

### Step 4: Authorize Stitch to access Help Scout

![](https://help.qlik.com/en-US/stitch/images/integrations/helpscout-authorize-stitch.png)

1. After you click **Authorize** in Stitch, you’ll be prompted to sign into your Help Scout account. Enter your Help Scout credentials and click **Log in**.
2. On the next page, click the **Authorize** button to continue.
3. After the authorization process is successfully completed, you’ll be directed back to Stitch.
4. Click **All Done**.

### Step 5: Set objects to replicate

Information note **Is an object missing or not replicating?** Verify that the object meets the requirements for [selection](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#selection-requirements) and [replication](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#replication-requirements).

The last step is to select the tables and columns you want to replicate. [Learn about the available tables for this integration.](https://help.qlik.com/en-US/stitch/integrations/saas/helpscout#schema)

**Note**: If a replication job is currently in progress, new selections won’t be used until the next job starts.

* Selection options
* Individual tables and columns
* All tables and columns

For Help Scout integrations, you can select:

1. **Individual tables and columns**

2. **All tables and columns**

Click the tabs to view instructions for each selection method.

1. In the integration’s **Tables to Replicate tab**, locate a table you want to replicate.

2. To track a table, click the **checkbox** next to the table’s name. A blue checkmark means the table is set to replicate.

3. To track a column, click the **checkbox** next to the column’s name. A blue checkmark means the column is set to replicate.

4. Repeat this process for all the tables and columns you want to replicate.

5. When finished, click the **Finalize Your Selections** button at the bottom of the screen to save your selections.

Information note **Important**: Using the **Select All** feature will overwrite any previous selections. However, selections aren’t final until **Finalize Your Selections** is clicked. Clicking **Cancel** will restore your previous selections. Refer to the [Select All guide](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#set-all-data-to-replicate) for more info about this feature.

1. Click into the integration from the Stitch Dashboard page.

2. Click the **Tables to Replicate** tab.

3. In the list of tables, click the box next to the **Table Names** column.

4. In the menu that displays, click **Track all Tables and Fields**:

   ![The Track all Tables and Fields menu in the Tables to Replicate tab](https://help.qlik.com/en-US/stitch/images/replication/select-all-tables-menu.png)The Track all Tables and Fields menu in the Tables to Replicate tabThe Track all Tables and Fields menu in the Tables to Replicate tab

5. Click the **Finalize Your Selections** button at the bottom of the page to save your data selections.

### Initial and historical replication jobs

After you finish setting up Help Scout, 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.

## Help Scout 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 Help Scout 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.

### conversation\_threads

The `conversation_threads` table contains info about the threads that make up [`conversations`](https://help.qlik.com/en-US/stitch/integrations/saas/helpscout#conversations).

| **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)** | created\_at |
| **Useful links** | [conversation_threads schema on GitHub](https://github.com/singer-io/tap-helpscout/blob/master/tap_helpscout/schemas/conversation_threads.json "Opens in new tab: conversation_threads schema on GitHub")<br><br><br>[Help Scout API method](https://developer.helpscout.com/mailbox-api/endpoints/conversations/threads/list/ "Opens in new tab: Help Scout API method") |

conversation\_threads table foreign keys

| Join conversation\_threads with | on |
| --- | --- |
| [conversations](https://help.qlik.com/en-US/stitch/integrations/saas/helpscout#conversations) | ```<br>conversation_threads.conversation_id = conversations.id<br>```<br><br>```<br>conversation_threads.customer.id = conversations.primary_customer.id<br>```<br><br>```<br>conversation_threads.assigned_to.id = conversations.assignee.id<br>```<br><br>```<br>conversation_threads.created_by.id = conversations.assignee.id<br>```<br><br>```<br>conversation_threads.assigned_to.id = conversations.closed_by<br>```<br><br>```<br>conversation_threads.created_by.id = conversations.closed_by<br>```<br><br>```<br>conversation_threads.assigned_to.id = conversations.created_by.id<br>```<br><br>```<br>conversation_threads.created_by.id = conversations.created_by.id<br>``` |
| [customers](https://help.qlik.com/en-US/stitch/integrations/saas/helpscout#customers) | ```<br>conversation_threads.customer.id = customers.id<br>``` |
| [users](https://help.qlik.com/en-US/stitch/integrations/saas/helpscout#users) | ```<br>conversation_threads.assigned_to.id = users.id<br>```<br><br>```<br>conversation_threads.created_by.id = users.id<br>``` |

conversation\_threads table schema

| **action**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand action<br><br><table> <tr> <td> <p> <strong>								text							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| --- |
| **assigned\_to**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand assigned\_to<br><br><table> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								last							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								photo_url							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **attachments**<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;. |
| **bcc**<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;. |
| **body**<br><br><br>STRING |
| **cc**<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;. |
| **conversation\_id**<br><br><br>INTEGER |
| **created\_at**<br><br><br>DATE-TIME |
| **created\_by**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand created\_by<br><br><table> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								last							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								photo_url							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **customer**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand customer<br><br><table> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								last							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								photo_url							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **id**<br><br><br>INTEGER |
| **opened\_at**<br><br><br>DATE-TIME |
| **saved\_reply\_id**<br><br><br>INTEGER |
| **source**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand source<br><br><table> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								via							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **state**<br><br><br>STRING |
| **status**<br><br><br>STRING |
| **to**<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;. |
| **type**<br><br><br>STRING |

### conversations

The `conversations` table contains info about the conversations in your Help Scout mailbox. Stitch will replicate all conversations, including active, closed, open, pending, and spam.

**Note**: If custom fields are available, Stitch will replicate them.

| **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** | [conversations schema on GitHub](https://github.com/singer-io/tap-helpscout/blob/master/tap_helpscout/schemas/conversations.json "Opens in new tab: conversations schema on GitHub")<br><br><br>[Help Scout API method](https://developer.helpscout.com/mailbox-api/endpoints/conversations/list/ "Opens in new tab: Help Scout API method") |

conversations table foreign keys

| Join conversations with | on |
| --- | --- |
| [conversation_threads](https://help.qlik.com/en-US/stitch/integrations/saas/helpscout#conversation-threads) | ```<br>conversations.id = conversation_threads.conversation_id<br>```<br><br>```<br>conversations.primary_customer.id = conversation_threads.customer.id<br>```<br><br>```<br>conversations.assignee.id = conversation_threads.assigned_to.id<br>```<br><br>```<br>conversations.closed_by = conversation_threads.assigned_to.id<br>```<br><br>```<br>conversations.created_by.id = conversation_threads.assigned_to.id<br>```<br><br>```<br>conversations.assignee.id = conversation_threads.created_by.id<br>```<br><br>```<br>conversations.closed_by = conversation_threads.created_by.id<br>```<br><br>```<br>conversations.created_by.id = conversation_threads.created_by.id<br>``` |
| [customers](https://help.qlik.com/en-US/stitch/integrations/saas/helpscout#customers) | ```<br>conversations.primary_customer.id = customers.id<br>``` |
| [mailbox_folders](https://help.qlik.com/en-US/stitch/integrations/saas/helpscout#mailbox-folders) | ```<br>conversations.folder_id = mailbox_folders.id<br>```<br><br>```<br>conversations.mailbox_id = mailbox_folders.mailbox_id<br>``` |
| [mailbox_fields](https://help.qlik.com/en-US/stitch/integrations/saas/helpscout#mailbox-fields) | ```<br>conversations.mailbox_id = mailbox_fields.mailbox_id<br>``` |
| [mailboxes](https://help.qlik.com/en-US/stitch/integrations/saas/helpscout#mailboxes) | ```<br>conversations.mailbox_id = mailboxes.id<br>``` |
| [workflows](https://help.qlik.com/en-US/stitch/integrations/saas/helpscout#workflows) | ```<br>conversations.mailbox_id = workflows.mailbox_id<br>``` |
| [users](https://help.qlik.com/en-US/stitch/integrations/saas/helpscout#users) | ```<br>conversations.assignee.id = users.id<br>```<br><br>```<br>conversations.closed_by = users.id<br>```<br><br>```<br>conversations.created_by.id = users.id<br>``` |

conversations table schema

| **assignee**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand assignee<br><br><table> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								last							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								photo_url							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| --- |
| **bcc**<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;. |
| **cc**<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;. |
| **closed\_at**<br><br><br>DATE-TIME |
| **closed\_by**<br><br><br>INTEGER |
| **created\_at**<br><br><br>DATE-TIME |
| **created\_by**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand created\_by<br><br><table> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								last							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								photo_url							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **custom\_fields**<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;.<br><br>Click to expand custom\_fields<br><br><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								text							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								value							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **customer\_waiting\_since**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand customer\_waiting\_since<br><br><table> <tr> <td> <p> <strong>								friendly							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_reply_from							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								time							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> </table> |
| **folder\_id**<br><br><br>INTEGER |
| **id**<br><br><br>INTEGER |
| **mailbox\_id**<br><br><br>INTEGER |
| **number**<br><br><br>INTEGER |
| **preview**<br><br><br>STRING |
| **primary\_customer**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand primary\_customer<br><br><table> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								last							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								photo_url							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **source**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand source<br><br><table> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								via							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **state**<br><br><br>STRING |
| **status**<br><br><br>STRING |
| **subject**<br><br><br>STRING |
| **tags**<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;.<br><br>Click to expand tags<br><br><table> <tr> <td> <p> <strong>								color							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								tag							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **threads**<br><br><br>INTEGER |
| **type**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |
| **user\_updated\_at**<br><br><br>DATE-TIME |

### customers

The `customers` table contains info about the customers in your Help Scout account.

| **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** | [customers schema on GitHub](https://github.com/singer-io/tap-helpscout/blob/master/tap_helpscout/schemas/customers.json "Opens in new tab: customers schema on GitHub")<br><br><br>[Help Scout API method](https://developer.helpscout.com/mailbox-api/endpoints/customers/list/ "Opens in new tab: Help Scout API method") |

customers table foreign keys

| Join customers with | on |
| --- | --- |
| [conversation_threads](https://help.qlik.com/en-US/stitch/integrations/saas/helpscout#conversation-threads) | ```<br>customers.id = conversation_threads.customer.id<br>``` |
| [conversations](https://help.qlik.com/en-US/stitch/integrations/saas/helpscout#conversations) | ```<br>customers.id = conversations.primary_customer.id<br>``` |

customers table schema

| **address**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand address<br><br><table> <tr> <td> <p> <strong>								city							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								lines							</strong> </p> <p> </p> <p>ARRAY																																</p><div><button><div>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;.</div></button></div> <p></p> </td> </tr> <tr> <td> <p> <strong>								postal_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| --- |
| **age**<br><br><br>STRING |
| **background**<br><br><br>STRING |
| **chats**<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;.<br><br>Click to expand chats<br><br><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								value							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **created\_at**<br><br><br>DATE-TIME |
| **emails**<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;.<br><br>Click to expand emails<br><br><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								value							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **first\_name**<br><br><br>STRING |
| **gender**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **job\_title**<br><br><br>STRING |
| **last\_name**<br><br><br>STRING |
| **location**<br><br><br>STRING |
| **organization**<br><br><br>STRING |
| **phones**<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;.<br><br>Click to expand phones<br><br><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								value							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **photo\_type**<br><br><br>STRING |
| **photo\_url**<br><br><br>STRING |
| **properties**<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;.<br><br>Click to expand properties<br><br><table> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								value							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **social\_profiles**<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;.<br><br>Click to expand social\_profiles<br><br><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								value							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **updated\_at**<br><br><br>DATE-TIME |
| **websites**<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;.<br><br>Click to expand websites<br><br><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								value							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |

### happiness\_ratings\_report

The happiness ratings report provides a company’s ratings for a specified time range.

| **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)** | Full Table |
| --- | --- |
| **Primary Keys ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | conversation\_id<br><br>rating\_created\_at<br><br>rating\_customer\_id |
| **Useful links** | [happiness_ratings_report schema on GitHub](https://github.com/singer-io/tap-helpscout/tree/master/tap_helpscout/schemas/happiness_ratings_report.json "Opens in new tab: happiness_ratings_report schema on GitHub")<br><br><br>[Help Scout API method](https://developer.helpscout.com/mailbox-api/endpoints/reports/happiness/reports-happiness-ratings/ "Opens in new tab: Help Scout API method") |

happiness\_ratings\_report table schema

| **conversation\_id**<br><br><br>INTEGER |
| --- |
| **rating\_comments**<br><br><br>STRING |
| **rating\_created\_at**<br><br><br>DATE-TIME |
| **rating\_customer\_id**<br><br><br>INTEGER |
| **rating\_customer\_name**<br><br><br>STRING |
| **rating\_id**<br><br><br>INTEGER |
| **rating\_user\_id**<br><br><br>INTEGER |
| **rating\_user\_name**<br><br><br>STRING |
| **thread\_created\_at**<br><br><br>DATE-TIME |
| **thread\_id**<br><br><br>INTEGER |
| **type**<br><br><br>STRING |

### mailbox\_fields

The `mailbox_fields` table contains info about the custom fields associated with your Help Scout mailboxes.

| **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)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [mailbox_fields schema on GitHub](https://github.com/singer-io/tap-helpscout/blob/master/tap_helpscout/schemas/mailbox_fields.json "Opens in new tab: mailbox_fields schema on GitHub")<br><br><br>[Help Scout API method](https://developer.helpscout.com/mailbox-api/endpoints/mailboxes/mailbox-fields/ "Opens in new tab: Help Scout API method") |

mailbox\_fields table foreign keys

| Join mailbox\_fields with | on |
| --- | --- |
| [conversations](https://help.qlik.com/en-US/stitch/integrations/saas/helpscout#conversations) | ```<br>mailbox_fields.mailbox_id = conversations.mailbox_id<br>``` |
| [mailbox_folders](https://help.qlik.com/en-US/stitch/integrations/saas/helpscout#mailbox-folders) | ```<br>mailbox_fields.mailbox_id = mailbox_folders.mailbox_id<br>``` |
| [mailboxes](https://help.qlik.com/en-US/stitch/integrations/saas/helpscout#mailboxes) | ```<br>mailbox_fields.mailbox_id = mailboxes.id<br>``` |
| [workflows](https://help.qlik.com/en-US/stitch/integrations/saas/helpscout#workflows) | ```<br>mailbox_fields.mailbox_id = workflows.mailbox_id<br>``` |

mailbox\_fields table schema

| **id**<br><br><br>INTEGER |
| --- |
| **mailbox\_id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **options**<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;.<br><br>Click to expand options<br><br><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								label							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								order							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table> |
| **order**<br><br><br>INTEGER |
| **required**<br><br><br>BOOLEAN |
| **type**<br><br><br>STRING |

### mailbox\_folders

The `mailbox_folders` table contains info about the mailbox folders in your Help Scout account.

| **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** | [mailbox_folders schema on GitHub](https://github.com/singer-io/tap-helpscout/blob/master/tap_helpscout/schemas/mailbox_folders.json "Opens in new tab: mailbox_folders schema on GitHub")<br><br><br>[Help Scout API method](https://developer.helpscout.com/mailbox-api/endpoints/mailboxes/mailbox-folders/ "Opens in new tab: Help Scout API method") |

mailbox\_folders table foreign keys

| Join mailbox\_folders with | on |
| --- | --- |
| [conversations](https://help.qlik.com/en-US/stitch/integrations/saas/helpscout#conversations) | ```<br>mailbox_folders.id = conversations.folder_id<br>```<br><br>```<br>mailbox_folders.mailbox_id = conversations.mailbox_id<br>``` |
| [mailbox_fields](https://help.qlik.com/en-US/stitch/integrations/saas/helpscout#mailbox-fields) | ```<br>mailbox_folders.mailbox_id = mailbox_fields.mailbox_id<br>``` |
| [mailboxes](https://help.qlik.com/en-US/stitch/integrations/saas/helpscout#mailboxes) | ```<br>mailbox_folders.mailbox_id = mailboxes.id<br>``` |
| [workflows](https://help.qlik.com/en-US/stitch/integrations/saas/helpscout#workflows) | ```<br>mailbox_folders.mailbox_id = workflows.mailbox_id<br>``` |

mailbox\_folders table schema

| **active\_count**<br><br><br>INTEGER |
| --- |
| **id**<br><br><br>INTEGER |
| **mailbox\_id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **total\_count**<br><br><br>INTEGER |
| **type**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |
| **user\_id**<br><br><br>INTEGER |

### mailboxes

The `mailboxes` table contains info about the mailboxes in your Help Scout account.

| **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** | [mailboxes schema on GitHub](https://github.com/singer-io/tap-helpscout/blob/master/tap_helpscout/schemas/mailboxes.json "Opens in new tab: mailboxes schema on GitHub")<br><br><br>[Help Scout API method](https://developer.helpscout.com/mailbox-api/endpoints/mailboxes/list/ "Opens in new tab: Help Scout API method") |

mailboxes table foreign keys

| Join mailboxes with | on |
| --- | --- |
| [conversations](https://help.qlik.com/en-US/stitch/integrations/saas/helpscout#conversations) | ```<br>mailboxes.id = conversations.mailbox_id<br>``` |
| [mailbox_fields](https://help.qlik.com/en-US/stitch/integrations/saas/helpscout#mailbox-fields) | ```<br>mailboxes.id = mailbox_fields.mailbox_id<br>``` |
| [mailbox_folders](https://help.qlik.com/en-US/stitch/integrations/saas/helpscout#mailbox-folders) | ```<br>mailboxes.id = mailbox_folders.mailbox_id<br>``` |
| [workflows](https://help.qlik.com/en-US/stitch/integrations/saas/helpscout#workflows) | ```<br>mailboxes.id = workflows.mailbox_id<br>``` |

mailboxes table schema

| **created\_at**<br><br><br>DATE-TIME |
| --- |
| **email**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **slug**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |

### team\_members

This report contains information about team members.

| **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)** | Full Table |
| --- | --- |
| **Primary Keys ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | team\_id<br><br>user\_id |
| **Useful links** | [team_members schema on GitHub](https://github.com/singer-io/tap-helpscout/tree/master/tap_helpscout/schemas/team_members.json "Opens in new tab: team_members schema on GitHub")<br><br><br>[Help Scout API method](https://developer.helpscout.com/mailbox-api/endpoints/teams/list-team-members/ "Opens in new tab: Help Scout API method") |

team\_members table schema

| **team\_id**<br><br><br>INTEGER |
| --- |
| **user\_id**<br><br><br>INTEGER |

### teams

This report contains information about all the different teams in the company.

| **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** | [teams schema on GitHub](https://github.com/singer-io/tap-helpscout/tree/master/tap_helpscout/schemas/teams.json "Opens in new tab: teams schema on GitHub")<br><br><br>[Help Scout API method](https://developer.helpscout.com/mailbox-api/endpoints/teams/list-teams/ "Opens in new tab: Help Scout API method") |

teams table schema

| **created\_at**<br><br><br>DATE-TIME |
| --- |
| **id**<br><br><br>INTEGER |
| **initials**<br><br><br>STRING |
| **mention**<br><br><br>STRING |
| **name**<br><br><br>STRING |
| **photo\_url**<br><br><br>STRING |
| **timezone**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |

### users

The `users` table contains info about the users in your Help Scout account.

| **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** | [users schema on GitHub](https://github.com/singer-io/tap-helpscout/blob/master/tap_helpscout/schemas/users.json "Opens in new tab: users schema on GitHub")<br><br><br>[Help Scout API method](https://developer.helpscout.com/mailbox-api/endpoints/users/list/ "Opens in new tab: Help Scout API method") |

users table foreign keys

| Join users with | on |
| --- | --- |
| [conversation_threads](https://help.qlik.com/en-US/stitch/integrations/saas/helpscout#conversation-threads) | ```<br>users.id = conversation_threads.assigned_to.id<br>```<br><br>```<br>users.id = conversation_threads.created_by.id<br>``` |
| [conversations](https://help.qlik.com/en-US/stitch/integrations/saas/helpscout#conversations) | ```<br>users.id = conversations.assignee.id<br>```<br><br>```<br>users.id = conversations.closed_by<br>```<br><br>```<br>users.id = conversations.created_by.id<br>``` |

users table schema

| **created\_at**<br><br><br>DATE-TIME |
| --- |
| **email**<br><br><br>STRING |
| **first\_name**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **last\_name**<br><br><br>STRING |
| **photo\_url**<br><br><br>STRING |
| **role**<br><br><br>STRING |
| **timezone**<br><br><br>STRING |
| **type**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |

### workflows

The `workflows` table contains info about the workflows in your Help Scout account.

| **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)** | modified\_at |
| **Useful links** | [workflows schema on GitHub](https://github.com/singer-io/tap-helpscout/blob/master/tap_helpscout/schemas/workflows.json "Opens in new tab: workflows schema on GitHub")<br><br><br>[Help Scout API method](https://developer.helpscout.com/mailbox-api/endpoints/workflows/list/ "Opens in new tab: Help Scout API method") |

workflows table foreign keys

| Join workflows with | on |
| --- | --- |
| [conversations](https://help.qlik.com/en-US/stitch/integrations/saas/helpscout#conversations) | ```<br>workflows.mailbox_id = conversations.mailbox_id<br>``` |
| [mailbox_fields](https://help.qlik.com/en-US/stitch/integrations/saas/helpscout#mailbox-fields) | ```<br>workflows.mailbox_id = mailbox_fields.mailbox_id<br>``` |
| [mailbox_folders](https://help.qlik.com/en-US/stitch/integrations/saas/helpscout#mailbox-folders) | ```<br>workflows.mailbox_id = mailbox_folders.mailbox_id<br>``` |
| [mailboxes](https://help.qlik.com/en-US/stitch/integrations/saas/helpscout#mailboxes) | ```<br>workflows.mailbox_id = mailboxes.id<br>``` |

workflows table schema

| **created\_at**<br><br><br>DATE-TIME |
| --- |
| **id**<br><br><br>INTEGER |
| **mailbox\_id**<br><br><br>INTEGER |
| **modified\_at**<br><br><br>DATE-TIME |
| **name**<br><br><br>STRING |
| **order**<br><br><br>INTEGER |
| **status**<br><br><br>STRING |
| **type**<br><br><br>STRING |