Welcome to Zuora Product Documentation

Explore our rich library of product information

Mediation code editors

Zuora's mediation engine supports custom code for three meter components, the Advanced Transformer, Aggregator, and Accumulator processors. Each operator is designed for a distinct purpose within the event processing pipeline.

For the Accumulator and Aggregator processors, the code editor option is available under Advanced Accumulation and Advanced Aggregation.

Type

Usage

Advanced Transformer code editor

  • You need to transform or validate individual records.

  • Operations are stateless and lightweight.

  • You want to enrich or convert data on the fly.

Advanced Accumulator code editor

  • You need time-based summaries or grouped aggregates.

  • Calculating totals, averages, or counts.

  • Processing batch or windowed data streams.

Advanced Aggregator code editor

  • You require persistent state management.

  • Logic involves thresholds or custom release rules.

  • Event emission depends on business triggers rather than time.