Skip to main content
Back to list of integrations Use the Microsoft Excel integration to let agents read and write workbooks, worksheets, rows, cells, and tables in OneDrive or SharePoint through Microsoft Graph.

Supported actions

Actions are Microsoft Excel operations that an agent runs as Action Tools during a conversation. You can also run them from an Integration node in a workflow.

Workflow triggers

Triggers are Microsoft Excel events that start a workflow automatically. Select them as app triggers when you configure a workflow.

Prerequisites

  • Workbooks in .xlsx format, stored in OneDrive or a SharePoint document library.

Set up the integration

1

Register an Entra ID app

Register an app in Microsoft Entra ID, create a client secret, and copy the Application (client) ID and Directory (tenant) ID. Add Microsoft Graph permissions (for example Files.ReadWrite.All and Sites.ReadWrite.All, plus offline_access for delegated access) as Delegated or Application permissions, grant admin consent, and for delegated access add the Artemis Callback URL as a Web redirect URI.
2

Create the auth profile

In Integrations, select Microsoft Excel > Connect. On Project Auth Profiles, select New Profile > Integration Profile > Microsoft Excel > Continue. Select an Auth Type, configure the fields, and select Create Profile. For delegated access, select Authorize.
Enter the Microsoft identity platform endpoints if Artemis doesn’t pre-fill them (https://login.microsoftonline.com/<tenant>/oauth2/v2.0/authorize and .../token), the delegated Scopes, Client ID, and Client Secret. Usage Mode: Preconfigured shares one authorization across users; JIT and Preflight ask each user to authorize, during or before the session. See Auth profiles.
3

Create the action tool

In Tools, select New Tool > Action > Microsoft Excel > Continue. Select the Action and Auth Profile, set parameter defaults (leave a value empty for the agent to supply at runtime), and select Create Tool. Then assign the tool to an agent.

Action reference

Most actions take the same location parameters: storageSource (default OneDrive), siteId and documentId for SharePoint storage, workbookId, and worksheetId. Select them in order, because each list depends on the previous one.

Workbooks

Worksheets

Adds a worksheet with optional default headers.
Returns worksheet metadata.
Copies a worksheet to the same or another workbook.

Rows and cells

Appends rows, optionally only those that meet a filter.

Tables

Finds a row by column value, for example the row where ID is 123.

Advanced

Troubleshoot common issues

Related articles: