View as Markdown
Smartsheet icon

Smartsheet ACTION

Create Discussion

Creates a discussion on a Smartsheet sheet. If a Row ID is provided the discussion is attached to that row (POST /sheets/{sheetId}/rows/{rowId}/discussions); otherwise it is created at the sheet level (POST /sheets/{sheetId}/discussions). Use List Sheets to find a Sheet ID, and Get Sheet or Search to find a Row ID. The discussion title is auto-generated by Smartsheet from the first 100 characters of the initial comment and cannot be set directly. See the documentation.
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

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

Create Discussion inputs
Property Type Description
sheetId Sheet ID or URL string
The sheet on which to create the discussion. 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.
Required
rowId Row ID string
Optional. The ID of the row to attach the discussion to (e.g. 9876543210123456). If provided, the discussion is created at the row level; if omitted, it is created at the sheet level. Use Get Sheet or Search to find row IDs.
Optional
commentText Comment Text string
The text of the initial comment that starts the discussion. Example: This row needs review before Friday. — returns the new discussion under result, including its ID and title (auto-generated from this comment's text).
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
smartsheet-create-discussion
Version
0.0.1
App
Smartsheet
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes