Documentation / Product / Integrations / Drift

Drift: Configure Webhooks

Lytics highly recommends setting up Drift event webhooks for real time event capture of your events. This will allow Lytics to get real-time activity data on your Drift integrated conversations.

Note: If you are running a continous import from Drift and using webhooks, some user activity data may be captured twice.

  1. Go to Drift's developer site and click on Build your app or Create new app after logging in. drift_integration_create app
  2. Click on OAuth & Scopes drift_integration_scopes
  3. Under the scopes heading, from the add permissions by scopes Dropdown, select the following permissions:
    • contact_read
    • conversation_read
  4. Under the Events tab: drift_integration_events
    • Fill in the request URL with https://api.lytics.io/api/collect/json/drift?access_token=YOUR_API_TOKEN where YOUR_API_TOKEN is your Lytics API token. You can create a new Lytics API token from your Lytics account settings.
    • Under the Subscribe to events heading add contact_identified, new_message, and new_conversation.
  5. Under the Display Information tab, set the app name to "Lytics Webhooks". drift_integration_name
  6. Under the Install to Drift tab click the Install App to Drift button. Lytics will start receiving the selected events from drift drift_integration_install