AACFlow

Microsoft Excel

Read and write data with sheet selection

Usage Instructions

Integrate Microsoft Excel into the workflow with explicit sheet selection. Can read and write data in specific sheets.

Tools

microsoft_excel_read

Read data from a specific sheet in a Microsoft Excel spreadsheet

Input

ParameterTypeRequiredDescription
spreadsheetIdstringYesThe ID of the spreadsheet/workbook to read from (e.g., "01ABC123DEF456")
rangestringNoThe range of cells to read from. Accepts "SheetName!A1:B2" for explicit ranges or just "SheetName" to read the used range of that sheet. If omitted, reads the used range of the first sheet.

Output

ParameterTypeDescription
sheetNamestringName of the sheet that was read
rangestringThe range that was read
valuesarrayArray of rows containing cell values
metadatajsonSpreadsheet metadata including ID and URL
spreadsheetIdstringMicrosoft Excel spreadsheet ID
spreadsheetUrlstringSpreadsheet URL

microsoft_excel_write

Write data to a specific sheet in a Microsoft Excel spreadsheet

Input

ParameterTypeRequiredDescription
spreadsheetIdstringYesThe ID of the spreadsheet/workbook to write to (e.g., "01ABC123DEF456")
rangestringNoThe range of cells to write to (e.g., "Sheet1!A1:B2")
valuesarrayYesThe data to write as a 2D array (e.g., [["Name", "Age"], ["Alice", 30]]) or array of objects
valueInputOptionstringNoNo description
includeValuesInResponsebooleanNoNo description

Output

ParameterTypeDescription
updatedRangestringRange of cells that were updated
updatedRowsnumberNumber of rows updated
updatedColumnsnumberNumber of columns updated
updatedCellsnumberNumber of cells updated
metadatajsonSpreadsheet metadata including ID and URL
spreadsheetIdstringMicrosoft Excel spreadsheet ID
spreadsheetUrlstringSpreadsheet URL

On this page

Start building today
Trusted by over 100,000 builders.
The SaaS platform to build AI agents and run your agentic workforce.
Get started