This integration is powered by Singer's Kustomer tap. For support, visit the GitHub repo or join the Singer Slack.
Kustomer integration summary
Stitch’s Kustomer integration replicates data using the Kustomer REST API v1. Refer to the Schema section for a list of objects available for replication.
Kustomer feature snapshot
A high-level look at Stitch's Kustomer (v1) integration, including release status, useful links, and the features supported in Stitch.
STITCH | |||
Release status |
Released on March 26, 2020 |
Supported by | |
Stitch plan |
Standard |
API availability |
Available |
Singer GitHub repository | |||
REPLICATION SETTINGS | |||
Anchor Scheduling |
Supported |
Advanced Scheduling |
Supported |
Table-level reset |
Unsupported |
Configurable Replication Methods |
Unsupported |
DATA SELECTION | |||
Table selection |
Supported |
Column selection |
Supported |
Select all |
Supported |
||
TRANSPARENCY | |||
Extraction Logs |
Supported |
Loading Reports |
Supported |
Connecting Kustomer
Kustomer setup requirements
To set up Kustomer in Stitch, you need:
-
A Kustomer admin role. Admin permissions or a role with read and write security permissions are required to create an API key in Kustomer.
Step 1: Create a Kustomer API key
- Login to your Kustomer account.
- Navigate to Settings > API Keys
- Click New API Key.
- Select the roles that can have access to the API key.
- Leave the API expriation options blank. If you set an expiration date, the API key will expire and break the connection to Stitch. In the event that this happens, you’ll need to re-generate the API key in Kustomer and enter the new key into Stitch.
- Click Create.
- Copy the API key and keep it readily available for the next step.
Note: Kustomer will only display the key once, so save it somewhere secure for future reference.
Step 2: Add Kustomer as a Stitch data source
- Sign into your Stitch account.
-
On the Stitch Dashboard page, click the Add Integration button.
-
Click the Kustomer icon.
-
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 Kustomer” would create a schema called
stitch_kustomer
in the destination. Note: Schema names cannot be changed after you save the integration. - In the API Key field, paste the API key you obtained in Step 1.
Step 3: Define the historical replication start date
The Sync Historical Data setting defines the starting date for your Kustomer 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 Kustomer’s default setting of 1 year. For a detailed look at historical replication jobs, check out the Syncing Historical SaaS Data guide.
Step 4: Create a replication schedule
In the Replication Frequency section, you’ll create the integration’s replication schedule. An integration’s replication schedule determines how often Stitch runs a replication job, and the time that job begins.
Kustomer integrations support the following replication scheduling methods:
-
Advanced Scheduling using Cron (Advanced or Premium plans only)
To keep your row usage low, consider setting the integration to replicate less frequently. See the Understanding and Reducing Your Row Usage guide for tips on reducing your usage.
Step 5: Set objects to replicate
The last step is to select the tables and columns you want to replicate. Learn about the available tables for this integration.
Note: If a replication job is currently in progress, new selections won’t be used until the next job starts.
For Kustomer integrations, you can select:
-
Individual tables and columns
-
All tables and columns
Click the tabs to view instructions for each selection method.
- In the integration’s Tables to Replicate tab, locate a table you want to replicate.
-
To track a table, click the checkbox next to the table’s name. A blue checkmark means the table is set to replicate.
-
To track a column, click the checkbox next to the column’s name. A blue checkmark means the column is set to replicate.
- Repeat this process for all the tables and columns you want to replicate.
- When finished, click the Finalize Your Selections button at the bottom of the screen to save your selections.
- Click into the integration from the Stitch Dashboard page.
-
Click the Tables to Replicate tab.
- In the list of tables, click the box next to the Table Names column.
-
In the menu that displays, click Track all Tables and Fields:
- 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 Kustomer, 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.
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 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.
Kustomer table reference
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 Kustomer integration.
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
> customers
), while case is maintained in PostgreSQL destinations (CusTomERs
> CusTomERs
). Refer to the Loading Guide for your destination for more info.
conversations
Replication Method : |
Key-based Incremental |
Replication Key |
updated_at |
Primary Key |
id |
API endpoint : |
The conversations
table contains information about conversations in the Kustomer app.
id
The conversation ID. |
||||||||||||||||||||
updated_at
|
||||||||||||||||||||
assigned_teams
|
||||||||||||||||||||
assigned_users
|
||||||||||||||||||||
channels
|
||||||||||||||||||||
created_at
|
||||||||||||||||||||
created_by
|
||||||||||||||||||||
custom
|
||||||||||||||||||||
customer
|
||||||||||||||||||||
direction
|
||||||||||||||||||||
done_count
|
||||||||||||||||||||
ended
|
||||||||||||||||||||
ended_at
|
||||||||||||||||||||
ended_by
|
||||||||||||||||||||
ended_by_type
|
||||||||||||||||||||
ended_reason
|
||||||||||||||||||||
external_id
|
||||||||||||||||||||
first_done
|
||||||||||||||||||||
first_message_in
|
||||||||||||||||||||
first_message_out
|
||||||||||||||||||||
first_response
|
||||||||||||||||||||
first_response_since_last_done
|
||||||||||||||||||||
imported_at
|
||||||||||||||||||||
last_activity_at
|
||||||||||||||||||||
last_done
|
||||||||||||||||||||
last_message_at
|
||||||||||||||||||||
last_message_direction
|
||||||||||||||||||||
last_message_in
|
||||||||||||||||||||
last_message_out
|
||||||||||||||||||||
last_message_unresponded_to
|
||||||||||||||||||||
last_message_unresponded_to_since_last_done
|
||||||||||||||||||||
last_received_at
|
||||||||||||||||||||
last_response
|
||||||||||||||||||||
links
|
||||||||||||||||||||
merged_target
|
||||||||||||||||||||
message_count
|
||||||||||||||||||||
modified_at
|
||||||||||||||||||||
modified_by
|
||||||||||||||||||||
name
|
||||||||||||||||||||
note_count
|
||||||||||||||||||||
org
|
||||||||||||||||||||
outbound_message_count
|
||||||||||||||||||||
preview
|
||||||||||||||||||||
priority
|
||||||||||||||||||||
queue
|
||||||||||||||||||||
reopen_count
|
||||||||||||||||||||
rev
|
||||||||||||||||||||
role_group_versions
|
||||||||||||||||||||
satisfaction
|
||||||||||||||||||||
satisfaction_level
|
||||||||||||||||||||
sla
|
||||||||||||||||||||
sla_data
|
||||||||||||||||||||
sla_version
|
||||||||||||||||||||
snooze
|
||||||||||||||||||||
snooze_count
|
||||||||||||||||||||
status
|
||||||||||||||||||||
suggested_shortcuts
|
||||||||||||||||||||
suggested_tags
|
||||||||||||||||||||
tags
conversations (table), tags (attribute)
|
||||||||||||||||||||
total_done
|
||||||||||||||||||||
total_open
|
||||||||||||||||||||
total_snooze
|
||||||||||||||||||||
type
|
customers
Replication Method : |
Key-based Incremental |
Replication Key |
updated_at |
Primary Key |
id |
API endpoint : |
The customers
table contains information about customers in the Kustomer app.
id
The customer ID. |
||||||||||||||||||||||||||||||||
updated_at
|
||||||||||||||||||||||||||||||||
active_users
|
||||||||||||||||||||||||||||||||
avatar_url
|
||||||||||||||||||||||||||||||||
birthday_at
|
||||||||||||||||||||||||||||||||
conversation_counts
|
||||||||||||||||||||||||||||||||
created_at
|
||||||||||||||||||||||||||||||||
created_by
|
||||||||||||||||||||||||||||||||
custom
|
||||||||||||||||||||||||||||||||
deleted
|
||||||||||||||||||||||||||||||||
display_color
|
||||||||||||||||||||||||||||||||
display_icon
|
||||||||||||||||||||||||||||||||
display_name
|
||||||||||||||||||||||||||||||||
emails
|
||||||||||||||||||||||||||||||||
external_id
|
||||||||||||||||||||||||||||||||
external_ids
|
||||||||||||||||||||||||||||||||
facebook_ids
|
||||||||||||||||||||||||||||||||
first_name
|
||||||||||||||||||||||||||||||||
gender
|
||||||||||||||||||||||||||||||||
imported_at
|
||||||||||||||||||||||||||||||||
instagram_ids
|
||||||||||||||||||||||||||||||||
last_activity_at
|
||||||||||||||||||||||||||||||||
last_conversation
|
||||||||||||||||||||||||||||||||
last_customer_activity_at
|
||||||||||||||||||||||||||||||||
last_message_at
|
||||||||||||||||||||||||||||||||
last_message_in
|
||||||||||||||||||||||||||||||||
last_message_out
|
||||||||||||||||||||||||||||||||
last_message_unresponded_to
|
||||||||||||||||||||||||||||||||
last_name
|
||||||||||||||||||||||||||||||||
last_seen_at
|
||||||||||||||||||||||||||||||||
links
|
||||||||||||||||||||||||||||||||
locale
|
||||||||||||||||||||||||||||||||
locations
|
||||||||||||||||||||||||||||||||
modified_at
|
||||||||||||||||||||||||||||||||
modified_by
|
||||||||||||||||||||||||||||||||
name
|
||||||||||||||||||||||||||||||||
org
|
||||||||||||||||||||||||||||||||
phones
|
||||||||||||||||||||||||||||||||
preview
|
||||||||||||||||||||||||||||||||
progressive_status
|
||||||||||||||||||||||||||||||||
recent_items
|
||||||||||||||||||||||||||||||||
recent_location
|
||||||||||||||||||||||||||||||||
rev
|
||||||||||||||||||||||||||||||||
role_group_versions
|
||||||||||||||||||||||||||||||||
satisfaction_level
|
||||||||||||||||||||||||||||||||
sentiment
|
||||||||||||||||||||||||||||||||
shared_emails
|
||||||||||||||||||||||||||||||||
shared_external_ids
|
||||||||||||||||||||||||||||||||
shared_phones
|
||||||||||||||||||||||||||||||||
shared_socials
|
||||||||||||||||||||||||||||||||
signed_up_at
|
||||||||||||||||||||||||||||||||
smooch_ids
|
||||||||||||||||||||||||||||||||
socials
|
||||||||||||||||||||||||||||||||
tags
|
||||||||||||||||||||||||||||||||
time_zone
|
||||||||||||||||||||||||||||||||
urls
|
||||||||||||||||||||||||||||||||
username
|
||||||||||||||||||||||||||||||||
verified
|
||||||||||||||||||||||||||||||||
watchers
|
||||||||||||||||||||||||||||||||
whatsapps
|
kobjects
Replication Method : |
Key-based Incremental |
Replication Key |
updated_at |
Primary Key |
id |
API endpoint : |
The kobjects
table contains information about Kustomer objects in the Kustomer app.
id
The KObject ID. |
||||||||||||||||||
updated_at
The date the object was last updated. |
||||||||||||||||||
created_at
|
||||||||||||||||||
custom
|
||||||||||||||||||
customer
|
||||||||||||||||||
description
|
||||||||||||||||||
external_id
|
||||||||||||||||||
icon
|
||||||||||||||||||
klass
|
||||||||||||||||||
links
|
||||||||||||||||||
org
|
||||||||||||||||||
title
|
||||||||||||||||||
type
|
messages
Replication Method : |
Key-based Incremental |
Replication Key |
updated_at |
Primary Key |
id |
API endpoint : |
The messages
table contains information about messages in the Kustomer app.
id
The message ID. |
||||||||||||||||||
updated_at
The day the message was last updated. |
||||||||||||||||||
created_at
|
||||||||||||||||||
custom
|
||||||||||||||||||
customer
|
||||||||||||||||||
description
|
||||||||||||||||||
external_id
|
||||||||||||||||||
icon
|
||||||||||||||||||
images
|
||||||||||||||||||
klass
|
||||||||||||||||||
links
|
||||||||||||||||||
org
|
||||||||||||||||||
tags
messages (table), tags (attribute)
|
||||||||||||||||||
title
|
||||||||||||||||||
type
|
Replication Method : |
Key-based Incremental |
Replication Key |
updated_at |
Primary Key |
id |
API endpoint : |
The notes
table contains information about notes in the Kustomer app.
id
The note ID. |
updated_at
|
body
|
conversation
|
created_at
|
created_by
|
customer
|
deleted
|
deleted_at
|
deleted_by
|
external_id
|
imported_at
|
links
|
modified_at
|
modified_by
|
org
|
type
|
user_mentions
|
shortcuts
Replication Method : |
Key-based Incremental |
Replication Key |
updated_at |
Primary Key |
id |
API endpoint : |
The shortcuts
table contains information about shortcuts in the Kustomer app.
id
The shortcut ID. |
||||||||||||||||||||||||||||||||
updated_at
The time the shortcut was last updated. |
||||||||||||||||||||||||||||||||
conversation
|
||||||||||||||||||||||||||||||||
created_at
|
||||||||||||||||||||||||||||||||
created_by
|
||||||||||||||||||||||||||||||||
deleted
|
||||||||||||||||||||||||||||||||
draft
|
||||||||||||||||||||||||||||||||
is_private
|
||||||||||||||||||||||||||||||||
links
|
||||||||||||||||||||||||||||||||
modified_at
|
||||||||||||||||||||||||||||||||
modified_by
|
||||||||||||||||||||||||||||||||
name
|
||||||||||||||||||||||||||||||||
org
|
||||||||||||||||||||||||||||||||
payload
|
||||||||||||||||||||||||||||||||
type
|
Replication Method : |
Key-based Incremental |
Replication Key |
updated_at |
Primary Key |
id |
API endpoint : |
The tags
table contains information about tags in the Kustomer app.
Replication Method : |
Key-based Incremental |
Replication Key |
updated_at |
Primary Key |
id |
API endpoint : |
The teams
table contains information about teams in the Kustomer app.
id
The team ID. |
updated_at
The time the team was last updated. |
created_at
|
created_by
|
deleted
|
deleted_at
|
deleted_by
|
display_name
|
icon
|
links
|
members
|
modified_at
|
modified_by
|
name
|
org
|
role_groups
|
type
|
Replication Method : |
Key-based Incremental |
Replication Key |
updated_at |
Primary Key |
id |
API endpoint : |
The users
table contains information about users in the Kustomer app.