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

# Action: Create Task

<p align="center"><a class="button primary" data-icon="circle-caret-right">Try @Human</a><a class="button primary" data-icon="check">Buy @Human Subscriptions</a><a class="button primary" data-icon="comments">Join @Human Community</a></p>

<figure><img src="/files/xtBRH49mqXsj1Nocn49x" alt="" width="188"><figcaption></figcaption></figure>

<p align="center">The Create Task action adds a new task to a specified list.</p>

{% embed url="<https://www.youtube.com/watch?v=CyuUuaBSZzA>" %}

#### Example User Story

I want to create a new task in Google Tasks so that I can keep track of my team's assignments and deadlines.

#### Fields

| Field Name | Field Type | Required |
| ---------- | ---------- | -------- |
| taskListId | String     | Yes      |
| title      | String     | Yes      |
| notes      | String     | No       |
| due        | String     | No       |

### Related Connections

[Google Tasks](/human-connections/google/google-tasks-individual.md)

### Related Automations

Example link

### Code (Apache v2.0): Operation

```
{
  "handle": "create-task",
  "state": "inDev",
  "meta": {
    "short": "Create Task",
    "description": "Creates a new task in Google Tasks."
  },
  "input": [
    {
      "name": "taskListId",
      "type": "String",
      "required": true,
      "meta": {
        "description": "The ID of the task list to add the task to."
      }
    },
    {
      "name": "title",
      "type": "String",
      "required": true,
      "meta": {
        "description": "The title of the task."
      }
    },
    {
      "name": "notes",
      "type": "String",
      "required": false,
      "meta": {
        "description": "Notes or description for the task."
      }
    },
    {
      "name": "due",
      "type": "String",
      "required": false,
      "meta": {
        "description": "Due date of the task in RFC 3339 format."
      }
    }
  ],
  "output": [
    {
      "name": "taskId",
      "type": "String",
      "selector": ["id"],
      "meta": {
        "description": "The ID of the created task."
      }
    }
  ],
  "steps": [
    {
      "type": "http",
      "http": {
        "method": "POST",
        "path": "/tasks/v1/lists/{{taskListId}}/tasks",
        "headers": {
          "Content-Type": "application/json"
        },
        "bodyTemplate": {
          "value": "{\"title\": \"{{title}}\", \"notes\": \"{{notes}}\", \"due\": \"{{due}}\"}",
          "placeholders": [
            {
              "name": "title",
              "type": "String",
              "description": "The title of the task.",
              "required": true
            },
            {
              "name": "notes",
              "type": "String",
              "description": "Notes or description for the task.",
              "required": false
            },
            {
              "name": "due",
              "type": "String",
              "description": "Due date of the task in RFC 3339 format.",
              "required": false
            }
          ]
        }
      }
    }
  ]
}

```

<p align="center"><a class="button primary" data-icon="square-caret-right">Try @Human</a><a class="button primary" data-icon="check">Buy @Human Subscription</a><a class="button primary" data-icon="comments">Join @Human Community</a></p>


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.planetcrust.com/human-connections/google/google-tasks-individual/action-create-task.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
