View as Markdown
Smartsheet icon

Smartsheet ACTION

Update Column

Update a column's title, type, or position in a sheet. Use List Columns to find the column ID and current properties before updating. Note: some type conversions may cause data loss. See the documentation
  • Action
  • Writes data
  • Destructive
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Smartsheet account once, then configure and run Update Column 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: "smartsheet-update-column",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    smartsheet: { authProvisionId: "apn_xxxxxxx" },
    sheetId: "Sheet ID or URL",
    columnId: "Column 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.

Update Column inputs
Property Type Description
sheetId Sheet ID or URL string
The sheet to act on. Accepts a numeric sheet ID (e.g. 1234567890123456), or a Smartsheet sheet URL, which is resolved to the ID for you. Use List Sheets to enumerate sheets, or Search to find one by name.
Required
columnId Column ID string
The ID of the column to update (e.g. 7894561230123456). Use List Columns to find column IDs.
Required
title New Title string
New title for the column.
Optional
type New Type string
New column type. Note: some type conversions may cause data loss.
Optional
index New Position integer
New zero-based position for the column.
Optional
options Picklist Options string
JSON array of option strings for a PICKLIST or MULTI_PICKLIST column. Requires New Type to be set as well, since the API rejects an options change that omits the column type. Example: ["Option A", "Option B"]
Optional

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
smartsheet-update-column
Version
0.1.1
App
Smartsheet
Authentication
OAuth
Read-only
No
Destructive
Yes
Open world
Yes