Zum Inhalt springen
DeutschlandGPT

Excel

Read and write Microsoft Excel workbooks stored in OneDrive or SharePoint

Read and write Microsoft Excel workbooks stored in OneDrive or SharePoint from workflows.

Authentication: OAuth 2.0. Connect your Microsoft account on the integrations page. The Excel integration accesses files stored in OneDrive or SharePoint.

Actions

Get Workbook by Name

Finds and returns an Excel workbook by its file name.

InputRequiredDescription
File NameYesName of the Excel file (with or without .xlsx)
OutputTypeDescription
workbookobjectWorkbook metadata with id, name, webUrl

Get Sheet

Returns a specific sheet within a workbook.

InputRequiredDescription
Workbook IDYesWorkbook ID from Get Workbook
Sheet NameYesName of the sheet tab
OutputTypeDescription
sheetobjectSheet object with id, name

Get Workbook Summary

Returns an overview of a workbook including all its sheets and their ranges.

InputRequiredDescription
Workbook IDYesWorkbook ID
OutputTypeDescription
sheetsarraySheet objects with names and used ranges

Add Sheet to Workbook

Adds a new sheet tab to a workbook.

InputRequiredDescription
Workbook IDYesTarget workbook
Sheet NameYesName for the new sheet
OutputTypeDescription
sheetobjectCreated sheet with id, name

Get Tables

Returns all tables in a workbook.

InputRequiredDescription
Workbook IDYesWorkbook ID
OutputTypeDescription
tablesarrayTable objects with id, name, worksheetId

Get Table Rows

Returns rows from an Excel table.

InputRequiredDescription
Workbook IDYesWorkbook ID
Table IDYesTable ID
OutputTypeDescription
rowsarrayRow objects (keyed by column headers)
rowCountnumberNumber of rows returned

Add Table Row

Inserts a new row into a table.

InputRequiredDescription
Workbook IDYesWorkbook ID
Table IDYesTable to add to
Row DataYesColumn → value mapping

Delete Table Row

Deletes a row by its index.

InputRequiredDescription
Workbook IDYesWorkbook ID
Table IDYesTable ID
Row IndexYesZero-based row index

Update Cells

Sets values in a cell range.

InputRequiredDescription
Workbook IDYesWorkbook ID
Sheet NameYesTarget sheet
RangeYesA1 notation range (e.g. A1:C3)
ValuesYes2D array of values

Insert Formulas

Writes formula strings into a cell range.

InputRequiredDescription
Workbook IDYesWorkbook ID
Sheet NameYesTarget sheet
RangeYesA1 notation range
FormulasYes2D array of formula strings

Insert / Delete Column

Inserts or removes a column in a sheet.

InputRequiredDescription
Workbook IDYesWorkbook ID
Sheet NameYesTarget sheet
Column IndexYesZero-based column index
CountNoNumber of columns to insert/delete

Insert / Delete Row

Inserts or removes a row in a sheet.

InputRequiredDescription
Workbook IDYesWorkbook ID
Sheet NameYesTarget sheet
Row IndexYesZero-based row index
CountNoNumber of rows to insert/delete

Clear Range

Clears the contents of a cell range.

InputRequiredDescription
Workbook IDYesWorkbook ID
Sheet NameYesTarget sheet
RangeYesA1 notation range to clear

Format Cells

Applies number formatting to a cell range.

InputRequiredDescription
Workbook IDYesWorkbook ID
Sheet NameYesTarget sheet
RangeYesTarget range
FormatYesExcel number format string (e.g. 0.00, dd/mm/yyyy)

Sort Range

Sorts a cell range by a column.

InputRequiredDescription
Workbook IDYesWorkbook ID
Sheet NameYesTarget sheet
RangeYesRange to sort
Column IndexYesZero-based column to sort by
AscendingNoSort direction (default: true)

Create Chart

Creates a chart in a workbook sheet.

InputRequiredDescription
Workbook IDYesWorkbook ID
Sheet NameYesTarget sheet
Chart TypeYesChart type (e.g. ColumnClustered, LineMarkers)
Data RangeYesA1 notation data range for the chart
TitleNoChart title
Was this page helpful?
Excel · DeutschlandGPT