Front integration summary

Stitch’s Front integration replicates data using the Front API. Refer to the Schema section for a list of objects available for replication.

Front feature snapshot

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

STITCH
Release Status

Released

Supported By

Singer Community

Stitch Plan

Free

Singer GitHub Repository

FrontApp Repository

DATA SELECTION
Table Selection

Supported

Column Selection

Supported

REPLICATION SETTINGS
Anchor Scheduling

Supported

Advanced Scheduling

Unsupported

Table-level Reset

Unsupported

Configurable Replication Methods

Unsupported

TRANSPARENCY
Extraction Logs

Supported

Loading Reports

Supported

Connecting Front

Front setup requirements

To set up Front in Stitch, you need:

Step 1: Generate a Front API token

The New API token page in Front

  1. Sign into your Front account.
  2. Click the user menu (your icon) in the top left corner of the page.
  3. Click Settings.
  4. In the Company section on the left side of the page, click Plugins & API.
  5. On the page that displays, click API.
  6. Click the New Token button.
  7. On the New Token page, click the Select Scopes dropdown and select the type of resources you want to replicate data from.
  8. Click Create to create the API token.

Keep the token handy - you’ll need it in the next step to complete the setup.

Step 2: Add Front as a Stitch data source

  1. Sign into your Stitch account.
  2. On the Stitch Dashboard page, click the Add Integration button.

  3. Click the Front 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 Front” would create a schema called stitch_front in the destination. Note: Schema names cannot be changed after you save the integration.

  5. In the API Token field, paste the Front API token you generated in Step 1.
  6. From the Incremental Range dropdown, select one of the following options:
    • Daily - Data will be aggregated on a daily basis.
    • Hourly - Data will be aggregated on an hourly basis.

Step 3: Define the historical sync

The Sync Historical Data setting will define the starting date for your Front 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 Front’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.

Front integrations support the following replication scheduling methods:

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 tables and columns to replicate

To complete the setup, you’ll need to select the tables and columns you want to replicate to your data warehouse.

Check out the Schema section to learn more about the available tables in Front and how they replicate.

  1. In the list of tables that displays - or in the Tables to Replicate tab, if you skipped this step during setup - locate a table you want to replicate.
  2. To track a table, click the checkbox next to the table’s name. A green checkmark means the table is set to replicate.

  3. To track a column, click the checkbox next to the column’s name. A green 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.

Note: If you change these settings while a replication job is still in progress, they will not be used until the next job starts.

Initial and historical replication jobs

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

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.


Front table schemas

Replication Method :

Key-based Incremental

Replication Key :

analytics_date

Primary Key :

analytics_range : teammate_v : analytics_date

API endpoint :

Get analytics

The team_table table contains a list of team member statistics since the last completed replication job through the most recent iteration of the defined Incremental Range (day or hour).

This table will include team members from all teams in your Front account.

Note: During the historical replication job, all increments since the Start Date will be replicated. This will result in the first record for this table being an aggregated record across all team members.

analytics_range
STRING

The range the analytics pertain to.

teammate_v
STRING

The team member’s ID.

analytics_date
DATE

The date the analytics pertain to.

avg_first_reaction_time_p
NUMBER

The team member’s average first reaction time for the previous period.

avg_first_reaction_time_v
NUMBER

The team member’s average first reaction time for the current period.

avg_message_conversations_p
NUMBER

The team member’s average number of message conversations for the previous period.

avg_message_conversations_v
NUMBER

The team member’s average number of message conversations for the current period.

avg_reaction_time_p
NUMBER

The team member’s average reaction time for the previous period.

avg_reaction_time_v
NUMBER

The team member’s average reaction time for the current period.

num_composed_p
INTEGER

The team member’s number of composed messages for the previous period.

num_composed_v
INTEGER

The team member’s number of composed messages for the current period.

num_conversations_p
INTEGER

The team member’s number of conversations for the previous period.

num_conversations_v
INTEGER

The team member’s number of conversations for the current period.

num_messages_p
INTEGER

The team member’s number of messages for the previous period.

num_messages_v
INTEGER

The team member’s number of messages for the current period.

num_replied_p
INTEGER

The team member’s number of replies for the previous period.

num_replied_v
INTEGER

The team member’s number of replies for the current period.

num_sent_p
INTEGER

The team member’s number of sent messages for the previous period.

num_sent_v
INTEGER

The team member’s number of sent messages for the current period.

teammate_id
INTEGER

teammate_p
STRING

teammate_url
STRING

The team member’s URL in Front.



Questions? Feedback?

Did this article help? If you have questions or feedback, feel free to submit a pull request with your suggestions, open an issue on GitHub, or reach out to us.