View as Markdown
Craftboxx icon

Craftboxx ACTION

Update Project and Appointment

Applies updates to a project and its corresponding appointment in Craftboxx. See the documentation
  • Action
  • Writes data
  • Destructive
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Craftboxx account once, then configure and run Update Project and Appointment 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: "craftboxx-update-project-and-appointment",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    craftboxx: { authProvisionId: "apn_xxxxxxx" },
    projectId: "Project ID",
    projectTitle: "Project Title",
  },
})

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 Project and Appointment inputs
Property Type Description
projectId Project ID string
The ID of the project
Required Dynamic
projectTitle Project Title string
The title of the project
Required
projectNr Project Number string
The project number of the project
Required
appointmentId Appointment ID string
The ID of the appointment
Required Dynamic
title Appointment Title string
The title of the appointment
Required
description Description string
The description of the appointment
Optional
state State string
The state of the appointment
Optional
start Start string
The start of the appointment. Eg. 2021-01-01T12:00:00+01:00
Optional
end End string
The end of the appointment. Eg. 2021-01-01T12:30:00+01:00
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
craftboxx-update-project-and-appointment
Version
0.0.3
App
Craftboxx
Authentication
OAuth
Read-only
No
Destructive
Yes
Open world
Yes