Skip to main content
Microsoft Excel logo

Overview

Add Microsoft Excel to any ModuleX agent or workflow. Read, write, and manage Excel workbooks stored in OneDrive via the Microsoft Graph REST API (graph.microsoft.com/v1.0).
Categories: Productivity & Collaboration · Spreadsheets · Auth: Microsoft OAuth 2.0 · Actions: 9

Authentication

Microsoft OAuth 2.0

Connect to Microsoft Excel via Microsoft Identity Platform OAuth (recommended). Requires consent to access OneDrive files.

Required Credentials

OAuth Configuration

  • Authorization URL: https://login.microsoftonline.com/common/oauth2/v2.0/authorize
  • Token URL: https://login.microsoftonline.com/common/oauth2/v2.0/token
  • Scopes: Files.ReadWrite, User.Read, offline_access

Available Actions

Parameters

string
required
Drive item ID of the workbook (the spreadsheet file) in OneDrive.
array
required
Two-dimensional array of unformatted row values, e.g. [[1, 2, 3], [4, 5, 6]]. Each inner array is one row.
string
ID of the workbook table to append to. Provide either table_id or table_name.
string
Name of the workbook table (set in the Table Design tab). Used when table_id is not available, e.g. for personal accounts.

Response

Parameters

string
required
Drive item ID of the workbook in OneDrive.
string
required
Name of the worksheet to append the row to.
array
required
Array of cell values for the new row, e.g. [1, 2, 3]. Each item is one cell.

Response

Parameters

string
required
Drive item ID of the workbook in OneDrive.
string
required
Name of the worksheet to search.
string
required
Column letter to search, e.g. ‘A’.
string
required
Value to search for. Numeric strings will also be matched as numbers.

Response

Parameters

string
required
Drive item ID of the workbook in OneDrive.
string
required
Name of the worksheet to read.
array
required
Array of column letters to retrieve, e.g. [‘A’, ‘C’].

Response

Parameters

string
required
Drive item ID of the workbook in OneDrive.
string
required
Name of the worksheet to read.
string
Range within the worksheet, e.g. ‘A1:C4’. If omitted, the entire used range is returned.

Response

Parameters

string
required
Drive item ID of the workbook in OneDrive.
string
required
ID of the workbook table whose rows you want.

Response

Parameters

integer
Maximum number of batch pages to fetch (1-500). Default 50.

Response

Parameters

string
required
Drive item ID of the workbook in OneDrive.
string
required
Name of the worksheet containing the cell.
string
required
Cell address to update, e.g. ‘A1’.
string
required
Value to write to the cell.

Response

Parameters

string
required
Drive item ID of the workbook in OneDrive.
string
required
ID of the workbook table.
integer
required
Zero-based index of the row to update.
array
required
Array of cell values for the updated row, e.g. [1, 2, 3]. Each item is one cell.

Response

Limits & Quotas

  • Microsoft Graph throttling: Graph applies per-app and per-user throttling. Excessive requests return HTTP 429 with a Retry-After header. See https://learn.microsoft.com/en-us/graph/throttling for current limits.
  • Workbook session limits: Excel workbook APIs apply additional per-workbook session throttling; consider batching writes via add_a_worksheet_tablerow rather than per-cell update_cell calls when possible.
  • Table updates (update_worksheet_tablerow): work or school Microsoft accounts only. Personal accounts cannot enumerate or update workbook tables.
  • Error model: non-2xx responses and timeouts are caught and returned as success=False + error rather than raising. Plan for retries on the agent side based on the error string.

Cal.com

Canva

ConvertAPI