Documentation / Product / Integrations / Custom Integrations / JSON Import

JSON Import

Lytics allows you to import your audiences via a JSON file for addition of data into Lytics where an integration may not already exist. The JSON file must be a JSON New Line Delimited file where each line contains a single record.

There are two different options for importing JSON files.

Configuring a Client Managed SFTP

This option will allow you to enter in the credentials of an SFTP that you are running. Credentials can be an SFTP username and password, or a username and private key. The advanced configuration options will allow you to choose the timing of when Lytics will access your SFTP and grab the latest version of the file.

  1. You will need to have your own SFTP setup in an area that is available to our service to access. Place your file within a folder on your SFTP server.
  2. From Data > Integrations select the Custom Integrations tile. custom
  3. If you have already set up an import in the past, click the New Workflow button.
  4. Select Import JSON from the list of workflows.
  5. Select an existing authorization, or select Add new authorization. custom
  6. Select the appropriate option for your credential type.
  7. Enter the connection details into the UI and click Authorize. authorization
  8. Configure your import by entering the stream, folder, and file location, as well as the other configuration options listed.
  9. You may optionally configure the advanced options to control the time of day the JSON should be uploaded.

Configuring the Lytics Managed SFTP

This option allows you to upload a file to a Lytics managed SFTP. For access to the Lytics SFTP server, contact Lytics Support.

  1. From Data > Integrations select the Custom Integrations tile. custom
  2. If you have already set up an import in the past, click the New Workflow button.
  3. Select Import JSON from the list of workflows.
  4. Click Use Lytics Managed SFTP. lytics managed SFTP
  5. Configure your import by entering the stream, folder, and file location, as well as the other configuration options listed.
  6. Using the advanced options, you can optionally configure the time of day to upload the JSON. If not specified, the import will default to midnight UTC.