> For the complete documentation index, see [llms.txt](https://docs.stackai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stackai.com/integrations/catalog/google-tasks.md).

# Google Tasks

Google Tasks is a task management service that lets you create, organize, and track to-do lists alongside Gmail and Google Calendar.

### Connectors

Choose the connector that matches your authentication method. The options below use the names shown in StackAI.

| Connector    | Authentication |
| ------------ | -------------- |
| Google Tasks | OAuth sign-in  |

#### Google Tasks

Connect to Google Tasks to create, update, and organize your to-do lists and tasks.

**Set up in Google Tasks**

1. Use a Google Tasks account with access to the records and operations that your workflow needs.
2. If your organization restricts application access or user consent, have its administrator approve the connection before you sign in.

**Set up in StackAI**

1. Open **Settings → Connections**, add a connection, and select **Google Tasks**.
2. Select **Connect**, sign in to the provider account, and review the requested access. Complete authorization to return to StackAI.
3. Save the connection and check its connection status. Select this saved connection when configuring an action or feature that uses it.

StackAI obtains the OAuth credentials during sign-in. You do not need to paste an access token or refresh token.

#### Verify the connection

Check that the connection is healthy. Then run a read operation against a resource the connected account can access. A successful connection check confirms authentication; it does not guarantee permission for every action.

If access is denied, check the credential or OAuth permissions, the selected account or environment, and access to the specific resource. Update expired credentials or reconnect after permissions change.

### Use an action

1. Add the required **Google Tasks** action to the workflow.
2. Select a connection when the action requests one.
3. Complete the required fields. Use the reference picker when a value comes from another workflow step.
4. Run the workflow and inspect the action’s output. Check the result before using it in a later step.

### Actions

#### Create Task

Add a to-do item to one of your Google Tasks lists, with an optional due date and notes.

**Required permissions:** `https://www.googleapis.com/auth/tasks`.

**Inputs**

| Field             | Type            | Required | Description                                                                                |
| ----------------- | --------------- | -------- | ------------------------------------------------------------------------------------------ |
| Task List         | select (string) | Yes      | The task list to add the task to. Options load from the selected connection.               |
| Title             | string          | Yes      | The task title shown in Google Tasks.                                                      |
| Notes             | textarea        | No       | Optional details or description for the task.                                              |
| Due Date          | date            | No       | Optional due date. Google stores the date only; any time-of-day is ignored.                |
| Mark as completed | boolean         | No       | Create the task already marked complete. Default: false.                                   |
| Parent Task       | select (string) | No       | Optional parent task to make this a subtask of. Options load from the selected connection. |

**Outputs**

| Field    | Type   | Description                            |
| -------- | ------ | -------------------------------------- |
| Task ID  | string | The created task id.                   |
| Title    | string | The task title.                        |
| Status   | string | needsAction or completed.              |
| Due Date | string | The due date if set.                   |
| Link     | string | Link to open the task in Google Tasks. |
| Updated  | string | Last modification time.                |

#### Create Task List

Create a new Google Tasks list to organize tasks.

**Required permissions:** `https://www.googleapis.com/auth/tasks`.

**Inputs**

| Field | Type   | Required | Description                    |
| ----- | ------ | -------- | ------------------------------ |
| Title | string | Yes      | The name of the new task list. |

**Outputs**

| Field        | Type   | Description             |
| ------------ | ------ | ----------------------- |
| Task List ID | string | The created list id.    |
| Title        | string | The list title.         |
| Updated      | string | Last modification time. |

#### Delete Task

Remove a task from a Google Tasks list.

**Required permissions:** `https://www.googleapis.com/auth/tasks`.

**Inputs**

| Field     | Type            | Required | Description                                                                   |
| --------- | --------------- | -------- | ----------------------------------------------------------------------------- |
| Task List | select (string) | Yes      | The task list containing the task. Options load from the selected connection. |
| Task      | select (string) | Yes      | The task to delete. Options load from the selected connection.                |

**Outputs**

| Field        | Type    | Description                   |
| ------------ | ------- | ----------------------------- |
| Deleted      | boolean | Whether the task was deleted. |
| Task ID      | string  | The deleted task id.          |
| Task List ID | string  | The list the task was in.     |

#### Get Task

Look up the full details of a single Google Task.

**Required permissions:** `https://www.googleapis.com/auth/tasks`.

**Inputs**

| Field     | Type            | Required | Description                                                                   |
| --------- | --------------- | -------- | ----------------------------------------------------------------------------- |
| Task List | select (string) | Yes      | The task list containing the task. Options load from the selected connection. |
| Task      | select (string) | Yes      | The task to fetch. Options load from the selected connection.                 |

**Outputs**

| Field       | Type   | Description                          |
| ----------- | ------ | ------------------------------------ |
| Task ID     | string | The task id.                         |
| Title       | string | The task title.                      |
| Notes       | string | The task notes.                      |
| Status      | string | needsAction or completed.            |
| Due Date    | string | The due date if set.                 |
| Parent Task | string | Parent task id if this is a subtask. |
| Updated     | string | Last modification time.              |

#### List Task Lists

List all of the connected account's Google Tasks lists.

**Required permissions:** `https://www.googleapis.com/auth/tasks`.

**Inputs**

| Field       | Type    | Required | Description                                      |
| ----------- | ------- | -------- | ------------------------------------------------ |
| Max results | integer | No       | Maximum number of lists to return. Default: 100. |
| Page cursor | string  | No       | Resume from a previous page.                     |

**Outputs**

| Field       | Type          | Description                       |
| ----------- | ------------- | --------------------------------- |
| Task Lists  | object\_array | The account's task lists.         |
| Next cursor | string        | Cursor for the next page, if any. |

#### List Tasks

Retrieve the tasks in a Google Tasks list, optionally including completed ones.

**Required permissions:** `https://www.googleapis.com/auth/tasks`.

**Inputs**

| Field             | Type            | Required | Description                                                                           |
| ----------------- | --------------- | -------- | ------------------------------------------------------------------------------------- |
| Task List         | select (string) | Yes      | The task list to read. Options load from the selected connection.                     |
| Include completed | boolean         | No       | Include tasks that are already completed. Default: true.                              |
| Include hidden    | boolean         | No       | Include hidden tasks (completed tasks moved out of the visible list). Default: false. |
| Due after         | date            | No       | Only tasks due on or after this date.                                                 |
| Due before        | date            | No       | Only tasks due on or before this date.                                                |
| Max results       | integer         | No       | Maximum number of tasks to return. Default: 100.                                      |
| Page cursor       | string          | No       | Resume from a previous page.                                                          |

**Outputs**

| Field       | Type          | Description                       |
| ----------- | ------------- | --------------------------------- |
| Tasks       | object\_array | The tasks in the list.            |
| Next cursor | string        | Cursor for the next page, if any. |

#### Update Task

Change a task's title, notes, or due date, or mark it complete or not complete.

**Required permissions:** `https://www.googleapis.com/auth/tasks`.

**Inputs**

| Field          | Type            | Required | Description                                                                             |
| -------------- | --------------- | -------- | --------------------------------------------------------------------------------------- |
| Task List      | select (string) | Yes      | The task list containing the task. Options load from the selected connection.           |
| Task           | select (string) | Yes      | The task to update. Options load from the selected connection.                          |
| Title          | string          | No       | New title. Leave empty to keep the current title.                                       |
| Notes          | textarea        | No       | New notes. Send an empty value to clear existing notes.                                 |
| Due Date       | date            | No       | New due date (date only). Leave empty to keep the current due date.                     |
| Clear due date | boolean         | No       | Remove the task's due date. Default: false.                                             |
| Completed      | boolean         | No       | Mark the task complete (on) or reopen it (off). Leave unset to keep the current status. |

**Outputs**

| Field    | Type   | Description               |
| -------- | ------ | ------------------------- |
| Task ID  | string | The task id.              |
| Title    | string | The task title.           |
| Status   | string | needsAction or completed. |
| Due Date | string | The due date if set.      |
| Updated  | string | Last modification time.   |

### Important behavior

If an operation is denied, check the connection’s granted permissions and the account’s access in the provider. Reauthorize the connection when it needs additional permissions.

Actions that create, update, send, or delete data can change the connected service. Review their inputs before running them. A retry can repeat an operation; consider this when configuring retries for actions that change data.

The catalog lists the fields and capabilities available in the supplied provider definition. Availability can also depend on your deployment and organization’s Feature Access settings.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.stackai.com/integrations/catalog/google-tasks.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
