> 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-calendar-individual/action-create-detailed-event.md).

# Action: Create Detailed Event

Google Calendar Operation

<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="https://2140328495-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXw8pnXlR8JcEKIhl693Q%2Fuploads%2FMIpF5QRtLKnTakROBFdX%2FGoogle_Calendar_icon_(2020).svg.png?alt=media&amp;token=2d6d2a8c-fc2a-4721-a1eb-fc5c107873f7" alt="" width="188"><figcaption></figcaption></figure>

<p align="center">The Create Detailed Event action sets up a new event with full customization options.</p>

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

#### Example User Story

I want to create a detailed event in Google Calendar so that I can schedule and share meeting details with my team.

#### Fields

| Field Name  | Field Type | Required |
| ----------- | ---------- | -------- |
| calendarId  | String     | Yes      |
| summary     | String     | Yes      |
| description | String     | No       |
| startTime   | String     | Yes      |
| endTime     | String     | Yes      |
| timeZone    | String     | No       |
| location    | String     | No       |
| attendees   | Array      | No       |

### Related Connections

[Google Calendar](/human-connections/google/google-calendar-individual.md)

### Related Automations

Example link

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

```
{
  "handle": "create-detailed-event",
  "state": "inDev",
  "meta": {
    "short": "Create Detailed Event",
    "description": "Creates a detailed event in Google Calendar with specified parameters."
  },
  "input": [
    {
      "name": "calendarId",
      "type": "String",
      "required": true,
      "meta": {
        "description": "The calendar identifier. Populated from discovered calendars."
      }
    },
    {
      "name": "summary",
      "type": "String",
      "required": true,
      "meta": {
        "description": "Title of the event"
      }
    },
    {
      "name": "description",
      "type": "String",
      "required": false,
      "meta": {
        "description": "Detailed description of the event"
      }
    },
    {
      "name": "startTime",
      "type": "String",
      "required": true,
      "meta": {
        "description": "Start time of the event in RFC3339 format"
      }
    },
    {
      "name": "endTime",
      "type": "String",
      "required": true,
      "meta": {
        "description": "End time of the event in RFC3339 format"
      }
    },
    {
      "name": "timeZone",
      "type": "String",
      "required": false,
      "meta": {
        "description": "Time zone for the event"
      }
    },
    {
      "name": "location",
      "type": "String",
      "required": false,
      "meta": {
        "description": "Location of the event"
      }
    },
    {
      "name": "attendees",
      "type": "Array",
      "required": false,
      "meta": {
        "description": "List of attendees' email addresses, comma-separated"
      }
    }
  ],
  "output": [
    {
      "name": "eventId",
      "type": "String",
      "selector": ["id"],
      "meta": {
        "description": "ID of the created event"
      }
    },
    {
      "name": "eventLink",
      "type": "String",
      "selector": ["htmlLink"],
      "meta": {
        "description": "Link to the created event"
      }
    }
  ],
  "steps": [
    {
      "type": "http",
      "http": {
        "method": "POST",
        "path": {
          "value": "/{{calendarId}}/events",
          "placeholders": [
            {
              "name": "calendarId",
              "type": "String",
              "description": "The calendar identifier.",
              "required": true
            }
          ]
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "bodyTemplate": {
          "value": "{\"summary\": \"{{summary}}\", \"description\": \"{{description}}\", \"start\": {\"dateTime\": \"{{startTime}}\", \"timeZone\": \"{{timeZone}}\"}, \"end\": {\"dateTime\": \"{{endTime}}\", \"timeZone\": \"{{timeZone}}\"}, \"location\": \"{{location}}\", \"attendees\": [{{#attendees}}{ \"email\": \"{{.}}\" }{{/attendees}}]}",
          "placeholders": [
            {
              "name": "summary",
              "type": "String",
              "description": "Title of the event",
              "required": true
            },
            {
              "name": "description",
              "type": "String",
              "description": "Detailed description of the event",
              "required": false
            },
            {
              "name": "startTime",
              "type": "String",
              "description": "Start time of the event in RFC3339 format",
              "required": true
            },
            {
              "name": "endTime",
              "type": "String",
              "description": "End time of the event in RFC3339 format",
              "required": true
            },
            {
              "name": "timeZone",
              "type": "String",
              "description": "Time zone for the event",
              "required": false
            },
            {
              "name": "location",
              "type": "String",
              "description": "Location of the event",
              "required": false
            },
            {
              "name": "attendees",
              "type": "Array",
              "description": "List of attendees' email addresses, comma-separated",
              "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, and the optional `goal` query parameter:

```
GET https://docs.planetcrust.com/human-connections/google/google-calendar-individual/action-create-detailed-event.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
