Procedures

Automation procedures in the Trello BDK Book.

to create a card in trello list

Creates a new card in a list

Input Concepts

Concept
Description
Type
Required
Default Value

The list to create the card

trello list

Yes

The new card

trello card

Yes

Output Concepts

Concept
Description
Type

the created card

trello card

Examples

Create a new card in a list

...
get some lists from the board
get the first list from lists
use the above as the todo
>>>
create a json
use the above as the card
set the card's name to "A very cool card name"
set the card's description to "A very cool card description"
>>>
create the card in the todo

to get some (board's lists)

Gets all lists from a board

Input Concepts

Concept
Description
Type
Required
Default Value

the board to get lists from

trello board

Yes

Output Concepts

Concept
Description
Type

a list of lists in the board

trello list

Examples

Get all lists from a board

get a board whose name is "Kognitos"
get some lists from the board

to get some (boards)

FILTER - CAPABLE

Gets all boards

Output Concepts

Concept
Description
Type

A list of boards

trello board

Examples

Get all boards

get some boards

Get a board by name

get a board whose name is "Kognitos"

to move a card to a trello list

Updates a card in a list

Input Concepts

Concept
Description
Type
Required
Default Value

The list to move the card to

trello list

Yes

The card to move

trello card

Yes

Output Concepts

Concept
Description
Type

the moved card

trello card

Examples

Create a card and move it to another list

...
get some lists from the board
get the first list from lists
use the above as the todo
>>>
create a json
use the above as the card
set the card's name to "A very cool card name"
set the card's description to "A very cool card description"
>>>
create the card in the todo
>>>
get the second list from lists
use the above as the in progress
>>>
move the card to the in progress

Last updated

Was this helpful?