View as Markdown
Microsoft Excel icon

Microsoft Excel ACTION

Add Row

Insert a new row into a specified Excel worksheet. See the documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Microsoft Excel account once, then configure and run Add Row from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "microsoft_excel-add-row",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    microsoft_excel: { authProvisionId: "apn_xxxxxxx" },
    folderId: "Folder ID",
    sheetId: "Sheet ID",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Add Row inputs
Property Type Description
folderId Folder ID string
The ID of the folder where the item is located
Required Dynamic
sheetId Sheet ID string
The ID of the spreadsheet you want to use
Required Dynamic
worksheet Worksheet string
The name of the worksheet to use
Required Dynamic
values Values string[]
An array of values for the new row. Each item in the array represents one cell. E.g. [1, 2, 3]
Required

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
microsoft_excel-add-row
Version
0.0.4
App
Microsoft Excel
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes