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.

Back to Catalog
Toolssegment

Block Preview

Segment

Customer data platform for collecting, cleaning, and controlling customer data.

Usage

  1. Add the block to your workflow and connect it to the upstream step.
  2. Connect the required credentials or OAuth provider before running.
  3. Fill in required inputs and optional parameters for the run.
  4. Run a test execution, inspect outputs, and iterate before deploying.
  5. Deploy the segment block with monitoring enabled in production.

Inputs (UI)

Segment Account

oauth-input

Placeholder: Select Segment account

Layout: full

Provider: segment

Operation

dropdown

Layout: full

Options: List Sources, Create Source, Get Source, List Destinations

Source ID

short-input

Placeholder: Enter source ID

Layout: full

Condition: operation = ["get_source","track_event"]

Destination ID

short-input

Placeholder: Enter destination ID

Layout: full

Condition: operation = "get_destination"

Event Name

short-input

Placeholder: Button Clicked

Layout: half

Condition: operation = "track_event"

User ID

short-input

Placeholder: user123

Layout: half

Condition: operation = ["track_event","identify_user"]

Properties (JSON)

code

Placeholder: {"plan": "premium", "revenue": 99.99}

Layout: full

Condition: operation = ["track_event","identify_user"]

Source Name

short-input

Placeholder: My Source

Layout: full

Condition: operation = "create_source"

Destination Name

short-input

Placeholder: My Destination

Layout: full

Condition: operation = "create_destination"

Inputs (API)

credential

string

Required

operation

string

Required

sourceId

string

Optional

destinationId

string

Optional

event

string

Optional

userId

string

Optional

properties

json

Optional

sourceName

string

Optional

destinationName

string

Optional

Outputs

Primary response type:

{
  "data": "json"
}

Tool Access

segment_api
Segment | NowFlow Blocks