# Data Transformation

#### **Data Selection**

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.

<figure><img src="https://3583334649-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdrfsCZXcXll5UVMF1xCv%2Fuploads%2FN7AxeOsfAnAdoKDUFFYB%2Fdata_transformation_section.png?alt=media&#x26;token=6c332409-54d4-452e-a360-f97387bcbfed" alt="Data selection in data transformation section"><figcaption><p>Data selection in data transformation section</p></figcaption></figure>

#### Form Data

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.

<figure><img src="https://3583334649-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdrfsCZXcXll5UVMF1xCv%2Fuploads%2FKOLggZ0HIgh7NkAQyFX8%2Fform_data_data_transformation_section.png?alt=media&#x26;token=02bbc444-4b24-4464-bba3-cda77eb26297" alt="Form data section in data transformation"><figcaption><p>Form data section in data transformation</p></figcaption></figure>

Below, we have attached a detailed explanation for this action.
