> ## 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.

# Import event

> Import an externally identified event into Google Calendar without sending invitations.

`importEvent` preserves an existing cross-system iCalendar UID during a
migration or synchronization. It imports an event silently; it is not a
replacement for creating and inviting guests.

## Example

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

export default automation("Import a legacy event", () => {
  onHttpRequest({ scope: "automation" })

  importEvent({
    calendar: "Imported Events",
    iCalUID: "legacy-42@example.com",
    summary: "Legacy planning session",
    schedule: { startDate: "2026-08-10" },
  })
})
```

## Inputs

`iCalUID`, `summary`, and `schedule` are required. All event-detail fields from
[Create event](/reference/integrations/google-calendar/actions/create-event#inputs)
are supported except `createMeet` and `sendUpdates`; `calendar` defaults to
primary and `account` selects the Google account.

## Output

Returns the imported `CalendarEvent`; see [Get event](/reference/integrations/google-calendar/actions/get-event#output). Google does not send invitations for imported attendee data. The `iCalUID` is a cross-calendar identity, while later Calendar actions use the returned provider `id`.
