Skip to content

Entity Transformers

Entity Transformers in Alumio are powerful tools used to manipulate and transform data within your integrations. They can perform a variety of actions such as transforming data to the desired format, creating caching layers to optimize integrations, or enriching data objects by making additional API calls.

Entity Transformers can be created and maintained by navigating to Connections -> Entity Transformers. When creating an Entity Transformer, you will provide a name that describes the transformation this configuration performs. Additionally, the Entity Transformer page presents two JSON fields; the upper field takes the input data (data before the transformer is executed), and the lower field displays the result of the transformer.

Transformers can be chained to perform multiple manipulations on the data. For example, you might use a value setter with a result key in one transformer and then chain another transformer to include the result key and filter out irrelevant data.

Best practices suggest that transformers should be placed at specific points in the integration flow, such as before or after incoming configurations, within outgoing configurations, or within routes. This allows for the appropriate transformation of data at the correct stage of the integration process.

Alumio provides a Transformer Tester section where you can input data to test how the transformer will modify it, and you can view the results immediately. This helps in ensuring that the transformers are set up correctly and are performing the desired actions on the data.

Overall, Entity Transformers are a crucial aspect of Alumio's integration capabilities, allowing for flexible and powerful data manipulation to meet the specific needs of different systems and workflows.