--- title: "CSV To Object Mapping Step" slug: "csv-object-mapping-step" tags: ["csv", "object ", "Mapping"] updated: 2025-07-09T14:03:37Z published: 2025-07-09T14:03:37Z canonical: "documentation.decisions.com/csv-object-mapping-step" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # CSV To Object Mapping Step | ## Step Details | | --- | | **Introduced in Version** | --- | | **Last Modified in Version** | 7.12.0 | | **Location** | Data > Excel & CSV | The **CSV To Object** step allows users to map defined CSV data to a Data Structure in Decisions. --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | File Input | The CSV or excel file that is used as input. | FileData | #### Input Data | Property | Description | Data Type | | --- | --- | --- | | Input File Type | Defines the type of file used as an input to the step. Currently, the options are Csv, Excel_xls, Excel_xlsx and AutoSelect | --- | | Worksheet Index | Determines which worksheet that will be evaluated. | Int32 | | Ignore First Line | Ignores the first line of the worksheet that is often used as headers in Excel files. | Boolean | | CSV Delimiter | Determines which delimiter will be added with the values for CSV files. | --- | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | OUTPUTS | List of the Object that the CSV was mapped to. | List of --- | #### Output Data | Property | Description | Data Type | | --- | --- | --- | | Output Type | The desired Data Structure to map the CSV values to. | --- | ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1740085099084.png) --- [Embedded content](https://www.youtube.com/embed/XFE48YnXFIU?&wmode=opaque&rel=0) --- Prerequisite:Before proceeding with the example, download the following CSV file. This file will be imported into the example Flow. The imported file contains three rows with three fields: First Name, Last Name, and Email Address.[Test Import CSV Sheet - Test Data - Sheet1 (1).csv](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/Test%20Import%20CSV%20Sheet%20-%20Test%20Data%20-%20Sheet1%20(1).csv) ## **Example** In this example, a Flow will create an array of account objects from a CSV file using the CSV To Object Mapping step. Then, for each account in the array, the Flow will create an account in the Portal. 1. In a Designer Project, click CREATE FLOW on the **Global** **Action** **Bar** and select [**Flow**](/v9/docs/creating-your-first-flow-2) to create a new Flow. 2. From the **Toolbox** panel, attach a **Create** **Data** step to the **Start** step. On the **Properties** panel, click SHOW EDITOR. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1646325579485.png) 3. From the **Data** **Definitions** window, enter "File" under NAME and select **FIleData** as the TYPE. Click **Save** and close the window. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1646325621073.png) 4. On the Properties panel, click **Choose a File** under the **File** field and upload the CSV file. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1646325669415.png) 5. On the Toolbox panel, navigate to **DATA > EXCEL & CSV.** Attach a **CSV to Object Mapping** step to the Create Data step. Select **Csv** from the **Input File Type** dropdown list under the INPUT DATA category. Map in **File** to the **File Input** field. Enter "account" in the **Output Type** field and select **Account**. Click **Show Item Mapping Editor**. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1646325922203.png) 6. From the **Mapping** **Editor**, change the mapping for ITEM to **Build** **Data**. 7. Click the pencil icon. Under **Properties**, check **Email****Address**, **First** **Name**, and **Last** **Name**. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1646326001989.png) 8. Expand the **_INPUT** category on the left. Map **Field01.TextValue** to First Name, **Field02.TextValue** to Last Name, and **Field03.TextValue** to EmailAddress. Click OK. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1646326084420.png) 9. In the Toolbox panel, navigate to **FLOW MANAGEMENT >** **ITERATION.** Attach a **ForEach Step** step to the CSV to Object Mapping step. From the ForEach Step's Properties, map **OUTPUTS** to the **Collection** field. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1646326390205.png) 10. On the **Next** path, attach an **AddNewAccount** step from the **INTEGRATION > INTERNAL SERVICES > ACCOUNTSERVICE** category. Attach the **Done** path for the **Add Account** step to the ForEach Step, then attach the Done path for the ForEach step to the **End** step. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1646326580098.png) 11. Select the Add New Account step. From the Properties panel of the Add New Account step, change the **account** mapping to Build Data. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1646326669728.png) 12. Click the pencil icon and select EmailAddress, First Name, and Last Name from the Properties field. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1646331781865.png) 13. After selecting the Properties, map each field to its corresponding **Item** value. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1646331903117.png) 14. Constant map the **member of** field. Pick or add the **Group** and enter a Constant value for the **password** field. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1646332130187.png) 15. Click **Save** to save changes to the Flow. --- ## Debug 1. Click **Debug** from the top action bar. 2. Click START DEBUGGING. 3. From the Decisions Studio, navigate to **System > Security > Accounts** and verify that the accounts were created. The Flow will run and create three accounts that correspond to the data within the spreadsheet.  ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1646332290233.png) --- Related Information Forum Posts: [CSV To Object Mapping Step](https://community.decisions.com/discussion/2776/csv-to-object-mapping-step) Training Video: [Dynamic Excel Creation](https://www.youtube.com/watch?v=hcIiRwi_8wo)