trello.json•13.3 kB
{
"nodeType": "n8n-nodes-base.trello",
"displayName": "Trello",
"description": "Create, change and delete boards and cards",
"version": 1,
"properties": [
{
"name": "cardId",
"displayName": "Card ID",
"type": "resourceLocator",
"default": "{ mode: 'list', value: '' }",
"description": "The ID of the card",
"placeholder": "Select a Card...",
"required": true,
"displayOptions": {
"show": {
"operation": [
"delete",
"create",
"get",
"getAll"
],
"resource": [
"attachment"
]
}
}
},
{
"name": "url",
"displayName": "Source URL",
"type": "string",
"default": "",
"description": "The URL of the attachment to add",
"required": true,
"displayOptions": {
"show": {
"operation": [
"create"
],
"resource": [
"attachment"
]
}
}
},
{
"name": "additionalFields",
"displayName": "Additional Fields",
"type": "collection",
"default": {},
"description": "The MIME type of the attachment to add",
"placeholder": "Add Field",
"options": [
{
"name": "mimeType",
"displayName": "MIME Type",
"type": "string",
"default": "",
"description": "The MIME type of the attachment to add",
"placeholder": "image/png"
},
{
"name": "name",
"displayName": "Name",
"type": "string",
"default": "",
"description": "The name of the attachment to add"
}
],
"displayOptions": {
"show": {
"operation": [
"create"
],
"resource": [
"attachment"
]
}
}
},
{
"name": "id",
"displayName": "Attachment ID",
"type": "string",
"default": "",
"description": "The ID of the attachment to delete",
"required": true,
"displayOptions": {
"show": {
"operation": [
"delete"
],
"resource": [
"attachment"
]
}
}
},
{
"name": "operation",
"displayName": "Operation",
"type": "options",
"default": "getAll",
"description": "Create a new attachment for a card",
"options": [
{
"name": "Create",
"value": "create",
"description": "Create a new attachment for a card"
},
{
"name": "Delete",
"value": "delete",
"description": "Delete an attachment"
},
{
"name": "Get",
"value": "get",
"description": "Get the data of an attachment"
},
{
"name": "Get Many",
"value": "getAll",
"description": "Returns many attachments for the card"
}
],
"displayOptions": {
"show": {
"resource": [
"attachment"
]
}
}
},
{
"name": "name",
"displayName": "Name",
"type": "string",
"default": "",
"description": "The name of the board",
"placeholder": "My board",
"required": true,
"displayOptions": {
"show": {
"operation": [
"create"
],
"resource": [
"board"
]
}
}
},
{
"name": "description",
"displayName": "Description",
"type": "string",
"default": "",
"description": "The description of the board",
"displayOptions": {
"show": {
"operation": [
"create"
],
"resource": [
"board"
]
}
}
},
{
"name": "updateFields",
"displayName": "Update Fields",
"type": "collection",
"default": {},
"description": "Whether the board is closed",
"placeholder": "Add Field",
"options": [
{
"name": "closed",
"displayName": "Closed",
"type": "boolean",
"default": false,
"description": "Whether the board is closed"
},
{
"name": "desc",
"displayName": "Description",
"type": "string",
"default": "",
"description": "New description of the board"
},
{
"name": "name",
"displayName": "Name",
"type": "string",
"default": "",
"description": "New name of the board"
},
{
"name": "idOrganization",
"displayName": "Organization ID",
"type": "string",
"default": "",
"description": "The ID of the team the board should be moved to"
},
{
"name": "subscribed",
"displayName": "Subscribed",
"type": "boolean",
"default": false,
"description": "Whether the acting user is subscribed to the board"
}
],
"displayOptions": {
"show": {
"operation": [
"update"
],
"resource": [
"board"
]
}
}
},
{
"name": "returnAll",
"displayName": "Return All",
"type": "boolean",
"default": false,
"description": "Whether to return all results or only up to a given limit",
"displayOptions": {
"show": {
"operation": [
"getAll"
],
"resource": [
"boardMember"
]
}
}
},
{
"name": "limit",
"displayName": "Limit",
"type": "number",
"default": 20,
"description": "Max number of results to return",
"typeOptions": {
"minValue": 1
},
"displayOptions": {
"show": {
"operation": [
"getAll"
],
"resource": [
"boardMember"
],
"returnAll": [
false
]
}
}
},
{
"name": "idMember",
"displayName": "Member ID",
"type": "string",
"default": "",
"description": "The ID of the member to add to the board",
"required": true,
"displayOptions": {
"show": {
"operation": [
"add"
],
"resource": [
"boardMember"
]
}
}
},
{
"name": "type",
"displayName": "Type",
"type": "options",
"default": "normal",
"description": "Invite as normal member",
"required": true,
"options": [
{
"name": "Normal",
"value": "normal",
"description": "Invite as normal member"
},
{
"name": "Admin",
"value": "admin",
"description": "Invite as admin"
},
{
"name": "Observer",
"value": "observer",
"description": "Invite as observer (Trello premium feature)"
}
],
"displayOptions": {
"show": {
"operation": [
"add"
],
"resource": [
"boardMember"
]
}
}
},
{
"name": "email",
"displayName": "Email",
"type": "string",
"default": "",
"description": "The ID of the board to update",
"placeholder": "name@email.com",
"required": true,
"displayOptions": {
"show": {
"operation": [
"invite"
],
"resource": [
"boardMember"
]
}
}
},
{
"name": "text",
"displayName": "Text",
"type": "string",
"default": "",
"description": "Text of the comment",
"required": true,
"displayOptions": {
"show": {
"operation": [
"create"
],
"resource": [
"cardComment"
]
}
}
},
{
"name": "commentId",
"displayName": "Comment ID",
"type": "string",
"default": "",
"description": "The ID of the comment to delete",
"required": true,
"displayOptions": {
"show": {
"operation": [
"delete"
],
"resource": [
"cardComment"
]
}
}
},
{
"name": "listId",
"displayName": "List ID",
"type": "string",
"default": "",
"description": "The ID of the list to create card in",
"required": true,
"displayOptions": {
"show": {
"operation": [
"create"
],
"resource": [
"card"
]
}
}
},
{
"name": "checklistId",
"displayName": "Checklist ID",
"type": "string",
"default": "",
"description": "The ID of the checklist to update",
"required": true,
"displayOptions": {
"show": {
"operation": [
"createCheckItem"
],
"resource": [
"checklist"
]
}
}
},
{
"name": "checkItemId",
"displayName": "CheckItem ID",
"type": "string",
"default": "",
"description": "The ID of the checklist item to delete",
"required": true,
"displayOptions": {
"show": {
"operation": [
"deleteCheckItem"
],
"resource": [
"checklist"
]
}
}
},
{
"name": "boardId",
"displayName": "Board",
"type": "resourceLocator",
"default": "{ mode: 'list', value: '' }",
"description": "The ID of the board",
"placeholder": "Select a Board...",
"required": true,
"displayOptions": {
"show": {
"operation": [
"create",
"getAll"
],
"resource": [
"label"
]
}
}
},
{
"name": "color",
"displayName": "Color",
"type": "options",
"default": "null",
"description": "The color for the label",
"required": true,
"options": [
{
"name": "Black",
"value": "black"
},
{
"name": "Blue",
"value": "blue"
},
{
"name": "Green",
"value": "green"
},
{
"name": "Lime",
"value": "lime"
},
{
"name": "Null",
"value": "null"
},
{
"name": "Orange",
"value": "orange"
},
{
"name": "Pink",
"value": "pink"
},
{
"name": "Purple",
"value": "purple"
},
{
"name": "Red",
"value": "red"
},
{
"name": "Sky",
"value": "sky"
},
{
"name": "Yellow",
"value": "yellow"
}
],
"displayOptions": {
"show": {
"operation": [
"create"
],
"resource": [
"label"
]
}
}
},
{
"name": "archive",
"displayName": "Archive",
"type": "boolean",
"default": false,
"description": "Whether the list should be archived or unarchived",
"displayOptions": {
"show": {
"operation": [
"archive"
],
"resource": [
"list"
]
}
}
},
{
"name": "idBoard",
"displayName": "Board ID",
"type": "string",
"default": "",
"description": "The ID of the board the list should be created in",
"required": true,
"displayOptions": {
"show": {
"operation": [
"create"
],
"resource": [
"list"
]
}
}
},
{
"name": "resource",
"displayName": "Resource",
"type": "options",
"default": "card",
"options": [
{
"name": "Attachment",
"value": "attachment"
},
{
"name": "Board",
"value": "board"
},
{
"name": "Board Member",
"value": "boardMember"
},
{
"name": "Card",
"value": "card"
},
{
"name": "Card Comment",
"value": "cardComment"
},
{
"name": "Checklist",
"value": "checklist"
},
{
"name": "Label",
"value": "label"
},
{
"name": "List",
"value": "list"
}
]
}
],
"credentialsConfig": [
{
"name": "trelloApi",
"required": true
},
{
"name": "resource",
"required": false
}
],
"io": {
"inputs": [],
"outputs": [],
"outputNames": [],
"hints": {}
},
"wiring": {
"role": "generic",
"requires": [],
"optional": [],
"consumedBy": [],
"consumes": [],
"produces": []
}
}