Script aggregator

Script aggregator

576a2e8d-1dc6-4166-88ce-fe1eebec9f82.png

The Script aggregator enables you to correlate, consolidate, and aggregate records of different data types in a flexible and controlled way. It supports advanced operations that go beyond the predefined capabilities of the Data aggregator.

The Script aggregator can do the following:

  • Perform correlation - Correlate usage data with nested data objects across multiple sources. 

  • Perform advanced aggregation - Aggregate usage data with nested data objects.

  • Perform partial pushes - Send data to downstream functions during aggregation, based on certain conditions.

You can add an additional Trace output to the Script aggregator. When enabled, a second output port becomes available, and you can route records to it from your On transform script.

script_ag_og.png
Script_agg_2_outputs.png

Note!
The size limit for a single session in aggregation functions (Script aggregator and Data aggregator) is 16 MB.

Aggregation API

You can access the public Aggregation API to retrieve session details using common identifiers, such as email, customer ID, or phone number. See https://infozone.atlassian.net/wiki/x/AQCsMg for additional information on how the Aggregation API works.

The API documentation can be found at the following links:

Environment

Base URL

Environment

Base URL

EU Production

https://api.digitalroute.io/

US Production

https://api.us.digitalroute.io/

See https://infozone.atlassian.net/wiki/x/qwJoDQ for more information on setting up and using APIs with UsageCloud.

Prerequisites

To take full advantage of the capabilities in this function, you must know JavaScript well.