Linking Attentive as a source

Alpha release

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

Connect your Attentive account using a private app API key. Attentive's public API is write-oriented with no bulk read endpoints, so all tables are populated from webhook events as they happen. History before the connection date is not backfilled.

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 Attentive.
  3. Generate an API key in Attentive by going to Marketplace > Create app and creating a private app. No OAuth is required.
  4. Back in PostHog, paste the API key in the API key field and click Next.
  5. PostHog tries to register a webhook for you using your API key. The webhook is initially disabled until you provide the signing key. Attentive doesn't return the signing key in the API response, so copy the signing key from the webhook's settings page in Attentive and paste it into the Signing key field in PostHog. Once the signing key is saved, PostHog enables the webhook automatically.
  6. If auto-registration failed, set the webhook up manually:
    1. In Attentive, go to Marketplace > your private app > Webhooks.
    2. Paste the webhook URL PostHog shows into the Destination URL field.
    3. Select the events you want to track (SMS, email, custom attributes).
    4. Save the webhook, then copy its signing key and paste it into PostHog.
  7. Select the tables you want to sync, then click Import.

Once setup is complete, tables begin populating as Attentive delivers webhook events to PostHog.

Available tables

All tables are webhook-backed. They populate forward from the moment the source is connected — there is no historical backfill.

TableDescriptionSync method
sms_subscribedSMS subscription eventsWebhook
sms_sentSMS sent eventsWebhook
sms_message_link_clickSMS link click eventsWebhook
email_subscribedEmail subscription eventsWebhook
email_unsubscribedEmail unsubscription eventsWebhook
email_openedEmail opened eventsWebhook
email_message_link_clickEmail link click eventsWebhook
custom_attribute_setCustom attribute eventsWebhook

Each row includes a synthetic event_id (a hash of the full payload for deduplication) and a created_at column derived from Attentive's millisecond timestamp for partitioning.

Configuration

OptionTypeRequired
API keypasswordYes

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
sms_subscribed

A subscriber opting in to receive SMS messages from Attentive.

Webhook, Full refresh
sms_sent

An SMS message sent to a subscriber by Attentive.

Webhook, Full refresh
sms_message_link_click

A subscriber clicking a link in an SMS message sent by Attentive.

Webhook, Full refresh
email_subscribed

A subscriber opting in to receive email from Attentive.

Webhook, Full refresh
email_unsubscribed

A subscriber opting out of receiving email from Attentive.

Webhook, Full refresh
email_opened

A subscriber opening an email sent by Attentive.

Webhook, Full refresh
email_message_link_click

A subscriber clicking a link in an email sent by Attentive.

Webhook, Full refresh
custom_attribute_set

A custom attribute being set on an Attentive subscriber.

Webhook, Full refresh

Community questions

Was this page useful?

Questions about this page? or post a community question.