View as Markdown
Salesflare icon

Salesflare ACTION

Create Task

Create a task See the docs here
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Salesflare 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: "salesflare-create-task",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    salesflare: { authProvisionId: "apn_xxxxxxx" },
    account: 10,
    description: "Description",
  },
})

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
account Account ID integer
Account ID
Optional Dynamic
description Description string
Description of the task
Required
reminderDate Reminder Date string
Reminder date, Must be in ISO format. e.g. 2022-11-17T08:07:00Z. Defaults to current time.
Optional
assignees Assignees integer[]
Assignees for the task.
Optional Dynamic

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
salesflare-create-task
Version
0.0.2
App
Salesflare
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes