microsoftToDo.json•7.76 kB
{
"nodeType": "n8n-nodes-base.microsoftToDo",
"displayName": "Microsoft To Do",
"description": "Consume Microsoft To Do API.",
"version": 1,
"properties": [
{
"name": "taskListId",
"displayName": "Task List Name or ID",
"type": "options",
"default": "",
"description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
"required": true,
"displayOptions": {
"show": {
"operation": [
"create",
"delete",
"get",
"getAll",
"update"
],
"resource": [
"linkedResource"
]
}
}
},
{
"name": "taskId",
"displayName": "Task ID",
"type": "string",
"default": "",
"required": true,
"displayOptions": {
"show": {
"operation": [
"create",
"delete",
"get",
"getAll",
"update"
],
"resource": [
"linkedResource"
]
}
}
},
{
"name": "displayName",
"displayName": "Name",
"type": "string",
"default": "",
"description": "Field indicating title of the linked entity",
"displayOptions": {
"show": {
"operation": [
"create"
],
"resource": [
"linkedResource"
]
}
}
},
{
"name": "applicationName",
"displayName": "Application Name",
"type": "string",
"default": "",
"description": "App name of the source that is sending the linked entity",
"required": true,
"displayOptions": {
"show": {
"operation": [
"create"
],
"resource": [
"linkedResource"
]
}
}
},
{
"name": "additionalFields",
"displayName": "Additional Fields",
"type": "collection",
"default": {},
"description": "ID of the object that is associated with this task on the third-party/partner system",
"placeholder": "Add Field",
"options": [
{
"name": "externalId",
"displayName": "External ID",
"type": "string",
"default": "",
"description": "ID of the object that is associated with this task on the third-party/partner system"
},
{
"name": "webUrl",
"displayName": "Web URL",
"type": "string",
"default": "",
"description": "Deeplink to the linked entity"
}
],
"displayOptions": {
"show": {
"resource": [
"linkedResource"
],
"operation": [
"create"
]
}
}
},
{
"name": "linkedResourceId",
"displayName": "Linked Resource ID",
"type": "string",
"default": "",
"required": true,
"displayOptions": {
"show": {
"resource": [
"linkedResource"
],
"operation": [
"delete",
"get",
"update"
]
}
}
},
{
"name": "returnAll",
"displayName": "Return All",
"type": "boolean",
"default": false,
"description": "Whether to return all results or only up to a given limit",
"displayOptions": {
"show": {
"resource": [
"linkedResource"
],
"operation": [
"getAll"
]
}
}
},
{
"name": "limit",
"displayName": "Limit",
"type": "number",
"default": 50,
"description": "Max number of results to return",
"typeOptions": {
"minValue": 1,
"maxValue": 100
},
"displayOptions": {
"show": {
"resource": [
"linkedResource"
],
"operation": [
"getAll"
],
"returnAll": [
false
]
}
}
},
{
"name": "updateFields",
"displayName": "Update Fields",
"type": "collection",
"default": {},
"description": "App name of the source that is sending the linked entity",
"placeholder": "Add Field",
"options": [
{
"name": "applicationName",
"displayName": "Application Name",
"type": "string",
"default": "",
"description": "App name of the source that is sending the linked entity"
},
{
"name": "displayName",
"displayName": "Name",
"type": "string",
"default": "",
"description": "Field indicating title of the linked entity"
},
{
"name": "externalId",
"displayName": "External ID",
"type": "string",
"default": "",
"description": "ID of the object that is associated with this task on the third-party/partner system"
},
{
"name": "webUrl",
"displayName": "Web URL",
"type": "string",
"default": "",
"description": "Deeplink to the linked entity"
}
],
"displayOptions": {
"show": {
"resource": [
"linkedResource"
],
"operation": [
"update"
]
}
}
},
{
"name": "operation",
"displayName": "Operation",
"type": "options",
"default": "get",
"options": [
{
"name": "Create",
"value": "create"
},
{
"name": "Delete",
"value": "delete"
},
{
"name": "Get",
"value": "get"
},
{
"name": "Get Many",
"value": "getAll"
},
{
"name": "Update",
"value": "update"
}
],
"displayOptions": {
"show": {
"resource": [
"linkedResource"
]
}
}
},
{
"name": "listId",
"displayName": "List ID",
"type": "string",
"default": "",
"description": "The identifier of the list, unique in the user's mailbox",
"required": true,
"displayOptions": {
"show": {
"operation": [
"delete",
"get",
"update"
],
"resource": [
"list"
]
}
}
},
{
"name": "title",
"displayName": "Subject",
"type": "string",
"default": "",
"description": "A brief description of the task",
"required": true,
"displayOptions": {
"show": {
"operation": [
"create"
],
"resource": [
"task"
]
}
}
},
{
"name": "resource",
"displayName": "Resource",
"type": "options",
"default": "task",
"options": [
{
"name": "Linked Resource",
"value": "linkedResource"
},
{
"name": "List",
"value": "list"
},
{
"name": "Task",
"value": "task"
}
]
}
],
"credentialsConfig": [
{
"name": "microsoftToDoOAuth2Api",
"required": true
},
{
"name": "resource",
"required": false
}
],
"io": {
"inputs": [],
"outputs": [],
"outputNames": [],
"hints": {}
},
"wiring": {
"role": "generic",
"requires": [],
"optional": [],
"consumedBy": [],
"consumes": [],
"produces": []
}
}