Transformation Function
Transformation Functions allow you to modify, rename, and structure incoming data.
Last updated
Transformation Functions allow you to modify, rename, and structure incoming data.
Last updated
A Transformation Function in Qubitro allows you to modify, rename, and structure incoming data before it is stored or used for automation.
Transformation Functions run after Decoder Functions in a system-level order and cannot be changed.
Transformation Functions in Qubitro use , a lightweight query and transformation language designed for JSON data.
For examples and best practices, check out our guidance.
Transformation functions can be created from the Functions tab in the device details page:
Open the Functions Tab
Navigate to the device details page in the Qubitro Portal.
Click the Functions tab.
Click Create function and select Transformation Function.
Choose JSONata as the function type.
Write the JSONata Expression
Enter your JSONata transformation logic in the editor.
Modify, restructure, or filter data as needed.
Click Test to validate the transformation output.
Save and Apply the Function
Click Save and complete to activate the function.
The function will now automatically process all incoming data for this device.
Transformation functions can be activated during creation or manually enabled/disabled under the Configuration page in the Device Settings.