View as Markdown
Microsoft Excel icon

Microsoft Excel ACTION

Get Columns

Get the values of the specified columns in an Excel worksheet. See the documentation
  • Action
  • Read only
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Microsoft Excel account once, then configure and run Get Columns 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-get-columns",
  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.

Get Columns 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
columns Columns string[]
An array of column labels to retrieve. E.g. ["A", "C"]
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-get-columns
Version
0.0.4
App
Microsoft Excel
Authentication
OAuth
Read-only
Yes
Destructive
No
Open world
Yes