Export Excel attachments as CSV from Outlook

ProductivitySales EnablementRecipe ToolsDeveloper ToolMarketingData ParserUtilities

What it does

When someone receives an email with an Excel attachment in Outlook, this automation downloads the file and converts it to CSV format. The converted file is stored and ready to use.

Who it's for

Data and analytics teams who need to transform Excel files to CSV without manual conversion.

How teams use this

Automate Excel to CSV conversion

Receive an Excel file by email and have it converted to CSV automatically without opening the file or using a conversion tool. The CSV is stored and ready to import into databases or analytics platforms.

Route converted files to a data pipeline

Send the CSV file to a data warehouse or pipeline system instead of storing it locally. The automation stays the same and only the final destination changes.

Filter files by name or size

Add a condition to process only Excel files that match a naming pattern or are under a certain file size. This prevents unnecessary conversions and keeps the pipeline focused.

How it works

  1. Monitor for new email. A new email arrives in Outlook Mail with an attachment. This automation runs immediately to process that file.
  2. Download the attachment. Extract the Excel file from the email in Outlook Mail so it can be converted. The file is retrieved and prepared for transformation.
  3. Transform to CSV format. Run Python code to convert the Excel data into CSV format. The transformation handles the column structure and data types correctly.
  4. Parse and validate the CSV. Verify the CSV structure is correct and all rows are properly formatted in Csv Parser. The parsed file is now ready for download or integration.
  5. Store the converted file. Save the CSV file to Workato Files storage so it can be accessed by downstream systems or downloaded by the team.