---
title: "Excel integration for AI agents | Langdock"
description: "Connect Excel to Langdock. Agents and workflows can use 26 actions, such as “Add sheet to workbook” and “Add table row”."
url: "https://langdock.com/integrations/excel"
language: "en"
---

[Integrations](https://langdock.com/products/integrations)

# Excel integration for AI agents

Read, update, and format cells in your workbooks

Connect Excel to Langdock and use it in chat, in agents and in workflows.

26 actions

[Start free trial](https://app.langdock.com/signup) [Talk to sales](https://langdock.com/talk-to-sales)

## Excel actions

Each action is one step an agent or workflow can run in Excel.

- Add sheet to workbook · Adds a worksheet to an existing Excel workbook.
- Add table row · Adds a new row to the end of a table.
- Clear range

  Clears cell contents, formatting, or both from a range without deleting the cells.
- Create chart · Creates a chart from data in a range.
- Create table

  Creates a new table from a cell range. Tables enable filtering, sorting, and structured references.
- Delete column · Deletes a column from a worksheet, shifting remaining columns left.
- Delete row · Deletes a row from a worksheet, shifting remaining rows up.
- Delete table row · Deletes a specific row from a table given its row index.
- Format cells

  Applies formatting to cells including font styles, background colors, and borders.
- Get all table columns · Retrieves all columns from a table.
- Get range

  Retrieves data from a specified cell range in a worksheet. Use this to read data that is not in a table.
- Get sheet by item id · Retrieves all worksheets of an Excel workbook.
- Get single table row · Retrieves a specific row from a table given its row index.
- Get table rows

  Retrieves rows from a table with pagination support, including the table name. Use this to read data from Excel tables.
- Get tables · Retrieves all tables from a worksheet, specified by item id and sheet id.
- Get workbook summary

  Retrieves a summary of an Excel workbook including all sheets, their data ranges, tables, and charts.
- Insert column

  Inserts a new empty column to the left or right of a specified column, shifting existing columns.
- Insert formulas

  Inserts Excel formulas into cells at a specified range. Use this to add calculations like =SUM(), =AVERAGE(), =IF(), etc.
- Insert row

  Inserts a new empty row above or below a specified row, shifting existing rows down.
- Merge cells · Merges cells in a range into a single cell.
- Search files

  Searches for Excel files by name or resolves a OneDrive / SharePoint URL. Returns file ID, driveId, name, URL, and metadata for use with other Excel actions.
- Set alignment · Sets text alignment for cells (horizontal and vertical).
- Set number format · Sets the number format for cells (currency, percentage, date, etc.).
- Sort range · Sorts data in a range by one or more columns.
- Update cells · Updates cells in a worksheet at a specified range.
- Update table row · Updates values in a specific row or range within an Excel table.

## Agent templates that use Excel

- [Field Incident Logger Mobile-first agent for field ops to log incidents in an Excel table with one tap, then return a clean summary and record ID. Supports later edits (status/ETA/notes) and generates a compact share message. Uses only the Excel integration. Offers multiple start modes based on the selected starting prompt: “Log new incident”, “Update existing incident”, and “Show recent incidents.”](https://langdock.com/templates/field-incident-logger)

## Setup and permissions

An action can ask for your confirmation before it runs. In an agent, each action is set to “Always allow” or “Needs approval”.

### Documentation

- [Microsoft permissions for Excel](https://docs.langdock.com/en/admin/manage-integrations/microsoft-integration-scopes/excel)
- [Using integrations](https://docs.langdock.com/en/using-langdock/guides/integrations/using-integrations)
- [How connections work](https://docs.langdock.com/en/using-langdock/integrations/connections)
- [Manage access to actions](https://docs.langdock.com/en/admin/manage-integrations/manage-action-access)

[All integrations](https://langdock.com/products/integrations)
