# Data Import

Data Import feature, an invaluable enhancement to our **Task** module. With Data Import, users gain seamless and efficient capabilities to import data from external sources directly into the app. This feature offers support for importing data in **CSV** or **Excel** formats, providing users with flexibility and convenience for tasks such as data migration or updating existing records.

To leverage the Data Import feature, users simply need to select the desired object and import the corresponding **CSV** or **Excel** file into the **Grid Map**. By mapping the fields between the external data source and the application, users can effortlessly import the data and automatically populate the relevant fields within the selected object.

* Open an App In Design Studio from Valorx Fusion and click on **Tasks**.
* Click **Data Import** and now select **New Data Import** task.

<figure><img src="https://2472585788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MFqFFf4143HS0_Wagnz%2Fuploads%2FKcIKWNtTdRdXx8N9ue5U%2FFusion%20Docs%20Update%20as%20per%20V15%20-%2030.png?alt=media&#x26;token=87f6ad04-da22-4dbb-b334-9c88dd8993ad" alt=""><figcaption></figcaption></figure>

* Select the **Name**, **Object**, and **Map** from the drop-down.
* Click **Add Condition Filter** and add any filters as per the requirement.
* Check in the **Add Condition Filters Logic** in case we need to add any logic filter.
* Click **Save**.

<figure><img src="https://2472585788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MFqFFf4143HS0_Wagnz%2Fuploads%2Fjm40hm1kWo6pSXbWTIDl%2FData%20Import%201.png?alt=media&#x26;token=8c20c1e1-04d1-4a12-a24f-ab935e44b848" alt=""><figcaption></figcaption></figure>

***Tip***: Enabling the "**Allow user to change Map in Runtime**" option will disable the condition filters and allow users to change the maps in runtime.

* To create a workflow, navigate to the Workflow and UX section.
* Save the application and execute it. Open the runtime file, and click on the button that was created in the workflow.

<figure><img src="https://2472585788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MFqFFf4143HS0_Wagnz%2Fuploads%2FOfsK7l27msD8BTMaNHai%2FData%20Import%202.png?alt=media&#x26;token=9dbd3df4-8940-4533-8d20-0a472e6819e3" alt=""><figcaption></figcaption></figure>

* To upload a file, either click on "**Select file here**" or simply drag and drop the file into the designated area.
* After selecting the file, click on "**Next**" to proceed.
* If the file contains headers in the first row, check the box labeled "**Sheet Contains Headers**".&#x20;

<div align="left"><figure><img src="https://2472585788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MFqFFf4143HS0_Wagnz%2Fuploads%2FHFEHPMAbj0nK5q3T8Diw%2FData%20Import%203.png?alt=media&#x26;token=037a913c-d49b-4f8c-9cea-77f2e8f19bf6" alt=""><figcaption></figcaption></figure></div>

* To save the mapping for future use, select the "Remember my mappings" option. This will store the mapping locally and make it available in the dropdown for future reference.
* To map the fields, either choose from the dropdown or modify the mapping by selecting "**Change**".
* Hover over the "Step contains import conditions" to view the added conditions for the import task.
* Once ready, proceed by clicking on "**Next**".

<figure><img src="https://2472585788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MFqFFf4143HS0_Wagnz%2Fuploads%2F95G7qiZUO30JPfa1FqVR%2FData%20Import%204.png?alt=media&#x26;token=9bd0cb0d-24fc-4b6a-a541-0f0eefab4536" alt=""><figcaption></figcaption></figure>

***Tip***: First-time users, it is necessary to map the columns with the fields in the imported file.

* After importing the file, a window will display a **Summary** of the imported data. To proceed, click on the "**Next**" button.
* Once you click "**Next**," the application will execute the import process for the data.

<figure><img src="https://2472585788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MFqFFf4143HS0_Wagnz%2Fuploads%2Ff6tvpykhpxz5ly2oWGyy%2FData%20Import%205.png?alt=media&#x26;token=9aa15b32-9854-4ba1-8a05-6ac0c16fadb6" alt=""><figcaption></figcaption></figure>
