All templates
ProductivityIntermediate

Convert Excel Document to CSV File

RobomotionUpdated 6 months ago
Convert Excel Document to CSV File

Overview

Converts an Excel spreadsheet to a CSV file on your file system. Supports configurable separator characters and optional sheet selection via subflows for reading Excel data and writing CSV output.

Convert Excel to CSV

Convert Excel to CSV transforms your Excel spreadsheets into clean CSV files with a configurable delimiter. Powered by Robomotion's Excel and CSV subflows, it handles the conversion end to end so you can move data between systems without manual export steps.

Whether you need to prepare data for a database import, feed it into another tool, or simply work with a lighter file format, this template takes care of the formatting in one automated run.

What Convert Excel to CSV can do

  • Read data from .xls and .xlsx Excel files
  • Target a specific sheet by name or convert the default sheet
  • Write the output as CSV with a delimiter of your choice
  • Handle the full conversion pipeline without manual intervention

Behind the scenes

The flow reads your Excel file using a Read Excel subflow, optionally targeting a named sheet. It then passes the data to a Write CSV subflow that formats the rows with your chosen separator character and saves the result to the output path you specify. Both subflows handle the low level file parsing so the main flow stays clean and simple.

Configuration

Open the Config node and set:

VariableDescriptionExample
msg.excel_pathPath to the input Excel file"/home/user/data.xlsx"
msg.csv_pathPath for the output CSV file"/home/user/data.csv"
msg.separatorDelimiter character (, or ;)";"
msg.sheet_nameSheet name to convert (empty = default sheet)""