> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Create calendar

> Create a secondary Google Calendar owned by the connected user.

`createCalendar` creates a new secondary calendar. It cannot replace or create
the account's primary calendar.

## Example

```ts theme={null}
import { automation, onHttpRequest } from "automate.ax"
import { createCalendar } from "automate.ax/google-calendar"

export default automation("Create a launch calendar", () => {
  onHttpRequest({ scope: "automation" })

  createCalendar({
    summary: "Product launch",
    description: "Launch milestones and reviews",
    timeZone: "America/Los_Angeles",
  })
})
```

## Inputs

`summary: string` is required. Optional `description`, `location`, and IANA
`timeZone` are strings; `account` selects the Google account.

## Output

Returns the created `Calendar`; see [Get calendar](/reference/integrations/google-calendar/actions/get-calendar#output). Store `id` for stable references because display titles can change or collide.
