Linking Front as a source

Let AI connect your sources for you

Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Learn more
PostHog Wizard hedgehog

Contents

Enter your Front API token to sync your Front data into the PostHog data warehouse.

Adding a data source

  1. Go to the sources tab of the data pipeline section in PostHog.
  2. Click + New source and then click Link next to Front.
  3. Create an API token in your Front settings under Developers > API tokens. Grant read scopes for the resources you want to sync (for example shared_resources:read, contacts:read, tags:read).
  4. Back in PostHog, paste the token in the API token field and click Next.
  5. Select the tables you want to sync, set the sync method and frequency, then click Import.

Once the syncs are complete, you can start using Front data in PostHog.

Available tables

TableDescriptionSync method
eventsFront events (only syncs the last 365 days on initial sync)Incremental
contactsContactsFull refresh
conversationsConversationsFull refresh
accountsAccountsFull refresh
tagsTagsFull refresh
teammatesTeammatesFull refresh
inboxesInboxesFull refresh
channelsChannelsFull refresh
teamsTeamsFull refresh
conversation_followersTeammates who follow each conversation (one row per conversation and follower)Full refresh
teammate_groupsTeammate groupsFull refresh
teammate_group_teammatesTeammates in each teammate group (one row per group and teammate)Full refresh
teammate_group_teamsTeams in each teammate group (one row per group and team)Full refresh
teammate_group_inboxesInboxes that each teammate group can access through its teams (one row per group and inbox)Full refresh
contact_listsContact listsFull refresh
contact_list_contactsContacts in each contact list (one row per list and contact)Full refresh

Incremental tables sync only new or updated records on each run. Full refresh tables reload all data on each sync.

Sync limitations

The events table only syncs the last 365 days on its initial sync to avoid an unbounded backfill.

The conversation_followers, teammate_group_*, and contact_list_contacts tables send one API request for each parent conversation, teammate group, or contact list. These tables can take longer to sync in large workspaces.

Configuration

OptionTypeRequired
API tokenpasswordYes

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
events

Only syncs the last 365 days on initial sync

Incremental, Full refreshemitted_at—
contacts

A person or company in Front's contact directory, with their handles across channels.

Full refresh——
conversations

A thread of messages and comments in Front, the core unit of work in an inbox.

Full refresh——
accounts

A company account in Front, grouping related contacts together.

Full refresh——
tags

A label that can be applied to conversations to categorize them.

Full refresh——
conversation_messages

Fetched one conversation at a time, so a sync takes longer the more conversations you have

Full refresh——
conversation_comments

Fetched one conversation at a time, so a sync takes longer the more conversations you have

Full refresh——
conversation_followers

Fetched one conversation at a time, so a sync takes longer the more conversations you have

Full refresh——
ticket_statuses

A ticket status a conversation can be set to, including the company's custom statuses.

Full refresh——
account_custom_fields

Definition of a custom field that can be attached to an account.

Full refresh——
contact_custom_fields

Definition of a custom field that can be attached to a contact.

Full refresh——
conversation_custom_fields

Definition of a custom field that can be attached to a conversation.

Full refresh——
inbox_custom_fields

Definition of a custom field that can be attached to an inbox.

Full refresh——
link_custom_fields

Definition of a custom field that can be attached to a link.

Full refresh——
teammate_custom_fields

Definition of a custom field that can be attached to a teammate.

Full refresh——
teammates

A user (teammate) in the Front workspace.

Full refresh——
inboxes

A shared inbox that receives and organizes conversations.

Full refresh——
channels

A communication channel (email, SMS, etc.) connected to an inbox.

Full refresh——
teams

A team in the Front workspace that owns inboxes and teammates.

Full refresh——
teammate_groups

A group of teammates in the Front workspace, linked to teams and inboxes.

Full refresh——
teammate_group_teammates

A teammate who is a member of a teammate group. One row per group and teammate.

Full refresh——
teammate_group_teams

A team added to a teammate group. One row per group and team.

Full refresh——
teammate_group_inboxes

An inbox that a teammate group can access through its teams. One row per group and inbox.

Full refresh——
contact_lists

A list of contacts, used to segment contacts.

Full refresh——
contact_list_contacts

Fetched one contact list at a time, so a sync takes longer the more contact lists you have

Full refresh——

Still have questions?

Was this page useful?