View as Markdown
Trello icon

Trello ACTION

Create Card

Creates a new card. See the documentation.
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Trello account once, then configure and run Create Card 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: "trello-create-card",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    trello: { authProvisionId: "apn_xxxxxxx" },
    board: "Board",
    name: "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 Card inputs
Property Type Description
board Board string
The Trello board you wish to select
Required Dynamic
name Name string
The name of the card.
Required
desc Description string
The description for the card
Optional
pos Position string
The position of the new card. top, bottom, or a positive float
Optional
due Due Date string
Card due date in ISO format
Optional
dueComplete Due Complete boolean
Flag that indicates if dueDate expired
Optional
idList List string
The ID of the list the card should be created in.
Required Dynamic
idMembers Members string[]
Array of member IDs to add to the card
Optional Dynamic
idLabels Labels string[]
Array of labelIDs to add to the card
Optional Dynamic
urlSource URL Attachment string
A URL to attach as a link on the card. Must start with http:// or https://.
Optional
file File Path or URL string
Provide either a file URL or a path to a file in the /tmp directory (for example, /tmp/myFile.pdf).
Optional
mimeType Mime Type string
Mime type of the attached file. Eg. application/pdf
Optional Dynamic
idCardSource Copy Card string
Specify an existing card to copy contents from. Keep in mind that if you copy a card, the File Attachment Path, File Attachment URL and File Attachment Type fields will be ignored.
Optional Dynamic
keepFromSource Copy From Source string[]
Specify which properties to copy from the source card
Optional
address Address string
For use with/by the Map Power-Up
Optional
locationName Location Name string
For use with/by the Map Power-Up
Optional
coordinates Coordinates string
Latitude, longitude coordinates. For use with/by the Map Power-Up. Should take the form lat, long.
Optional
customFieldIds Custom Field Ids string[]
An array of custom field Ids to create/update
Optional Dynamic
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
trello-create-card
Version
1.0.9
App
Trello
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes