Skip to main content
Functions let you transform events before they sync to a destination. Write JavaScript to modify event properties, validate fields, or enrich event data on any Hightouch Events sync. Function overview graphic

Features

  • Modify, validate, enrich, or filter events with custom logic before they sync to destinations
  • Write transformations in modern JavaScript
  • Code, test, and connect functions to syncs within the Hightouch app
  • Transform batches of events at once

Use cases

  • Enrich event data. Call external APIs to add data to your event payload. For example, add geolocation fields based on IP addresses.
  • Data cleaning and normalization. Encrypt sensitive information, normalize complicated data types, or remove PII from event payloads.
  • Data validation. Write advanced validation logic so your event data conforms to your spec.
  • General transformations. Reshape an event before sending it to a destination.

Get started

Use functions to transform events in any event sync: create a function, test the code, and connect it to a sync. Read the guide to get started.
Last modified on June 25, 2026