Overview

Lytics Templates are used with the Lytics Webhook Export workflow provide a powerful interface for users to create bespoke, real time integrations with arbitrary third-party API destinations. Templates can be defined in the UI or via Lytics APIs to configure the payload and profile data that would be passed. Templates created using the API can be defined inJsonnet/Handlebars. Once made, they can be selected for use in a Webhook Export, executing against the outgoing payload for each request.

Viewing Templates

Templates are available in the Lytics UI under the Data Pipeline section. The Templates Overview page shows all the templates in an account, as well as an action button to create a new template.

Creating Templates

The instructions for creating templates in the UI will differ from those via the API. Depending on the desired method visit one of the following documents:

  1. Creating Templates in the UI
  2. Creating Templates using the API

Activating Templates

To activate a template, create a Webhook Export job. See the Lytics Webhooks documentation for full instructions on configuring outgoing webhooks. From the Lytics Template dropdown menu, select the template you would like to activate against each outgoing request.

Using Templates

Once you have created your first Template, you can find it in the Template List view, and click on it to access the individual Template. From this view, you can create Webhooks to export users or events using your Template by clicking on the + Create New button. This view will show all of the Webhooks associated with your Template.