Blocks
Segment
Customer data platform for collecting, cleaning, and controlling customer data.
Integrate with Segment to collect customer data from every source, clean and unify it, and sync it to marketing and analytics tools. Segment is the leading customer data platform (CDP) used by thousands of businesses to make real-time decisions, accelerate growth, and deliver personalized experiences.
Block Preview
Segment
Customer data platform for collecting, cleaning, and controlling customer data.
Usage
- Add the block to your workflow and connect it to the upstream step.
- Connect the required credentials or OAuth provider before running.
- Fill in required inputs and optional parameters for the run.
- Run a test execution, inspect outputs, and iterate before deploying.
- Deploy the segment block with monitoring enabled in production.
Inputs (UI)
Segment Account
oauth-inputPlaceholder: Select Segment account
Layout: full
Provider: segment
Operation
dropdownLayout: full
Options: List Sources, Create Source, Get Source, List Destinations
Source ID
short-inputPlaceholder: Enter source ID
Layout: full
Condition: operation = ["get_source","track_event"]
Destination ID
short-inputPlaceholder: Enter destination ID
Layout: full
Condition: operation = "get_destination"
Event Name
short-inputPlaceholder: Button Clicked
Layout: half
Condition: operation = "track_event"
User ID
short-inputPlaceholder: user123
Layout: half
Condition: operation = ["track_event","identify_user"]
Properties (JSON)
codePlaceholder: {"plan": "premium", "revenue": 99.99}
Layout: full
Condition: operation = ["track_event","identify_user"]
Source Name
short-inputPlaceholder: My Source
Layout: full
Condition: operation = "create_source"
Destination Name
short-inputPlaceholder: My Destination
Layout: full
Condition: operation = "create_destination"
Inputs (API)
credential
stringRequired
operation
stringRequired
sourceId
stringOptional
destinationId
stringOptional
event
stringOptional
userId
stringOptional
properties
jsonOptional
sourceName
stringOptional
destinationName
stringOptional
Outputs
Primary response type:
{
"data": "json"
}