Add Rows to Excel

Overview

The 'Add Rows to Excel' Power Automate action allows you to add rows to the file provided.

Input File Types

The following file types are supported:

  • XLSX
  • XLS
  • CSV

Usage Notes

The 'Add Rows to Excel' action can add rows to both Excel tables and unstructured Excel/CSV worksheets and will default to add data to the last available row.

To add data to a specific location, please use the Insert from Row and Insert from Column fields.

Key names in the 'Row Data' JSON input do not have to match column names. The action will populate from left to right therefore ensure your JSON data is in the correct order.

Please refer to this step-by-step guide: Add Rows to Excel and CSV Files with Power Automate

Default Parameters

The default 'Add Rows to Excel' flow action parameters are detailed below:

  • File Content: A Base64 encoded representation of the Excel file to be processed.
  • Row Data: The JSON dataset to be processed and added as rows to the Excel file provided

Advanced Parameters

The advanced 'Add Rows to Excel' flow action parameters are detailed below:

All output formats:

Return Parameters

The 'Add Rows to Excel' flow action returns the following data. 

Action Specific Return Values

  • File Content - The processed file (Base64)

Standard Return Values

  • OperationId - The unique ID assigned to this operation.
  • HttpStatusCode - The HTTP Status code for the response.
  • HttpStatusMessage - The HTTP Status message for the response.
  • Errors - An array of error messages should an error occur.
  • Operation Status - Indicates whether the operation has been completed, has been queued or has failed.

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk