googleTasks.json•7.35 kB
{
"nodeType": "n8n-nodes-base.googleTasks",
"displayName": "Google Tasks",
"description": "Consume Google Tasks API",
"version": 1,
"properties": [
{
"name": "task",
"displayName": "TaskList 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"
],
"resource": [
"task"
]
}
}
},
{
"name": "title",
"displayName": "Title",
"type": "string",
"default": "",
"description": "Title of the task",
"displayOptions": {
"show": {
"operation": [
"create"
],
"resource": [
"task"
]
}
}
},
{
"name": "additionalFields",
"displayName": "Additional Fields",
"type": "collection",
"default": {},
"description": "Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed.",
"placeholder": "Add Field",
"options": [
{
"name": "completed",
"displayName": "Completion Date",
"type": "dateTime",
"default": "",
"description": "Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed."
},
{
"name": "deleted",
"displayName": "Deleted",
"type": "boolean",
"default": false,
"description": "Whether the task has been deleted"
},
{
"name": "dueDate",
"displayName": "Due Date",
"type": "dateTime",
"default": "",
"description": "Due date of the task"
},
{
"name": "notes",
"displayName": "Notes",
"type": "string",
"default": "",
"description": "Additional Notes"
},
{
"name": "parent",
"displayName": "Parent",
"type": "string",
"default": "",
"description": "Parent task identifier. If the task is created at the top level, this parameter is omitted."
},
{
"name": "previous",
"displayName": "Previous",
"type": "string",
"default": "",
"description": "Previous sibling task identifier. If the task is created at the first position among its siblings, this parameter is omitted."
}
],
"displayOptions": {
"show": {
"operation": [
"create"
],
"resource": [
"task"
]
}
}
},
{
"name": "taskId",
"displayName": "Task ID",
"type": "string",
"default": "",
"required": true,
"displayOptions": {
"show": {
"operation": [
"delete"
],
"resource": [
"task"
]
}
}
},
{
"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": [
"task"
]
}
}
},
{
"name": "limit",
"displayName": "Limit",
"type": "number",
"default": 20,
"description": "Max number of results to return",
"typeOptions": {
"minValue": 1,
"maxValue": 100
},
"displayOptions": {
"show": {
"operation": [
"getAll"
],
"resource": [
"task"
],
"returnAll": [
false
]
}
}
},
{
"name": "updateFields",
"displayName": "Update Fields",
"type": "collection",
"default": {},
"description": "Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed.",
"placeholder": "Update Field",
"options": [
{
"name": "completed",
"displayName": "Completion Date",
"type": "dateTime",
"default": "",
"description": "Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed."
},
{
"name": "deleted",
"displayName": "Deleted",
"type": "boolean",
"default": false,
"description": "Whether the task has been deleted"
},
{
"name": "dueDate",
"displayName": "Due Date",
"type": "dateTime",
"default": "",
"description": "Due date of the task"
},
{
"name": "notes",
"displayName": "Notes",
"type": "string",
"default": "",
"description": "Additional Notes"
},
{
"name": "previous",
"displayName": "Previous",
"type": "string",
"default": "",
"description": "Previous sibling task identifier. If the task is created at the first position among its siblings, this parameter is omitted."
}
],
"displayOptions": {
"show": {
"operation": [
"update"
],
"resource": [
"task"
]
}
}
},
{
"name": "operation",
"displayName": "Operation",
"type": "options",
"default": "create",
"description": "Add a task to tasklist",
"options": [
{
"name": "Create",
"value": "create",
"description": "Add a task to tasklist"
},
{
"name": "Delete",
"value": "delete",
"description": "Delete a task"
},
{
"name": "Get",
"value": "get",
"description": "Retrieve a task"
},
{
"name": "Get Many",
"value": "getAll",
"description": "Retrieve many tasks from a tasklist"
},
{
"name": "Update",
"value": "update",
"description": "Update a task"
}
],
"displayOptions": {
"show": {
"resource": [
"task"
]
}
}
},
{
"name": "resource",
"displayName": "Resource",
"type": "options",
"default": "task",
"options": [
{
"name": "Task",
"value": "task"
}
]
}
],
"credentialsConfig": [
{
"name": "googleTasksOAuth2Api",
"required": true
},
{
"name": "resource",
"required": false
}
],
"io": {
"inputs": [
"Main"
],
"outputs": [
"Main"
],
"outputNames": [],
"hints": {}
},
"wiring": {
"role": "generic",
"requires": [],
"optional": [],
"consumedBy": [],
"consumes": [
"Main"
],
"produces": [
"Main"
]
}
}