View as Markdown
MeisterTask icon

MeisterTask ACTION

Create Attachment

Create a new attachment. See the docs
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's MeisterTask account once, then configure and run Create Attachment 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: "meistertask-create-attachment",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    meistertask: { authProvisionId: "apn_xxxxxxx" },
    projectId: "Project",
    sectionId: "Section",
  },
})

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 Attachment inputs
Property Type Description
projectId Project string
Identifier of a project
Optional Dynamic
sectionId Section string
Identifier of a section
Optional Dynamic
taskId Task string
Identifier of a task
Required Dynamic
filepath File Path or URL string
The file to upload. Provide either a file URL or a path to a file in the /tmp directory (for example, /tmp/myFile.txt)
Required
name Name string
The name of the attachment
Optional
syncDir SyncDir dir
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
meistertask-create-attachment
Version
0.1.3
App
MeisterTask
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes