Templates

Overview

Lytics Templates combined with the Lytics Webhooks Export workflow provide a powerful mechanism by which users can create bespoke integrations with arbitrary third-party destinations. Templates can be defined in the UI or via the API. Templates created using the API can be defined inJsonnet/Handlebars. Once made, they can be selected for use in a Webhooks Export, executing against the outgoing payload for each request.

Viewing Templates

Templates are under the Pipeline section in Conductor. The table below 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.