Segment

Set up Segment as a data source.

Collect real-time events from Segment. You'll be able to query these events in the editor.

Add Segment as a Velvet source

Create a new event type source in Velvet.

  1. Tap into a workspace in your Velvet dashboard
  2. Navigate to "Data sources"
  3. Tap "Add a data source"
  1. Select an event type source. Name your source.
  1. Copy the webhook link

Send webhooks from Segment

If you get stuck, read further documentation from Segment here.

  1. Navigate to “Connections” > “Catalog” > “Destinations”
  2. Search for “Webhooks (Actions)” under the destinations catalog, and select it.
  1. Click “Add Destination”
  2. Select which source you want to send data from.
  3. Name the destination.
  4. Click “Create Destination”.
  5. Navigate to Connections” > Destinations. Find the destination you created.
  6. Toggle on "Enable Destination", and save your changes.
  1. Navigate to Mappings and click “New Mapping”
  2. Choose the “Send an HTTP Request” action.
  3. Select which events you want to send to your Velvet webhook link.
  4. Add a test event for testing the connection to your Velvet webhook link (this can include any JSON body).
  5. Under Select Mappings, paste your Velvet webhook link in the URL field.
  6. If you would like to enable batching, switch the “Enable Batching?” field to “Yes” and modify the “Batch Size field” to a number greater than 0.
  7. Test and save your mapping

From this point on, we’ll create a queue of events from Segment. You can query them in your Velvet workspace.

Migrate historical data

If you have pre-existing data, we can set up a one-time or recurring data migration.

Email [email protected] to start a data migration process. Include your Velvet account email, which data source you want migrated, and any other relevant information.