Linking Plain as a source

Alpha release

This source is currently in alpha. The interface and available tables may change.

The Plain connector automatically pulls your Plain customer support data – customers, threads, and timeline entries – 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 Plain.
  3. Next, you need an API key from Plain. In your Plain workspace settings, create an API key. Make sure to grant the following read permissions: customer:read, thread:read, and timeline:read. Copy the key value (it starts with plainApiKey_).
  4. Back in PostHog, enter the API key in the API key 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 Plain data in PostHog.

Available tables

TableDescriptionSync method
customersCustomers in your Plain workspaceIncremental
threadsSupport threads (conversations)Incremental
timeline_entriesTimeline entries (chats, emails, notes, and custom entries) for each threadIncremental

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

Configuration

OptionTypeRequired
API keypasswordYes

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
customers

A customer in Plain — a person who contacts your support team.

Incremental, Full refreshupdatedAt
threads

A support conversation (thread) between a customer and your team in Plain.

Incremental, Full refreshupdatedAt
timeline_entries

An event on a thread's timeline in Plain — a chat, email, or note entry.

Incremental, Full refreshcreatedAt

Community questions

Was this page useful?

Questions about this page? or post a community question.