Trello

Introduction

The purpose of this manual is to detail how to configure and integrate Qflow with Trello to allow interaction between both platforms, allowing to create, move, delete cards, add comments, add and remove members.

Trello has the following actions:

Prerequisites

It is necessary to have a Trello account and a workspace created on the platform. You can create an account here.

Application parameter

To establish the connection, it is necessary to have at least one application parameter (see Application parameters) that allows establishing communication between Qflow and Trello. This parameter can be created from the service task configuration in Qflow. (see Connector Configuration from a Service Task)

To create a Trello application parameter, the following steps are required, as detailed below.

Application parameter using API Key and Token

This type of application parameter requires the following parameters:

  • API Key: It is a key that allows Qflow to connect to the Trello workspace for which the key was created.

  • Token: It is an access token that allows Qflow to access the workspace

To obtain them, the following steps must be followed:

  1. Access the Power-Ups and integrations section of Trello, read and accept the Trello Developer Terms.

    _images/TrelloConnectors1.png

    Fig. 811 Trello Developer Terms selected in Privacy and Compliance

  2. Select New to create a new integration.

    _images/TrelloConnectors2.png

    Fig. 812 New selected in Power-Ups and integrations

  3. Fill in the required fields for the integration creation.

    _images/TrelloConnectors3.png

    Fig. 813 Create selected in New Power-Up or integration

  4. Once the integration is created, generate a new API key.

    _images/TrelloConnectors4.png

    Fig. 814 Generate a new API key selected in Power-Ups and integrations

  5. Select that you want to generate the API key.

    _images/TrelloConnectors5.png

    Fig. 815 Generate a new API key selected

  6. Trello shows the API Key, which is the API Key to copy necessary to configure the Qflow application parameter. Once this is done, an access token must be generated by selecting Token.

    _images/TrelloConnectors6.png

    Fig. 816 Where to copy API Key and Token selected in Power-Ups and integrations

  7. The permissions that we will give to the integration when using the token we will create are listed. Select Allow

    _images/TrelloConnectors7.png

    Fig. 817 Allow selected in permissions section

  8. Copy the generated token, which is the access token necessary to configure the Qflow application parameter. With this, the necessary steps on the Trello website are completed.

    _images/TrelloConnectors8.png

    Fig. 818 Copy the selected Token

  9. In Qflow Design, add API Key and Token in the creation of the application parameter.

    _images/TrelloConnectors9.png

    Fig. 819 Required parameters of the application parameter added in Qflow

Once the steps are completed, it will be possible to create, move, delete cards, add comments, add and remove members in Trello from Qflow.

Actions

The following actions can be performed with Trello:

Create card

This action allows you to create a card in a specific list of a Trello board. You must provide the name of the board, the name of the card, and the name of the list in which the card will be created. Optionally, other parameters can be added, which are listed below. After creating the card, you receive a unique identifier of the created card, which allows you to delete it, move it to another list, add comments, add and remove members.

Table 9 Inputs

Input

Description

Board name

Required. Name of the Trello board in which the card will be created.

Name

Required. Name of the card to be created.

Description

Description of the card to be created.

Member usernames

Username of the members to be added to the card.

List name

Required. Name of the list in which the card will be created.

Due date

Due date of the card to be created.

Labels

Labels of the card to be created. The label must already exist on the board, otherwise it will not be assigned.

Attachment link

Attachment link of the card to be created.

Create card as archived

Specifies whether the card will be created as archived or not.

Table 10 Outputs

Output

Description

Card ID

Unique identifier of the created card.

Add comment to card

This action allows to add a comment to a specific Trello card. The card identifier and the comment to be added must be provided.

Table 11 Inputs

Input

Description

Card ID

Required. Unique identifier of the card to which the comment will be added.

Text

Required. Comment to be added to the card.

Move card

This action allows to move a card to a specific list of a Trello board. The card identifier and the name of the list to which the card will be moved must be provided.

Table 12 Inputs

Input

Description

Card ID

Required. Unique identifier of the card to be moved.

List name

Required. Name of the list to which the card will be moved.

Add member to card

This action allows to add a member to a specific Trello card. The card identifier and the username of the member to be added to the card must be provided.

Table 13 Inputs

Input

Description

Card ID

Required. Unique identifier of the card to which the member will be added.

Username

Required. Username of the member to be added to the card.

Remove member from card

This action allows to remove a member from a specific Trello card. The card identifier and the username of the member to be removed from the card must be provided.

Table 14 Inputs

Input

Description

Card ID

Required. Unique identifier of the card from which the member will be removed.

Username

Required. Username of the member to be removed from the card.

Delete card

This action allows to delete a specific Trello card. The card identifier to be deleted must be provided.

Table 15 Inputs

Input

Description

Card ID

Required. Unique identifier of the card to be deleted.