App Logo
calendar.google.com

Set Out of Office

Automatically set Out of Office on calendar.google.com. Create an out-of-office entry on the signed-in Google Calendar's primary calendar for a date range, with an optional custom decline message. New and existing meetings in that range are declined automatically unless declineMeetings is set false. A rehearsal mode fills the entry in and stops before saving.

Input

endDate required

End date, YYYY-MM-DD (inclusive)

startDate required

Start date, YYYY-MM-DD (inclusive)

dry_run optional

When true the entry is filled in — dates, decline setting and message — and the run stops on the step before the one that saves it. Nothing is written, and saved comes back false.

message optional

Custom decline message. Omit to keep Google's own default wording.

declineMeetings optional

Automatically decline new and existing meetings during this time. Defaults to true, matching Google Calendar's own default. Declining notifies the people who invited you.

Output

saved required

True once the composer closed after saving, and after confirming the decline when meetings are being declined.

endDate required
startDate required
dryRun optional
message optional

The custom decline message this run was asked to set, or null when Google's default wording was kept.

composerReady optional
messageApplied optional

Whether the message was read back from the field and matched just before saving. Google does not show the decline message anywhere after saving, so this is the furthest it can be checked; it does not prove the server kept it.

declineMeetings optional

FAQ

Create an out-of-office entry on the signed-in Google Calendar's primary calendar for a date range, with an optional custom decline message. New and existing meetings in that range are declined automatically unless declineMeetings is set false. A rehearsal mode fills the entry in and stops before saving.
Ask an AI agent connected to Reduck to run reduck/calendar.google.com/set_out_of_office, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/calendar.google.com/set_out_of_office
You do not need one. "Set Out of Office" drives the real calendar.google.com pages in a browser, so it works whether or not calendar.google.com offers an API for this.
Required: startDate, endDate. Optional: dry_run, message, declineMeetings.
It returns saved, dryRun, endDate, message, startDate, composerReady, messageApplied, declineMeetings.
Yes. It acts as you on calendar.google.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the calendar.google.com cookies saved by the Reduck extension.
It makes changes on calendar.google.com, like sending, posting or booking something.
Ask an AI agent connected to Reduck to run reduck/calendar.google.com/set_out_of_office, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/calendar.google.com/set_out_of_office
It is part of Reduck's official curated catalogue.

Start building not clicking