Trello
Create cards, manage lists, and add comments in Trello boards.
On this page
Connect
Auth type: API key (secret_text). Pass the provider's API key or token as the connection's credential. It is sealed at rest and only opened on the server when an action runs.
- From your agent: integrations {action: "connect", piece, credentials, env} stores the credentials for dev, prod or all. Answers name the fields, never the values.
- Or set the integration's project secrets with the secrets tool (SLACK_BOT_TOKEN, DISCORD_WEBHOOK_URL, TELEGRAM_BOT_TOKEN, TWILIO_ACCOUNT_SID and TWILIO_AUTH_TOKEN …): a call uses the connection, else those secrets. integrations {action: "catalog", piece} lists which ones work.
- Try one action now with integrations {action: "call", piece, piece_action, input}. It really sends.
Call it from a workflow
step.ctx.integrations.invoke("trello", action, input) resolves with the provider's answer and rejects when Trello isn't connected or refuses. Wrap it in step.run so a retry sends once. See step.ctx. Its actions run through the integration runner, which the server's operator turns on: integrations {action: "catalog", piece: "trello"} says whether yours can call it.
// workflows/notify.ts: call Trello when a booking is confirmed
import { on } from "@appbricx/workflows";
export const tellTrello = on.transition("booking", "status", "confirmed", async (_event, step) => {
// Recorded once: a retry doesn't send it twice. Rejects when Trello isn't connected.
const output = await step.run("Trello", () =>
step.ctx.integrations.invoke("trello", "create_card", {
"board_id": "<board_id>",
"list_id": "<list_id>",
"name": "<task name>"
}),
);
step.ctx.log("Trello answered", output);
});{
"name": "integrations",
"arguments": {
"project_id": "<project-id>",
"action": "call",
"piece": "trello",
"piece_action": "create_card",
"input": {
"board_id": "<board_id>",
"list_id": "<list_id>",
"name": "<task name>"
},
"env": "dev"
}
}curl -X POST "$APP_ORIGIN/__appbricx/connector-proxy/trello/create_card" \
-H "Authorization: Bearer $APP_KEY" \
-H "content-type: application/json" \
-d '{"props":{"board_id":"<board_id>","list_id":"<list_id>","name":"<task name>"}}'Actions
create_card
Create Card. Create a new card in Trello
| Input | Type | Description |
|---|---|---|
board_idrequired | id (picked from your account) | List of boards |
list_idrequired | id (picked from your account) | Get lists from a board |
namerequired | text | The name of the card to create |
descriptionoptional | long text | The description of the card to create |
positionoptional | one of "top" | "bottom" | Place the card on top or bottom of the list |
labelsoptional | ids (picked from your account) | Assign labels to the card |
get_card
Get Card. Gets a card by ID.
| Input | Type | Description |
|---|---|---|
cardIdrequired | text | The card ID |
update_card
Update Card. Updates an existing card.
| Input | Type | Description |
|---|---|---|
card_idrequired | text | The ID of the card to update |
nameoptional | text | The new name of the card |
descriptionoptional | long text | The new description of the card |
board_idoptional | id (picked from your account) | List of boards |
list_idoptional | id (picked from your account) | Get lists from a board |
positionoptional | one of "top" | "bottom" | Move the card to a new position |
labelsoptional | ids (picked from your account) | Assign labels to the card |
closedoptional | boolean | Archive or unarchive the card |
dueoptional | date-time (ISO) | Set a due date for the card |
add_card_attachment
Add Card Attachment. Adds an attachment to a card.
| Input | Type | Description |
|---|---|---|
card_idrequired | text | The ID of the card to add attachment to |
attachmentrequired | file | Attachment File |
nameoptional | text | Attachment Name |
mime_typeoptional | text | MIME Type |
set_coveroptional | boolean | Set this attachment as the card cover |
delete_card
Delete Card. Deletes an existing card.
| Input | Type | Description |
|---|---|---|
card_idrequired | text | The ID of the card to delete. |
delete_card_attachment
Delete Card Attachment. Deletes an attachment from a card.
| Input | Type | Description |
|---|---|---|
card_idrequired | text | The ID of the card |
attachment_idrequired | text | The ID of the attachment to delete |
get_card_attachment
Get Card Attachment. Gets a specific attachment on a card.
| Input | Type | Description |
|---|---|---|
card_idrequired | text | The ID of the card |
attachment_idrequired | text | The ID of the attachment to retrieve |
get_card_attachments
Get All Card Attachments. Gets all attachments on a card.
| Input | Type | Description |
|---|---|---|
card_idrequired | text | The ID of the card to get attachments from |
Details
- Id
trello- Category
- Productivity
- Tags
- kanban, boards, cards, project-management
- Package
@activepieces/piece-trello@0.4.4- Runs
- Through the integration runner