View as Markdown
FreeAgent icon

FreeAgent ACTION

Create Task

Create a task under a specific project in FreeAgent. See the documentation.
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's FreeAgent account once, then configure and run Create Task 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: "freeagent-create-task",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    freeagent: { authProvisionId: "apn_xxxxxxx" },
    projectId: "Project ID",
    name: "Task 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.

Create Task inputs
Property Type Description
projectId Project ID string
The unique identifier for the project
Required Dynamic
name Task Name string
The name of the task.
Required
currency Currency string
Currency code of the project (e.g. USD, GBP, EUR, …)
Optional
status Status string
The status of the task.
Optional
isBillable Is Billable boolean
true if charging your clients for the task, false otherwise
Optional
isDeletable Is Deletable boolean
true if this task can be deleted, false otherwise
Optional
billingRate Billing Rate string
The rate at which the project is billed, per billing_period E.g. 10.5
Optional
billingPeriod Billing Period string
How the charge is calculated
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
freeagent-create-task
Version
0.0.1
App
FreeAgent
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes