Ideas to reality in a few lines of code

Integrate custom sources and destinations with a simple webhook.

Join the 25,000+ companies using the Segment platform

Source Functions

Unlock new data sources

Collect and transform any stream of first-party customer data from webhooks into Segment events.

Resolve identity with Twilio Engage, enrich with additional data, and ensure clean, consistent data across all your tools.

Illustration: Custom Sources

Destination Functions

Connect to new tools and adapt existing ones

Transform and map events collected by Segment out to the APIs, tools, and services that connect you to your customers. Enrich events with additional user context, or send events to new destinations and internal services.

Illustration: Destinations


It takes just ten lines of code to capture new data points, enrich your data in new ways, and run advanced campaigns across tools.


Writing Functions on Segment is easy. Spend time building great customer experiences, not configuring networks, gateways, and IAM.


Rest assured knowing your infrastructure can scale to hundreds of thousands of events per second, with built-in monitoring and alerting.

Templates to get you started

Access pre-built templates from the most advanced Growth and Engineering teams to build faster.

Getting started is easy

Start connecting your data with Segment.