How to integrate Census with Knock
Learn how to power your Knock product notifications using synced data from your data warehouse using Census.
Getting started
#Knock can be integrated as a downstream destination in Census to sync customer and event data from your data warehouse.
Use cases
#You can use our Census integration to:
- Sync customer data into Knock from your data warehouse (identify recipients).
- Trigger workflows from records added, changed, or removed in your data warehouse.
- Populate audiences with data from your data warehouse. Audiences can be used to trigger workflows or power conditional logic during workflow execution.
Configure Knock as a destination in Census
#Before you can sync data into Knock from Census, you need to configure Knock as a destination.
Prerequisites
#- Determine which Knock environment you want to sync your Census data to. You most likely want to sync in the Production environment, unless you’re configuring a test sync.
- Have your Knock environment’s secret API key ready. Each environment has its own unique set of API keys; you can find your secret API key in your dashboard under Platform > API keys. Be sure that the correct environment is selected in the switcher at the top of the page.
- Choose your destination type. Your options are:
- Custom destination - Our recommended destination type for syncing audiences into Knock from Census. Setup is simpler and includes automatic support for removing a user from an audience during your syncs without additional configuration.
- HTTP Request destination - This destination type is required if you need to sync users and their properties to Knock or if you need to include tenant data in your Knock audience.
Configuration instructions
#Syncing audiences into Knock from Census
#Census Sources and Datasets can be synced to Knock audiences by configuring Knock as a custom destination or using an HTTP request destination connected to Knock’s audiences API.
Prerequisites
#- Complete the steps to configure Knock as a destination in Census.
- Create, save, and commit a static audience in Knock that will serve as the target for your sync. Be sure that you create your audience in the same environment that you used to configure your Knock destination.
- Ensure that any Knock workflows that should be triggered by a user's audience entry are configured, committed, and promoted to your Knock environment before finalizing your Census sync.
Add an audience sync to your Knock destination
#Follow the steps below to add an audience sync to your configured Knock destination in Census.
Syncing customer data into Knock from Census
#Census user records can be synced to Knock by configuring an HTTP request destination connected to Knock’s users API.
Prerequisites
#- Complete the steps to configure Knock as a destination in Census. You'll need to configure an HTTP Request destination.
Add a user sync to your Knock destination
#Follow the steps below to add a user data sync to your configured Knock HTTP request destination in Census. These instructions leverage our bulk identify endpoint to optimize migrating large numbers of user records to Knock, but you can adapt this approach to use our identify endpoint for ongoing syncs of individual user records.






























