Linking Deel as a source

Alpha release

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

The Deel connector automatically pulls your Deel workforce and payroll 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 Deel.
  3. You need a Deel API token. In your Deel admin console, go to Settings and create an organization API token. Enable the read scope for each dataset you want to sync (see required scopes below).
  4. Back in PostHog, enter 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 Deel data in PostHog.

Use organization tokens

Use an organization API token rather than a personal API token. Personal tokens expire when the user leaves the organization, which causes syncs to fail.

Available tables

TableDescriptionSync method
peopleEmployee and contractor recordsFull refresh
contractsContract details for workersFull refresh
invoicesInvoice recordsFull refresh
invoice_adjustmentsAdjustments made to invoicesFull refresh

Full refresh tables sync all records on each run. Deel's API doesn't expose updated-since filters for these resources.

Required scopes

Deel API tokens are scoped per dataset. Your token needs the read permission for each table you want to sync. If a scope is missing, that specific table fails with a permissions error while other tables continue to sync normally.

TableRequired scope
peoplepeople:read
contractscontracts:read
invoicesinvoices:read
invoice_adjustmentsinvoice_adjustments:read

Configuration

OptionTypeRequired
API tokenpasswordYes

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
people

A worker in the organization — an employee or contractor managed in Deel.

Full refresh
contracts

A work agreement between the organization and a worker in Deel.

Full refresh
invoices

An invoice issued for a contract or payroll cycle in Deel.

Full refresh
invoice_adjustments

An adjustment (bonus, deduction, expense, etc.) applied to a Deel invoice.

Full refresh

Community questions

Was this page useful?

Questions about this page? or post a community question.