--- title: Use the WriteToCSV component description: Write the data to a CSV file by using the WriteToCSV component in RPA Desktop Design Studio as part of a Workflow. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/integrate-applications/use-datawriter-writetocsv.html release: australia topic_type: task last_updated: "2026-03-12" reading_time_minutes: 1 breadcrumb: [Data Writer, Utilities, Automation components, RPA Desktop Design Studio, Robotic Process Automation \(RPA\) Hub, Workflow Data Fabric] --- # Use the WriteToCSV component Write the data to a CSV file by using the WriteToCSV component in RPA Desktop Design Studio as part of a Workflow. ## Before you begin Role required: none ## About this task You can configure the properties for the WriteToCSV component. For more information about these properties, see [Properties of the Data Writer components](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/util-datawriter-prop.md). ## Procedure 1. In the Toolbox pane, navigate to **Utilities** > **Data Writer**. 2. Drag the WriteToCSV component to the Design surface. 3. Connect the data and control ports of the WriteToCSV component to the corresponding ports of the other components as described in the following table.
Port Name Port type Purpose of connection Data Type
FilePath Data In Passes the path to the CSV file. String
Data Table Data In Passes the data to be written to the CSV file from a previously executed component. The port accepts data in the Data Table format. Table
Delimiter Data In Passes the delimiter from a previously executed component. You can specify a custom delimiter, such as, comma. String
Append Data In Indicate whether the data passed appends or replaces existing data in the CSV file \(True or False\). Double click to configure the port properties. For more information, see [Configure port properties](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/configure-input-port-properties.md). Boolean
4. To test the component, under the **DESIGN** tab, click **Run**. **Parent Topic:**[Data Writer](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/datawriter-utility.md)