Excel

Learn how to use Excel with Composio

Overview

Enum

EXCEL

Description

Microsoft Excel is a powerful spreadsheet application for data analysis, calculations, and visualization, enabling users to organize and process data with formulas, charts, and pivot tables

Authentication Details

client_id
stringRequired
client_secret
stringRequired
oauth_redirect_uri
string
scopes
string
access_token
string

Actions

Create a table in a workbook using microsoft graph api.

Action Parameters

hasHeaders
booleanRequired
item_id
stringRequired
name
stringRequired
session_id
string
showTotals
booleanRequired
style
stringRequired
table_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to grant access to a workbook via invite. use when you need to share a specific workbook file with designated recipients and roles.

Action Parameters

expirationDateTime
string
item_id
stringRequired
message
string
password
string
recipients
arrayRequired
requireSignIn
boolean
retainInheritedPermissions
booleanDefaults to True
roles
arrayRequired
sendInvitation
booleanDefaults to True

Action Response

data
object
error
string
successful
boolean
Create a session for an excel workbook using microsoft graph api.

Action Parameters

item_id
stringRequired
persist_changes
booleanDefaults to True

Action Response

data
object
error
string
successful
boolean
Tool to insert a new cell range into a worksheet, shifting existing cells down or right. use when you need to create space for new content without overwriting.

Action Parameters

address
stringRequired
item_id
stringRequired
session_id
string
shift
stringRequired
worksheet_id
stringRequired

Action Response

data
object
error
string
successful
boolean
List columns in a table using microsoft graph api.

Action Parameters

item_id
stringRequired
session_id
string
table_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Add a chart to a worksheet using microsoft graph api.

Action Parameters

item_id
stringRequired
seriesby
stringRequired
session_id
string
sourcedata
stringRequired
type
stringRequired
worksheet
stringRequired

Action Response

data
object
error
string
successful
boolean
Add a new worksheet to a sharepoint excel workbook using microsoft graph sites api.

Action Parameters

item_id
stringRequired
name
stringRequired
session_id
string
site_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Add a column to a table using microsoft graph api.

Action Parameters

index
integerRequired
item_id
stringRequired
session_id
string
table_id
stringRequired
values
arrayRequired

Action Response

data
object
error
string
successful
boolean
Add a row to a table using microsoft graph api.

Action Parameters

index
integer
item_id
stringRequired
session_id
string
table_id
stringRequired
values
arrayRequired

Action Response

data
object
error
string
successful
boolean
Add a new worksheet to an excel workbook using microsoft graph api.

Action Parameters

item_id
stringRequired
name
stringRequired
session_id
string

Action Response

data
object
error
string
successful
boolean
Apply a filter to a table column using microsoft graph api.

Action Parameters

column_id
stringRequired
criteria
objectRequired
item_id
stringRequired
session_id
string
table_id
stringRequired
worksheet
stringRequired

Action Response

data
object
error
string
successful
boolean
Apply a sort to a table using microsoft graph api.

Action Parameters

fields
arrayRequired
item_id
stringRequired
session_id
string
table_id
stringRequired
worksheet
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to clear values, formats, or contents in a specified worksheet range. use when you need to reset cells before adding new data.

Action Parameters

address
stringRequired
applyTo
string
item_id
stringRequired
session_id
string
worksheet_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Clear a filter from a table column using microsoft graph api.

Action Parameters

column_id
stringRequired
item_id
stringRequired
session_id
string
table_id
stringRequired
worksheet
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to close an existing excel workbook session. use when you need to explicitly end a persistent session to release workbook locks.

Action Parameters

item_id
stringRequired
session_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Convert a table to a range using microsoft graph api.

Action Parameters

item_id
stringRequired
session_id
string
table_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to create a new workbook file at a specified drive path. use when uploading a new .xlsx file to onedrive.

Action Parameters

content
stringRequired
drive_id
stringDefaults to me
path
stringRequired

Action Response

data
object
error
string
successful
boolean
Delete a column from a table using microsoft graph api.

Action Parameters

column_id
stringRequired
item_id
stringRequired
session_id
string
table_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Delete a row from a table using microsoft graph api.

Action Parameters

item_id
stringRequired
row_index
integerRequired
session_id
string
table_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to delete a worksheet from the workbook. use when cleaning up unused or temporary sheets after verifying no dependencies exist. example: "delete 'sheet2' after review."

Action Parameters

item_id
stringRequired
session_id
string
worksheet
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to retrieve a specific axis from a chart. use when you need properties like min, max, interval, and formatting of the chart axis.

Action Parameters

axis_type
stringRequired
chart_name
stringRequired
expand
string
item_id
stringRequired
select
string
session_id
string
worksheet
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to retrieve the data labels object of a chart. use when you need to inspect label settings like position, separator, and visibility flags after creating or updating a chart.

Action Parameters

chart_id
stringRequired
item_id
stringRequired
session_id
string
worksheet_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to retrieve the legend object of a chart. use after creating or updating a chart when you need to inspect legend visibility and formatting.

Action Parameters

chart_name
stringRequired
expand
string
item_id
stringRequired
select
string
session_id
string
worksheet_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Get a range from a worksheet using microsoft graph api.

