Functions give you the power to create custom transformations on Hightouch Events. By writing Javascript code, you can easily modify event properties, validate fields, or enrich your event data!

Features
- Modify, validate, enrich, or filter events with custom logic before syncing to destinations
 - Write transformations in simple, modern JavaScript
 - Code, test, and connect to syncs all within the Hightouch app
 - Powerful interface to transform batches of events at once
 
Use cases
- Enrich event data. Call external APIs to add additional data to your event payload. For example, you can add geolocation fields based on IP addresses.
 - Data cleaning and normalization. Encrypt sensitive information, normalize complicated data types, or completely remove PII from event payloads.
 - Data validation. Write advanced validation logic to ensure your event data conforms to spec.
 - General transformations. Completely transform your event before sending it to a downstream destination.
 
Getting started
It’s easy to write functions to transform events in any Hightouch Event sync! Create a function, test the code, and connect to a sync in just minutes. Read our guide to get started!