Functions

Ideas to reality in a few lines of code

Integrate custom sources and destinations with a simple webhook.

For information about how Segment handles your personal data, please see our privacy policy.

Create a free account

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

Fast

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

Simple

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

Scalable

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.