# Help Scout

Help Scout is an easy-to-use help desk software that enables small companies to provide their contacts with personalized support.

Help Scout integration replicates data using the [Help Scout Mailbox API 2.0](https://developer.helpscout.com/mailbox-api/).

See the [Schema](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-HelpScout.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.

You must have administrative privileges to create an app in your Help Scout account.

To create your App ID and App secret:

1. Log into your [Help Scout](https://secure.helpscout.net/members/login/) account.
2. Navigate to User profile &gt; My Apps.
3. Click Create My App.
4. In App Name, enter a name for the application.
5. In Redirection URL, make sure it is set to https://connector.qlik.com/auth/oauth/v3.htm.
6. Click Create.
7. Copy and paste your App ID and App secret into a secured file.

## 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. Click Authenticate when you have filled in the required connection settings.

   You may be asked to log in to the source application.

   A window is displayed with an authentication code.

2. Copy the code to the clipboard and return to the connection dialog.

3. Paste the code in Complete authentication with the code provided by the source and click Verify.

   Tip noteYou may need to scroll down to see this field.

   When status is Verified, the authentication is verified.

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

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

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. |
| App ID | App ID. |
| App Secret | App Secret. |

## Schema

Information note

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.

### conversation\_threads

The `conversation_threads` table contains info about the threads that make up [`conversations`](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-HelpScout.htm#conversations).

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | id |
| **Replication Key** | created\_at |
| **Useful links** | [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/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-HelpScout.htm#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/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-HelpScout.htm#customers) | ```<br>conversation_threads.customer.id = customers.id<br>``` |
| [users](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-HelpScout.htm#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:<br><br><ul><li>text: STRING</li><li>type: STRING</li></ul> |
| --- |
| **assigned\_to**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>email: STRING</li><li>first: STRING</li><li>id: INTEGER</li><li>last: STRING</li><li>photo_url: STRING</li><li>type: STRING</li></ul> |
| **attachments**<br><br>ARRAY<br><br>This is a nested data structure. |
| **bcc**<br><br>ARRAY<br><br>This is a nested data structure. |
| **body**<br><br><br>STRING |
| **cc**<br><br>ARRAY<br><br>This is a nested data structure. |
| **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:<br><br><ul><li>email: STRING</li><li>first: STRING</li><li>id: INTEGER</li><li>last: STRING</li><li>photo_url: STRING</li><li>type: STRING</li></ul> |
| **customer**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>email: STRING</li><li>first: STRING</li><li>id: INTEGER</li><li>last: STRING</li><li>photo_url: STRING</li></ul> |
| **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:<br><br><ul><li>type: STRING</li><li>via: STRING</li></ul> |
| **state**<br><br><br>STRING |
| **status**<br><br><br>STRING |
| **to**<br><br>ARRAY<br><br>This is a nested data structure. |
| **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** | CDC |
| --- | --- |
| **Primary Key** | id |
| **Replication Key** | updated\_at |
| **Useful links** | [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/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-HelpScout.htm#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/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-HelpScout.htm#customers) | ```<br>conversations.primary_customer.id = customers.id<br>``` |
| [mailbox_folders](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-HelpScout.htm#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/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-HelpScout.htm#mailbox-fields) | ```<br>conversations.mailbox_id = mailbox_fields.mailbox_id<br>``` |
| [mailboxes](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-HelpScout.htm#mailboxes) | ```<br>conversations.mailbox_id = mailboxes.id<br>``` |
| [workflows](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-HelpScout.htm#workflows) | ```<br>conversations.mailbox_id = workflows.mailbox_id<br>``` |
| [users](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-HelpScout.htm#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:<br><br><ul><li>email: STRING</li><li>first: STRING</li><li>id: INTEGER</li><li>last: STRING</li><li>photo_url: STRING</li><li>type: STRING</li></ul> |
| --- |
| **bcc**<br><br>ARRAY<br><br>This is a nested data structure. |
| **cc**<br><br>ARRAY<br><br>This is a nested data structure. |
| **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:<br><br><ul><li>email: STRING</li><li>first: STRING</li><li>id: INTEGER</li><li>last: STRING</li><li>photo_url: STRING</li><li>type: STRING</li></ul> |
| **custom\_fields**<br><br>ARRAY<br><br>This is a nested data structure:<br><br><ul><li>id: INTEGER</li><li>name: STRING</li><li>text: STRING</li><li>value: STRING</li></ul> |
| **customer\_waiting\_since**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>friendly: STRING</li><li>last_reply_from: STRING</li><li>time: DATE-TIME</li></ul> |
| **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:<br><br><ul><li>email: STRING</li><li>first: STRING</li><li>id: INTEGER</li><li>last: STRING</li><li>photo_url: STRING</li><li>type: STRING</li></ul> |
| **source**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>type: STRING</li><li>via: STRING</li></ul> |
| **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:<br><br><ul><li>color: STRING</li><li>id: INTEGER</li><li>tag: STRING</li></ul> |
| **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** | CDC |
| --- | --- |
| **Primary Key** | id |
| **Replication Key** | updated\_at |
| **Useful links** | [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/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-HelpScout.htm#conversation-threads) | ```<br>customers.id = conversation_threads.customer.id<br>``` |
| [conversations](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-HelpScout.htm#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:<br><br><ul><li>city: STRING</li><li>country: STRING</li><li>lines: ARRAY, which is also a nested data structure.</li><li>postal_code: STRING</li><li>state: STRING</li></ul> |
| --- |
| **age**<br><br><br>STRING |
| **background**<br><br><br>STRING |
| **chats**<br><br>ARRAY<br><br>This is a nested data structure:<br><br><ul><li>id: INTEGER</li><li>type: STRING</li><li>value: STRING</li></ul> |
| **created\_at**<br><br><br>DATE-TIME |
| **emails**<br><br>ARRAY<br><br>This is a nested data structure:<br><br><ul><li>id: INTEGER</li><li>type: STRING</li><li>value: STRING</li></ul> |
| **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:<br><br><ul><li>id: INTEGER</li><li>type: STRING</li><li>value: STRING</li></ul> |
| **photo\_type**<br><br><br>STRING |
| **photo\_url**<br><br><br>STRING |
| **properties**<br><br>ARRAY<br><br>This is a nested data structure:<br><br><ul><li>name: STRING</li><li>type: STRING</li><li>value: STRING</li></ul> |
| **social\_profiles**<br><br>ARRAY<br><br>This is a nested data structure:<br><br><ul><li>id: INTEGER</li><li>type: STRING</li><li>value: STRING</li></ul> |
| **updated\_at**<br><br><br>DATE-TIME |
| **websites**<br><br>ARRAY<br><br>This is a nested data structure:<br><br><ul><li>id: INTEGER</li><li>value: STRING</li></ul><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** | Full Table |
| --- | --- |
| **Primary Keys** | conversation\_id<br><br>rating\_created\_at<br><br>rating\_customer\_id |
| **Useful links** | [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** | Full Table |
| --- | --- |
| **Primary Key** | id |
| **Useful links** | [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/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-HelpScout.htm#conversations) | ```<br>mailbox_fields.mailbox_id = conversations.mailbox_id<br>``` |
| [mailbox_folders](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-HelpScout.htm#mailbox-folders) | ```<br>mailbox_fields.mailbox_id = mailbox_folders.mailbox_id<br>``` |
| [mailboxes](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-HelpScout.htm#mailboxes) | ```<br>mailbox_fields.mailbox_id = mailboxes.id<br>``` |
| [workflows](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-HelpScout.htm#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:<br><br><ul><li>id: INTEGER</li><li>label: STRING</li><li>order: INTEGER</li></ul> |
| **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** | CDC |
| --- | --- |
| **Primary Key** | id |
| **Replication Key** | updated\_at |
| **Useful links** | [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/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-HelpScout.htm#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/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-HelpScout.htm#mailbox-fields) | ```<br>mailbox_folders.mailbox_id = mailbox_fields.mailbox_id<br>``` |
| [mailboxes](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-HelpScout.htm#mailboxes) | ```<br>mailbox_folders.mailbox_id = mailboxes.id<br>``` |
| [workflows](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-HelpScout.htm#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** | CDC |
| --- | --- |
| **Primary Key** | id |
| **Replication Key** | updated\_at |
| **Useful links** | [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/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-HelpScout.htm#conversations) | ```<br>mailboxes.id = conversations.mailbox_id<br>``` |
| [mailbox_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-HelpScout.htm#mailbox-fields) | ```<br>mailboxes.id = mailbox_fields.mailbox_id<br>``` |
| [mailbox_folders](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-HelpScout.htm#mailbox-folders) | ```<br>mailboxes.id = mailbox_folders.mailbox_id<br>``` |
| [workflows](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-HelpScout.htm#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** | Full Table |
| --- | --- |
| **Primary Keys** | team\_id<br><br>user\_id |
| **Useful links** | [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** | CDC |
| --- | --- |
| **Primary Key** | id |
| **Replication Key** | updated\_at |
| **Useful links** | [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** | CDC |
| --- | --- |
| **Primary Key** | id |
| **Replication Key** | updated\_at |
| **Useful links** | [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/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-HelpScout.htm#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/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-HelpScout.htm#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** | CDC |
| --- | --- |
| **Primary Key** | id |
| **Replication Key** | modified\_at |
| **Useful links** | [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/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-HelpScout.htm#conversations) | ```<br>workflows.mailbox_id = conversations.mailbox_id<br>``` |
| [mailbox_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-HelpScout.htm#mailbox-fields) | ```<br>workflows.mailbox_id = mailbox_fields.mailbox_id<br>``` |
| [mailbox_folders](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-HelpScout.htm#mailbox-folders) | ```<br>workflows.mailbox_id = mailbox_folders.mailbox_id<br>``` |
| [mailboxes](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-HelpScout.htm#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 |