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
| Method | Credential kind | Auth kind | Fields | Test request |
|---|---|---|---|---|
| Google account (OAuth2) | google_tasks/oauth2 | oauth2_auth_code | client_id, client_secret (secret) | yes |
| Google service account | google_tasks/service_account | jwt_service_account | client_email, private_key (secret), subject | yes |
Actions
Node type connector.google_tasks. Choose a resource and an operation; each operation has its own parameters.
Task list
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Get a task list | task_list.get | reads | 1 | |
| List task lists | task_list.list | reads | yes | 1 |
| Create a task list | task_list.create | writes | 1 | |
| Rename a task list | task_list.update | writes | 1 | |
| Delete a task list | task_list.delete | writes | 1 | |
| Clear completed tasks | task_list.clear_completed | writes | 1 |
Get a task list
Operation task_list.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
task_list | resource_locator | "@default" | yes | Values from lookup task_lists. |
List task lists
Operation task_list.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Create a task list
Operation task_list.create.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
title | string | yes |
Rename a task list
Operation task_list.update.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
task_list | resource_locator | yes | Values from lookup task_lists. | ||
title | string | yes |
Delete a task list
Operation task_list.delete.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
task_list | resource_locator | yes | Values 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).
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
task_list | resource_locator | "@default" | yes | Values from lookup task_lists. |
Task
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Create a task | task.create | writes | 1 | |
| Get a task | task.get | reads | 2 | |
| List tasks | task.list | reads | yes | 2 |
| Update a task | task.update | writes | 1 | |
| Mark a task completed | task.complete | writes | 1 | |
| Delete a task | task.delete | writes | 1 | |
| Move a task | task.move | writes | 1 |
Create a task
Operation task.create.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
task_list | resource_locator | "@default" | yes | Values from lookup task_lists. | |
title | string | yes | |||
notes | string | ||||
due | datetime | Due date. Only the date part is used by Google Tasks. | |||
status | options | One of needsAction, completed. | |||
completed | datetime | Completed at. | |||
parent | resource_locator | Parent task. Create as a subtask of this task. Depends on task_list. Values from lookup tasks. | |||
previous | resource_locator | After task. Place after this sibling task. Depends on task_list. Values from lookup tasks. |
Get a task
Operation task.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
task_list | resource_locator | "@default" | yes | Values from lookup task_lists. | |
task | resource_locator | yes | Depends on task_list. Values from lookup tasks. |
List tasks
Operation task.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
task_list | resource_locator | "@default" | yes | Values from lookup task_lists. | |
return_all | boolean | false | |||
limit | number | 50 | return_all = false | ||
show_completed | boolean | true | |||
show_hidden | boolean | false | Include completed tasks that were cleared or completed in the apps. | ||
show_deleted | boolean | false | |||
show_assigned | boolean | false | Include tasks assigned from Docs or Chat spaces. | ||
due_min | datetime | Due after. | |||
due_max | datetime | Due before. | |||
completed_min | datetime | Completed after. | |||
completed_max | datetime | Completed before. | |||
updated_min | datetime | Updated after. |
Update a task
Operation task.update. Changes only the fields that are set.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
task_list | resource_locator | "@default" | yes | Values from lookup task_lists. | |
task | resource_locator | yes | Depends on task_list. Values from lookup tasks. | ||
title | string | ||||
notes | string | ||||
due | datetime | Due date. Only the date part is used by Google Tasks. | |||
status | options | One of needsAction, completed. | |||
completed | datetime | Completed at. | |||
deleted | boolean | Set true to move the task to the trash. |
Mark a task completed
Operation task.complete.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
task_list | resource_locator | "@default" | yes | Values from lookup task_lists. | |
task | resource_locator | yes | Depends on task_list. Values from lookup tasks. |
Delete a task
Operation task.delete.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
task_list | resource_locator | "@default" | yes | Values from lookup task_lists. | |
task | resource_locator | yes | Depends 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.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
task_list | resource_locator | "@default" | yes | Values from lookup task_lists. | |
task | resource_locator | yes | Depends on task_list. Values from lookup tasks. | ||
parent | resource_locator | Parent task. Create as a subtask of this task. Depends on task_list. Values from lookup tasks. | |||
previous | resource_locator | After task. Place after this sibling task. Depends on task_list. Values from lookup tasks. | |||
destination_task_list | resource_locator | Values from lookup task_lists. |
Lookups
Lookups fill dropdowns and resource pickers in the editor from the vendor API.
| Lookup | Depends on | Search | Description |
|---|---|---|---|
task_lists | client-side | ||
tasks | task_list | client-side | {{ (’due ’ ~ item.due[:10]) if item.due else ‘’ }} |
Triggers
Node type connector.google_tasks_trigger.
| Trigger | ID | Kind | Deduplication key | Signature | Webhook registration | Cassette tests |
|---|---|---|---|---|---|---|
| Task created or updated | task_updated | poll | {{ item.id }}@{{ item.updated }} | 0 | ||
| Task completed | task_completed | poll | {{ 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).
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
task_list | resource_locator | "@default" | yes | Values from lookup task_lists. |
Trigger: Task completed
Emits tasks completed since the last check.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
task_list | resource_locator | "@default" | yes | Values 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 type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.googleTasks | >=1 <2 | unverified |
Provenance
Written from the vendor’s documentation:
- https://developers.google.com/workspace/tasks/reference/rest
- https://developers.google.com/workspace/tasks/reference/rest/v1/tasks
- https://developers.google.com/workspace/tasks/reference/rest/v1/tasks/list
- https://developers.google.com/workspace/tasks/reference/rest/v1/tasks/insert
- https://developers.google.com/workspace/tasks/reference/rest/v1/tasks/patch
- https://developers.google.com/workspace/tasks/reference/rest/v1/tasks/move
- https://developers.google.com/workspace/tasks/reference/rest/v1/tasks/clear
- https://developers.google.com/workspace/tasks/reference/rest/v1/tasklists
- https://developers.google.com/workspace/tasks/auth
- https://developers.google.com/workspace/tasks/performance
- https://tasks.googleapis.com/$discovery/rest?version=v1
- https://developers.google.com/identity/protocols/oauth2/web-server
- https://developers.google.com/identity/protocols/oauth2/service-account