View as Markdown
timeBuzzer icon

timeBuzzer ACTION

Create Activity

Generates a new activity in Timebuzzer. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's timeBuzzer account once, then configure and run Create Activity 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: "timebuzzer-create-activity",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    timebuzzer: { authProvisionId: "apn_xxxxxxx" },
    userId: 10,
    tileIds: [10],
  },
})

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 Activity inputs
Property Type Description
userId User ID integer
User-ID of the owning user
Required Dynamic
tileIds Tile IDs integer[]
Array of Tile Ids
Required Dynamic
note Note string
A note about the activity
Required
startDate Start Date string
Start Date of this Activity in UTC. e.g. 2016-12-10T09:00:00.000Z
Required
endDate End Date string
End Date of this Activity in UTC. e.g. 2016-12-10T09:00:00.000Z
Required
startUtcOffset Start UTC Offset string
Offset to UTC for the start date. e.g. "+02:00"
Optional
endUtcOffset End UTC Offset string
Offset to UTC for the end date. e.g. "+02: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
timebuzzer-create-activity
Version
0.0.2
App
timeBuzzer
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes