Data Transformation
This action allows you to transform an array or object into a new object or array, enabling flexible data manipulation and reformatting.
Last updated
This action allows you to transform an array or object into a new object or array, enabling flexible data manipulation and reformatting.
Last updated
In this section, you specify the path from which the object or array data will be taken for the transformation process.
Example: Object Type If you want to transform an existing object into a new object while retaining its current key-value pairs, consider the following:
Old Object: {"id":4,"name":"vasanth","is_active":true}
New Object: {"id":4,"name":"vasanth","is_active":true, "email":"contact@fireapis.com"}
You will select the path from which the old object should be accessed in the Data Selection section. For dynamic data, you can click the plus (+) icon next to the input field to load the data source model, allowing you to pull in data dynamically.
This section allows you to configure how the new object should be created.
Continuing with the previous example, you can add keys and their values to form the new object. For instance, you could add a key named email
, and select the path or source from which to pull that value. Again, for dynamic data, use the plus (+) icon to access the data source model for easy selection.
Below, we have attached a detailed explanation for this action.