Excel connector

Connect Excel to Okou

The Excel connector lets Okou read and update .xlsx workbooks stored in OneDrive for Business, SharePoint, or group drives. Okou can read worksheets, ranges, and tables, summarize the numbers, and, when you allow it, add rows or write values and formulas. Connect with a Microsoft Graph access token and describe the work in plain language.

Category
Docs & knowledge
Connection
Microsoft Graph access token
Access
Read and write
Setup
No code required

What is Excel?

Microsoft Excel is the spreadsheet app in Microsoft 365. Teams use workbooks for budgets, trackers, forecasts, and reports, with worksheets, tables, formulas, and charts in one file. Workbooks saved to OneDrive for Business or SharePoint can be shared and edited by the whole team.

With Excel connected, Okou can open a workbook your Microsoft account can access, read its sheets and tables, and turn them into a summary, or add rows and update cells when you allow changes. The connector works with .xlsx files in business storage. Personal OneDrive and older .xls files are not supported.

What Okou can do with Excel

Find and read

  • List worksheets and read ranges, tables, charts, and named items.
  • Read cell values, formulas, and number formats without changing the workbook.

Create and change

  • Add rows or columns to tables, and write values or formulas to a range.
  • Create, rename, and format worksheets and tables.

Manage

  • Start a workbook session so a series of changes is saved together, or tried on a temporary copy that is discarded.
  • Delete worksheets, rows, columns, or tables, with a separate permission.

Things to ask Okou to do in Excel

Describe the outcome in plain language. Okou finds what it needs and does the work in Excel.

  • “Read the Q4 Budget workbook in our Finance SharePoint site and summarize spend against budget by department.”

    A summary by department from the workbook's table, with the sheet and range it came from. Microsoft 365 must be connected too, to find the workbook by name. Nothing is changed.

  • “Check the Pipeline sheet for rows with a close date in the past and list them.”

    A list of overdue rows with their values, read from the workbook.

  • “Add these five new hires as rows to the Headcount table in our HR tracker workbook.”

    Five new rows in the table, once workbook changes are allowed.

  • “Pull this week's closed deals from HubSpot and add them to the Sales Log table in Excel.”

    One new table row per closed deal, using HubSpot as the source. HubSpot must be connected too.

  • “Every Friday, read the Weekly KPIs sheet and draft an Outlook email to the leadership team with the numbers.”

    An Outlook draft with the week's numbers for you to review and send, using a saved workflow with a scheduled automation and Outlook Mail connected.

Excel works well with

Connect more than one tool and Okou can carry the work across them.

How to connect Excel to Okou

  1. 1

    Find Excel in Connectors

    In your Okou workspace, open Connectors, search for Excel, and select Connect. This connector uses a Microsoft Graph access token with the Files.ReadWrite permission, issued through a Microsoft Entra app registration. Your IT admin can usually help. Enter only the access token in the connection form, not in the chat.

    Okou Connectors search results for Excel
  2. 2

    Describe the work

    Ask for a summary, a check, or an update in plain language. Name the workbook, sheet, and table when they matter, and say whether Okou should change anything. Connect Microsoft 365 as well to find a workbook by name. For a recurring report, save the task as a workflow and add a scheduled automation.

    An unsent Excel request in the Okou chat composer
  3. 3

    Or connect when Okou asks

    If a task needs Excel before it is connected, Okou can show a Connect card in the chat. Use the card to add your access token, then continue the task. Microsoft Graph access tokens expire, so enter a new one from Connectors when Excel requests stop working. If a change needs permission, Okou asks in the chat before making it.

    Okou reply with a Connect card for Excel

Permissions and security

  • The access token acts as your Microsoft account with the Files.ReadWrite permission. Okou can reach the workbooks that account can open in OneDrive for Business, SharePoint, or group drives.
  • Reading workbooks is allowed by default. Writing values, formulas, tables, and formatting needs the workbook write permission, and deleting sheets, rows, columns, or tables needs a separate delete permission.
  • Enter only the access token. Never paste a client secret, certificate, or private key into Okou.
  • Your access token is stored on the platform and added to Microsoft Graph requests at the network boundary. It is not exposed to the agent.
  • Each teammate connects their own Microsoft account. Sharing a workflow does not share your connection.
  • Disconnect Excel from Connectors to remove it from future Okou runs.
How permissions work

Excel connector questions

What can Okou do with Excel?
Okou can read worksheets, ranges, tables, charts, named items, and formulas, and summarize or check the data. With write permission, it can add table rows, write values and formulas, and create or format worksheets and tables. Deleting needs a separate permission.
How do I connect Excel to Okou?
Get a Microsoft Graph access token with the delegated Files.ReadWrite permission through a Microsoft Entra app registration, often with help from IT. Then open Connectors in Okou, search for Excel, select Connect, and enter only the access token.
Does it work with personal OneDrive or .xls files?
No. Microsoft's Excel API supports .xlsx workbooks in OneDrive for Business, SharePoint, and group drives. Workbooks in personal OneDrive and older .xls files are not supported.
Can Okou find a workbook by its name?
The Excel connector opens a workbook by its drive and file. To find a file by name or folder, connect Microsoft 365 as well, which can read OneDrive and SharePoint files.
Will Okou change my workbook without asking?
Reading is allowed by default. Writing and deleting are separate permissions that are off by default, and Okou asks in the chat when a task needs one that is not allowed.
Why did the Excel connection stop working?
Microsoft Graph access tokens expire, and the connector does not refresh them. Get a new access token and enter it from Connectors.

Put Excel to work with Okou

Connect Excel, describe the outcome, and review the result.