Skip to main content

Create Event

Creates a new event in Google Calendar.

Common Properties

  • Name - The custom name of the node.
  • Color - The custom color of the node.
  • Delay Before (sec) - Waits in seconds before executing the node.
  • Delay After (sec) - Waits in seconds after executing node.
  • Continue On Error - Automation will continue regardless of any error. The default value is false.
info

If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.

Inputs

  • Calendar ID - Email address or calendar ID to create event in.
  • Summary - Event title.
  • Description - Event description.
  • Start Time - Event start time (RFC3339 format. e.g. 2024-03-20T15:30:00Z).
  • End Time - Event end time (RFC3339 format. e.g. 2024-03-20T17:30:00Z).
  • Attendees - List of attendee email addresses.

Options

  • Credentials - Google Calendar credentials used to authenticate with the service.

Output

  • result - The created event object.

How It Works

The Create Event node integrates with Google Calendar to create new events. When executed, the node:

  1. Validates the provided inputs (Calendar ID, Summary, Description, Start Time, End Time, Attendees)
  2. Authenticates with Google Calendar using the provided credentials
  3. Creates a new event with the specified details
  4. Returns the created event object as the result

Requirements

  • A valid Google Calendar account
  • Valid Google Calendar credentials
  • Properly formatted RFC3339 timestamps for start and end times
  • Valid email addresses for attendees (if provided)

Error Handling

The node will return specific errors in the following cases:

  • Empty or invalid Calendar ID
  • Empty or invalid Summary
  • Invalid time format for Start Time or End Time (must be RFC3339)
  • Invalid email format in Attendees list
  • Empty or invalid Google Calendar credentials
  • Google Calendar service errors

Usage Notes

  • The Calendar ID can be an email address or calendar ID. If not provided, the primary calendar is used.
  • Start Time and End Time must be in RFC3339 format (e.g. 2024-03-20T15:30:00Z)
  • Attendee emails are validated for proper email format
  • The created event object is returned as the result, which can be used in subsequent nodes