IMPLEMENTATION
Call this tool
Connect a user's Aero Workflow 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: "aero_workflow-create-task",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
aero_workflow: { authProvisionId: "apn_xxxxxxx" },
assignedTo: "Assigned To",
aeroType: "Aero Type",
},
})
console.log(result)curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
-H "Content-Type: application/json" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}" \
-d '{
"external_user_id": "{external_user_id}",
"id": "aero_workflow-create-task",
"configured_props": {
"aero_workflow": { "authProvisionId": "apn_xxxxxxx" },
"assignedTo": "Assigned To",
"aeroType": "Aero Type"
}
}'// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
new URL("https://remote.mcp.pipedream.net/v3"),
{
requestInit: {
headers: {
Authorization: `Bearer ${accessToken}`,
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
"x-pd-app-slug": "aero_workflow",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// listTools() hands your model this tool's input schema, so it can
// fill the arguments itself:
const result = await mcp.callTool({
name: "aero_workflow-create-task",
arguments: {
assignedTo: "Assigned To",
aeroType: "Aero Type",
},
})SCHEMA
Inputs
Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.
| Property | Type | Description |
|---|---|---|
assignedTo Assigned To | string | Team member whom the task will be assigned to Required Dynamic |
aeroType Aero Type | string | Aero type Required Dynamic |
contact Contact | string | Contact Optional Dynamic |
company Company | string | Company Optional Dynamic |
fullProjectName Project | string | Project Optional Dynamic |
hat Hat | string | Hat Optional Dynamic |
scheduledStartDate Scheduled Start Date | string | Scheduled start date. Must be in ISO format, e.g. 2023-03-30T11:35:07.983Z Required |
scheduledTotalHours Scheduled Total Hours | integer | Scheduled total hours, max 24 Required |
scheduledHours Scheduled Hours | integer | Scheduled hours, max 23 Required |
scheduledMinutes Scheduled Minutes | integer | Scheduled minutes, max 59 Required |
subject Subject | string | Subject Required |
priority Priority | string | Priority Required |
dueDate Due Date | string | Due date. Must be in ISO format, e.g. 2023-03-30T11:35:07.983Z Required |
status Status | string | Status Required |
description Description | string | Description Optional |
billable Billable | boolean | Is billable Optional |
fixedFee Fixed Fee | boolean | Is fixed fee 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
- aero_workflow-create-task
- Version
- 0.0.2
- App
- Aero Workflow
- Authentication
- API key
- Read-only
- No
- Destructive
- No
- Open world
- Yes
- Source
- View on GitHub ↗