Data warehouse sync
Sync notification analytics data from Knock into your own data warehouse
You can bring your notification analytics from Knock into your own data warehouse so that you can analyze it alongside the rest of your data.
Connecting your data warehouse
#Please contact our support team to get started with the warehouse connection process. Your message should include the destination type of the warehouse that you'd like to connect, as well as which of the tables you'd like to sync from the available data listed below.
We will ask you for additional information according to the destination type that you'd like to connect. Once we have the required details, Knock will provide you with a magic link to a step-by-step wizard for completing the setup process.
After successfully connecting your destination, the first data sync includes a backfill of historical data. Subsequent syncs run once a day by default. You can also choose to sync every 1, 6, or 12 hours. Contact the Knock team to request a different cadence. On Sundays (U.S. Eastern time), all syncs follow the default daily schedule regardless of cadence while Knock runs a full weekly rebuild of the source data.
Network access
#If your data warehouse restricts inbound connections by IP address, you'll need to allowlist 35.192.85.117. This is the static egress IP for Prequel's US Cloud Hosted deployment, which Knock uses to sync data to your warehouse.
Supported destinations
#We currently support the following destination database types:
Available data
#Messages table
#Our data warehouse connector syncs data from our messages table. Each message represents a notification that was executed for a single recipient. You can read more about messages as a concept here.
The backfill of messages on initial connection will include all historical message data that is available in Knock.
Below is a description of the columns included in the table and the data type of each. To see how this data type will map onto the data types of your destination table, check the destination type mapping table.
Message events table
#The message_events export contains the event-level records behind message delivery and engagement. Each row captures one delivery or engagement event for a message, along with the workflow, channel, and recipient context around it. You can read more about message events.
The historical backfill of message events on initial connection will include the previous 90 days of data.
Use the column reference below to understand the fields included in this export. To see how these data types map onto the data types of your destination table, check the destination type mapping table.
Recipient change stream table
#Our data warehouse connector syncs data from our recipients table. Each row captures the properties and preferences of a Recipient at a given moment in time.
Each row has an event_type indicating how the event was generated. Possible values are:
recipient.created- indicates the first time a recipient was identifiedrecipient.snapshot- is emitted every time a recipient's properties or preferences are updated, and contains the complete set of properties and preferences at that moment in time. This event may also be generated manually for all or a subset of recipients (by ID) by contacting support.recipient.deleted- contains no properties or preferences, but indicates when a recipient was deleted. A recipient may be re-identified after being deleted, which will generate another recipient.created event
Events in the recipient change stream table are retained for 7 days. The data available on initial connection will include a snapshot of the current state of all recipients, but no historical data.
Below is a description of the columns included in the table and the data type of each. To see how this data type will map onto the data types of your destination table, check the destination type mapping table.