Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Google Tasks

connector.google_tasks · connector.google_tasks_trigger · productivity, tasks

Manage task lists and tasks, including subtasks, ordering and completion, and react to task changes.

Vendor API documentation: https://developers.google.com/workspace/tasks/reference/rest

Authentication

MethodCredential kindAuth kindFieldsTest request
Google account (OAuth2)google_tasks/oauth2oauth2_auth_codeclient_id, client_secret (secret)yes
Google service accountgoogle_tasks/service_accountjwt_service_accountclient_email, private_key (secret), subjectyes

Actions

Node type connector.google_tasks. Choose a resource and an operation; each operation has its own parameters.

Task list

OperationIDEffectPaginatedCassette tests
Get a task listtask_list.getreads1
List task liststask_list.listreadsyes1
Create a task listtask_list.createwrites1
Rename a task listtask_list.updatewrites1
Delete a task listtask_list.deletewrites1
Clear completed taskstask_list.clear_completedwrites1

Get a task list

Operation task_list.get.

NameTypeDefaultRequiredShown whenDescription
task_listresource_locator"@default"yesValues from lookup task_lists.

List task lists

Operation task_list.list.

NameTypeDefaultRequiredShown whenDescription
return_allbooleanfalse
limitnumber50return_all = false

Create a task list

Operation task_list.create.

NameTypeDefaultRequiredShown whenDescription
titlestringyes

Rename a task list

Operation task_list.update.

NameTypeDefaultRequiredShown whenDescription
task_listresource_locatoryesValues from lookup task_lists.
titlestringyes

Delete a task list

Operation task_list.delete.

NameTypeDefaultRequiredShown whenDescription
task_listresource_locatoryesValues from lookup task_lists.

Clear completed tasks

Operation task_list.clear_completed. Hides all completed tasks of the list (they stay retrievable with Show hidden).

NameTypeDefaultRequiredShown whenDescription
task_listresource_locator"@default"yesValues from lookup task_lists.

Task

OperationIDEffectPaginatedCassette tests
Create a tasktask.createwrites1
Get a tasktask.getreads2
List taskstask.listreadsyes2
Update a tasktask.updatewrites1
Mark a task completedtask.completewrites1
Delete a tasktask.deletewrites1
Move a tasktask.movewrites1

Create a task

Operation task.create.

NameTypeDefaultRequiredShown whenDescription
task_listresource_locator"@default"yesValues from lookup task_lists.
titlestringyes
notesstring
duedatetimeDue date. Only the date part is used by Google Tasks.
statusoptionsOne of needsAction, completed.
completeddatetimeCompleted at.
parentresource_locatorParent task. Create as a subtask of this task. Depends on task_list. Values from lookup tasks.
previousresource_locatorAfter task. Place after this sibling task. Depends on task_list. Values from lookup tasks.

Get a task

Operation task.get.

NameTypeDefaultRequiredShown whenDescription
task_listresource_locator"@default"yesValues from lookup task_lists.
taskresource_locatoryesDepends on task_list. Values from lookup tasks.

List tasks

Operation task.list.

NameTypeDefaultRequiredShown whenDescription
task_listresource_locator"@default"yesValues from lookup task_lists.
return_allbooleanfalse
limitnumber50return_all = false
show_completedbooleantrue
show_hiddenbooleanfalseInclude completed tasks that were cleared or completed in the apps.
show_deletedbooleanfalse
show_assignedbooleanfalseInclude tasks assigned from Docs or Chat spaces.
due_mindatetimeDue after.
due_maxdatetimeDue before.
completed_mindatetimeCompleted after.
completed_maxdatetimeCompleted before.
updated_mindatetimeUpdated after.

Update a task

Operation task.update. Changes only the fields that are set.

NameTypeDefaultRequiredShown whenDescription
task_listresource_locator"@default"yesValues from lookup task_lists.
taskresource_locatoryesDepends on task_list. Values from lookup tasks.
titlestring
notesstring
duedatetimeDue date. Only the date part is used by Google Tasks.
statusoptionsOne of needsAction, completed.
completeddatetimeCompleted at.
deletedbooleanSet true to move the task to the trash.

Mark a task completed

Operation task.complete.

NameTypeDefaultRequiredShown whenDescription
task_listresource_locator"@default"yesValues from lookup task_lists.
taskresource_locatoryesDepends on task_list. Values from lookup tasks.

Delete a task

Operation task.delete.

NameTypeDefaultRequiredShown whenDescription
task_listresource_locator"@default"yesValues from lookup task_lists.
taskresource_locatoryesDepends on task_list. Values from lookup tasks.

Move a task

Operation task.move. Changes the parent or position of a task, or moves it to another list.

NameTypeDefaultRequiredShown whenDescription
task_listresource_locator"@default"yesValues from lookup task_lists.
taskresource_locatoryesDepends on task_list. Values from lookup tasks.
parentresource_locatorParent task. Create as a subtask of this task. Depends on task_list. Values from lookup tasks.
previousresource_locatorAfter task. Place after this sibling task. Depends on task_list. Values from lookup tasks.
destination_task_listresource_locatorValues from lookup task_lists.

Lookups

Lookups fill dropdowns and resource pickers in the editor from the vendor API.

LookupDepends onSearchDescription
task_listsclient-side
taskstask_listclient-side{{ (’due ’ ~ item.due[:10]) if item.due else ‘’ }}

Triggers

Node type connector.google_tasks_trigger.

TriggerIDKindDeduplication keySignatureWebhook registrationCassette tests
Task created or updatedtask_updatedpoll{{ item.id }}@{{ item.updated }}0
Task completedtask_completedpoll{{ item.id }}@{{ item.completed }}0

Trigger: Task created or updated

Emits tasks that were created or changed since the last check (one item per change).

NameTypeDefaultRequiredShown whenDescription
task_listresource_locator"@default"yesValues from lookup task_lists.

Trigger: Task completed

Emits tasks completed since the last check.

NameTypeDefaultRequiredShown whenDescription
task_listresource_locator"@default"yesValues from lookup task_lists.

Import

Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.

Source typeVersion rangeStatusFixtures
n8n-nodes-base.googleTasks>=1 <2unverified

Provenance

Written from the vendor’s documentation: