Get started with a free trial today
Already have an account? Sign in
Stitch’s Autopilot integration replicates data using theAutopilot REST API. Refer to theSchema section for a list of objects available for replication.
A high-level look at Stitch's Autopilot (v1) integration, including release status, useful links, and the features supported in Stitch.
| STITCH | |||
| Release status | Released on August 23, 2017 | 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 | Unsupported | Column selection | Unsupported |
| Select all | Unsupported | ||
| TRANSPARENCY | |||
| Extraction Logs | Supported | Loading Reports | Supported |
Make sure you keep this key safe, as it has access to your Autopilot account. If at any time your key is lost or compromised, you can click theRegenerate button to generate a new key.Remember to also update the key in Stitch or you’ll encounter connection issues.
On the Stitch Dashboard page, click theAdd Integration button.
Click theAutopilot 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 Autopilot” would create a schema calledstitch_autopilot in the destination.Note: Schema names cannot be changed after you save the integration.
The Sync Historical Data setting defines the starting date for your Autopilot integration. This means that dataequal to or newer than this date will be replicated to your data warehouse.
Change this setting if you want to replicate data beyond Autopilot’s default setting of1 year. For a detailed look at historical replication jobs, check out theSyncing Historical SaaS Data guide.
In theReplication Frequency section, you’ll create the integration’sreplication schedule. An integration’s replication schedule determines how often Stitch runs a replication job, and the time that job begins.
Autopilot 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 theUnderstanding and Reducing Your Row Usage guide for tips on reducing your usage.
After you finish setting up Autopilot, itsSync Status may show asPending on either the Stitch Dashboard or in the Integration Details page.
For a new integration, aPending 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 theAnchor Scheduling documentation for more information.
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.
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 forversion 1 of this integration.
This is the latest version of the Autopilot 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 theLoading Guide for your destination for more info.
Thecontacts table contains info about the contacts in your Autopilot account.
Any custom fields associated with contacts will also be replicated.
Key-based Incremental | |
Primary Key | contact_id |
Replication Key | updated_at |
| Useful links |
| Join contacts with | on |
|---|---|
| lists_contacts | contacts.contact_id = lists_contacts.contact_id contacts.lists = lists_contacts.list_id |
| smart_segments_contacts | contacts.contact_id = smart_segments_contacts.contact_id |
| lists | contacts.lists = lists.list_id |
anywhere_form_submits ARRAY
| ||
anywhere_page_visits ARRAY
| ||
anywhere_utm ARRAY
| ||
company STRING | ||
company_priority BOOLEAN | ||
contact_id STRING | ||
created_at DATE-TIME | ||
STRING | ||
first_conversion_at DATE-TIME | ||
first_name STRING | ||
first_visit_at DATE-TIME | ||
last_name STRING | ||
lead_source STRING | ||
lists ARRAY | ||
mail_bounced ARRAY
| ||
mail_clicked ARRAY
| ||
mail_complained ARRAY
| ||
mail_hardbounced ARRAY
| ||
mail_opened ARRAY
| ||
mail_received ARRAY
| ||
mail_unsubscribed ARRAY
| ||
mailing_country STRING | ||
mailing_state STRING | ||
name STRING | ||
phone STRING | ||
salutation STRING | ||
status STRING | ||
STRING | ||
updated_at DATE-TIME |
Thelists table contains info about the available lists in your Autopilot account.
Full Table | |
Primary Key | list_id |
| Useful links |
| Join lists with | on |
|---|---|
| contacts | lists.list_id = contacts.lists |
| lists_contacts | lists.list_id = lists_contacts.list_id |
list_id STRING |
title STRING |
Thelists_contacts table contains list and contact ID pairs, allowing you to create a list of all the contacts that belong to a given Autopilot list.
Full Table | |
Primary Keys | list_id contact_id |
| Useful links |
| Join lists_contacts with | on |
|---|---|
| contacts | lists_contacts.contact_id = contacts.contact_id lists_contacts.list_id = contacts.lists |
| smart_segments_contacts | lists_contacts.contact_id = smart_segments_contacts.contact_id |
| lists | lists_contacts.list_id = lists.list_id |
contact_id STRING |
list_id STRING |
Thesmart_segments table contains info about the smart segments in your Autopilot account.
Full Table | |
Primary Key | segment_id |
| Useful links |
| Join smart_segments with | on |
|---|---|
| smart_segments_contacts | smart_segments.segment_id = smart_segments_contacts.segment_id |
segment_id STRING |
title STRING |
Thesmart_segments_contacts table contains segment and contact pairs, or the segments your contacts are associated with.
Full Table | |
Primary Keys | segment_id contact_id |
| Useful links |
| Join smart_segments_contacts with | on |
|---|---|
| contacts | smart_segments_contacts.contact_id = contacts.contact_id |
| lists_contacts | smart_segments_contacts.contact_id = lists_contacts.contact_id |
| smart_segments | smart_segments_contacts.segment_id = smart_segments.segment_id |
contact_id STRING |
segment_id STRING |
| Related | Troubleshooting |
Did this article help? If you have questions or feedback, feel free tosubmit a pull request with your suggestions,open an issue on GitHub, orreach out to us.