Action Parameters

address
stringRequired
item_id
stringRequired
session_id
string
worksheet_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Get a range from a worksheet in sharepoint using microsoft graph sites api.

Action Parameters

address
stringRequired
item_id
stringRequired
session_id
string
site_id
stringRequired
worksheet_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Get a worksheet by name or id from a sharepoint excel workbook using microsoft graph sites api.

Action Parameters

item_id
stringRequired
session_id
string
site_id
stringRequired
worksheet
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to retrieve a specific column from a workbook table. use when you need to fetch column properties and data by its id or name.

Action Parameters

column_id
stringRequired
item_id
stringRequired
session_id
string
table_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to retrieve the properties and relationships of a workbook. use when you need to inspect comments, names, tables, or worksheets.

Action Parameters

drive_id
stringRequired
expand
array
item_id
stringRequired
session_id
string

Action Response

data
object
error
string
successful
boolean
Get a worksheet by name or id from an excel workbook using microsoft graph api.

Action Parameters

item_id
stringRequired
session_id
string
worksheet
stringRequired

Action Response

data
object
error
string
successful
boolean
List charts in a worksheet using microsoft graph api.

Action Parameters

item_id
stringRequired
session_id
string
worksheet
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to list all data series in a chart. use when you need to enumerate chart series for further analysis.

Action Parameters

chart_name
stringRequired
item_id
stringRequired
session_id
string
worksheet
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to list comments in an excel workbook. use when you need to retrieve all workbook comments via microsoft graph api.

Action Parameters

item_id
stringRequired
session_id
string

Action Response

data
object
error
string
successful
boolean
List files and folders in a drive root or specified path.

Action Parameters

drive_id
stringDefaults to me
path
string

Action Response

data
object
error
string
successful
boolean
List named items in a workbook using microsoft graph api.

Action Parameters

item_id
stringRequired
session_id
string

Action Response

data
object
error
string
successful
boolean
List tables in a sharepoint worksheet using microsoft graph sites api.

Action Parameters

item_id
stringRequired
session_id
string
site_id
stringRequired
worksheet
stringRequired

Action Response

data
object
error
string
successful
boolean
List worksheets in an excel workbook stored in sharepoint using microsoft graph sites api.

Action Parameters

item_id
stringRequired
session_id
string
site_id
stringRequired

Action Response

data
object
error
string
successful
boolean
List tables in a worksheet using microsoft graph api.

Action Parameters

item_id
stringRequired
session_id
string
worksheet
stringRequired

Action Response

data
object
error
string
successful
boolean
List rows in a table using microsoft graph api.

Action Parameters

item_id
stringRequired
session_id
string
table_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to list permissions set on the workbook file. use when you need to see which users or links have access to a specific excel file by supplying its drive and item ids. example: "list permissions for workbook with drive id 'b!abc123' and item id '0123456789abcdef'."

Action Parameters

$expand
string
$select
string
$skip
integer
$top
integer
drive_id
stringRequired
item_id
stringRequired

Action Response

data
object
error
string
successful
boolean
List worksheets in an excel workbook using microsoft graph api.

Action Parameters

item_id
stringRequired
session_id
string

Action Response

data
object
error
string
successful
boolean
Merge cells in a worksheet range using microsoft graph api.

Action Parameters

across
boolean
item_id
stringRequired
range
stringRequired
session_id
string
worksheet
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to protect a worksheet using optional protection options. use when you need to prevent editing certain parts of a sheet before sharing. example: "protect 'sheet1' to lock formatting and sorting."

Action Parameters

item_id
stringRequired
options
object
session_id
string
worksheet
stringRequired

Action Response

data
object
error
string
successful
boolean
Sort a range in a worksheet using microsoft graph api.

Action Parameters

fields
arrayRequired
item_id
stringRequired
range_type
stringRequired
session_id
string
worksheet
stringRequired

Action Response

data
object
error
string
successful
boolean
Update a chart in a worksheet using microsoft graph api.

Action Parameters

chart_id
stringRequired
height
number
item_id
stringRequired
left
number
name
string
session_id
string
top
number
width
number
worksheet
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to update formatting or position of a chart legend. use when adjusting legend settings after confirming chart and worksheet exist.

Action Parameters

chart_id
stringRequired
item_id
stringRequired
overlay
boolean
position
string
session_id
string
visible
boolean
worksheet
stringRequired

Action Response

data
object
error
string
successful
boolean
Update a range in a worksheet using microsoft graph api.

Action Parameters

address
stringRequired
item_id
stringRequired
session_id
string
values
arrayRequired
worksheet_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Update a range in a sharepoint worksheet using microsoft graph sites api.

Action Parameters

address
stringRequired
item_id
stringRequired
session_id
string
site_id
stringRequired
values
arrayRequired
worksheet_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Update a table in a workbook using microsoft graph api.

Action Parameters

item_id
stringRequired
name
string
session_id
string
showHeaders
boolean
showTotals
boolean
style
string
table_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Update worksheet properties (name, position) in an excel workbook using microsoft graph api.

Action Parameters

item_id
stringRequired
name
string
position
integer
session_id
string
worksheet
stringRequired

Action Response

data
object
error
string
successful
boolean