View as Markdown
Graceblocks icon

Graceblocks ACTION

Update Record

Update an existing record in GraceBlocks.
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Graceblocks account once, then configure and run Update Record 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: "graceblocks-update-record",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    graceblocks: { authProvisionId: "apn_xxxxxxx" },
    recordId: "Record ID",
    name: "Name",
  },
})

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 Record inputs
Property Type Description
recordId Record ID string
The ID of the record
Required Dynamic
name Name string
Name of the record
Optional
description Description string
Description of the record
Optional
attachments Attachments string[]
An array of URLs to attachments to add to the record
Optional
status Status string
Status of the record
Optional
priority Priority string
Priority of the record
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
graceblocks-update-record
Version
0.0.1
App
Graceblocks
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes