Skip to main content
Microsoft Excel is a powerful spreadsheet application that enables agents to read, write, and manage workbook data, worksheets, tables, charts, and file permissions through the Microsoft Graph API.

Setup

  1. In Agent Studio, go to ToolsMicrosoft ExcelConnect
  2. Sign in with your Microsoft account and authorize access
  3. Review the requested permissions and click Allow

Available actions

Adding to an agent

  1. Open your agent in Agent Studio → Agent Builder
  2. Go to Tools and enable Microsoft Excel
  3. Select only the actions your agent needs
  4. Set auth mode: Shared (agent acts on one account) or Per-user (each end-user connects their own account)

Example use cases

Automated report generation: An agent reads sales data from a database, writes the results into a worksheet using EXCEL_UPDATE_RANGE, creates a chart with EXCEL_ADD_CHART, and shares the workbook with stakeholders via EXCEL_ADD_WORKBOOK_PERMISSION. Data pipeline output: An agent processing survey responses appends new rows to a tracking table with EXCEL_ADD_TABLE_ROW and applies filters using EXCEL_APPLY_TABLE_FILTER to keep only records that meet specific criteria. SharePoint workbook management: An agent maintains project tracking spreadsheets in SharePoint by adding worksheets with EXCEL_ADD_SHAREPOINT_WORKSHEET, updating ranges with EXCEL_UPDATE_SHAREPOINT_RANGE, and listing worksheets with EXCEL_LIST_SHAREPOINT_WORKSHEETS to confirm the structure is correct.