Add Row

Add a row of data to the end of an Excel Online worksheet.

Due to third-party API limitations, this action card doesn't update workbooks that are stored in OneDrive shared libraries. Updates are limited to workbooks stored in personal OneDrive storage.

If you move a workbook from personal OneDrive storage to a shared library, the Microsoft API may continue to return the data of the version of the file at the time when it was moved. If you return the file to personal storage, the Microsoft API may return data for both the original file and the updated file after it was returned to personal OneDrive storage.

Options

Field Definition Type Required

Workbook

List of workbooks available in your account. Workbook is another word for your Excel files.

If you select a Workbook from the dropdown, ignore the Workbook ID field.

If you select -- Enter Workbook ID -- from the dropdown list, then enter an ID in the Workbook ID field.

Dropdown

TRUE

Workbook ID

Option to specify a Excel Online workbook by ID.

Example of a workbook ID: 015PGUOTTY6ZMVGBRB65DLDRED7VJJEJTP

To get the ID for an Excel Online workbook, see Get a DriveItem resource.

Text

FALSE

Worksheet

List of worksheets available in the specified workbook. A worksheet is an individual spreadsheet within a workbook, displayed as a tab in an Excel file.

Dropdown

TRUE

Input

Field Definition Type Required

Values

List of values for the new row.

Text

FALSE

Column Letters (A - ZZ)

Each of the fields represents the corresponding cell in the newly created row. For example if the worksheet is empty then the first three fields are: 1A, 1B, 1C.

Text

FALSE

Microsoft's Excel API takes time to propagate changes. When more than one row is being added to a worksheet, it's recommended that you add a Wait function card set to 10 seconds. If you see rows being omitted, add more time.

Output

Field Definition Type

Row

Row Number

Number for the new row. This is the number displayed in Excel to the left of the first column.

Number

Related topics

Excel Online connector

Workflow elements

Guidance for Excel Online connector

Excel Online API documentation