Ideas to reality in a few lines of code

Functions is a new way to connect thousands of applications to Segment. With just ten lines of JavaScript, you can build any integration—no additional infrastructure required.

Unlock new data sources

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

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

Learn more

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.

Read the docs

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.

Sales
Payments
Surveys

Close.io

Sync your opportunities, leads, and contacts to marketing automation and analytics tools

Pipedrive

A template that sends a “Deal Added” event and a “Deal” object to your data warehouse

Formstack

Sync your landing page form submissions to your CRM, marketing automation, and analytics tools

PayPal

Sync Paypal Orders and Checkout events to your marketing automation and analytics tools

Stripe Events

Trigger emails in Customer.io when charges fail and analyze subscriptions in Mixpanel or Amplitude

Survey Monkey

Sync your survey results to hundreds of downstream destinations

TypeForm

Analyze your Typeform responses in your data warehouse

Ready for data superpowers?

Functions is currently in developer preview. Request access today.