Skip to main content

Destinations

A destination refers to the final target where processed or transformed data is sent after passing through a pipeline. It handles the final output, whether by storing the data, triggering further processes, or integrating with other systems. To manage this, destinations provide three key functionalities:

  1. Setup initializes necessary resources or connections, like opening a database connection or authenticating with an external service.
  2. Execute handles the actual data processing, such as sending the data to an API, inserting it into a database, or uploading it to cloud storage.
  3. Teardown ensures proper cleanup by closing connections and releasing any resources used during the setup or execution phases.

How to create a new Destination

A Destination can be created from scratch or from predefined apps.

To create your very own Destination from scratch:

  1. Login to your cnips instance
  2. Click on Destinations in the left navbar
  3. Click New Destination.

Destination Creation

  1. Provide a name for the Destination.
  2. Provide some configuration.
  3. Select the scripting language.
  4. Modify script to update event data.
  5. Click on sumbit.

To create a Destination from a predefined App: