Skip to Content
SourcesSegmentOverview

Segment (Source)

Source — Receive real-time events from your Segment workspace into Vendo. Track, identify, group, page, and screen calls are written to BigQuery and can be forwarded to other Vendo destinations.

How It Works

Vendo appears as a destination in Segment’s catalog. When you enable the Vendo destination in your Segment workspace, all events matching your configured subscriptions are forwarded to Vendo in real-time.

Your App → Segment → Vendo Destination → Vendo BigQuery + Streaming Destinations

Supported Event Types

Segment TypeVendo EventDescription
trackEvent name (e.g. “Order Completed”)Custom events with properties
identify$identifyUser traits (email, name, custom attributes)
group$groupCompany/account traits
page$page:NamePage views with URL and title
screen$screen:NameMobile screen views

Setup

Step 1: Create a Segment Source in Vendo

  1. In the Vendo app, navigate to Sources > Add Source
  2. Select Segment from the source list
  3. Give your source a name and click Create
  4. Copy the Endpoint URL and API Key — you will need these in Segment

Step 2: Configure Vendo as a Destination in Segment

  1. In your Segment workspace, go to Connections > Destinations > Add Destination
  2. Search for Vendo and select it
  3. Choose the Segment source you want to connect
  4. Enter your Vendo credentials:
    • API Key: The API key from Step 1
    • App ID: The app ID from Step 1 (included in the endpoint URL)
  5. Enable the destination

Step 3: Configure Event Subscriptions

The Vendo destination supports five actions with default subscriptions:

ActionDefault SubscriptionWhat It Does
Track Eventtype = "track"Forwards all track calls
Identify Usertype = "identify"Forwards all identify calls
Group Usertype = "group"Forwards all group calls
Page Viewtype = "page"Forwards all page calls
Screen Viewtype = "screen"Forwards all screen calls

You can customize these subscriptions using Segment’s FQL (Filter Query Language) to route specific events.

Platform Details

SettingValue
DeliveryReal-time streaming
Auth MethodAPI Key (auto-generated)
ProtocolHTTPS POST to Vendo pipeline API
DeduplicationSegment messageId used as insert ID
BigQuery WriteAutomatic — events stored in webhook_events table
Batch SupportUp to 500 events per request

Data in BigQuery

Events are written to the webhook_events table in your account’s BigQuery dataset:

ColumnDescription
insert_idSegment messageId (deduplication key)
event_nameEvent type (e.g. “Order Completed”, “$identify”)
timestampEvent timestamp
distinct_idUser ID or anonymous ID
propertiesJSON — event properties, traits, or context
raw_payloadJSON — full original Segment payload
app_idVendo source app ID
account_idVendo account ID

Verify Setup

  1. Send a test event from your application or Segment’s Event Tester
  2. Check the Vendo source status — it should show as Active
  3. Query your BigQuery webhook_events table to confirm events arrived
  4. Check Vendo integration logs for recent activity
Last updated on