Files
AutoGPT/docs/integrations/google/calendar.md
Nicholas Tindle c1a1767034 feat(docs): Add block documentation auto-generation system (#11707)
- Add generate_block_docs.py script that introspects block code to
generate markdown
- Support manual content preservation via <!-- MANUAL: --> markers
- Add migrate_block_docs.py to preserve existing manual content from git
HEAD
- Add CI workflow (docs-block-sync.yml) to fail if docs drift from code
- Add Claude PR review workflow (docs-claude-review.yml) for doc changes
- Add manual LLM enhancement workflow (docs-enhance.yml)
- Add GitBook configuration (.gitbook.yaml, SUMMARY.md)
- Fix non-deterministic category ordering (categories is a set)
- Add comprehensive test suite (32 tests)
- Generate docs for 444 blocks with 66 preserved manual sections

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

<!-- Clearly explain the need for these changes: -->

### Changes 🏗️

<!-- Concisely describe all of the changes made in this pull request:
-->

### Checklist 📋

#### For code changes:
- [x] I have clearly listed my changes in the PR description
- [x] I have made a test plan
- [x] I have tested my changes according to the test plan:
  <!-- Put your test plan here: -->
  - [x] Extensively test code generation for the docs pages



<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Introduces an automated documentation pipeline for blocks and
integrates it into CI.
> 
> - Adds `scripts/generate_block_docs.py` (+ tests) to introspect blocks
and generate `docs/integrations/**`, preserving `<!-- MANUAL: -->`
sections
> - New CI workflows: **docs-block-sync** (fails if docs drift),
**docs-claude-review** (AI review for block/docs PRs), and
**docs-enhance** (optional LLM improvements)
> - Updates existing Claude workflows to use `CLAUDE_CODE_OAUTH_TOKEN`
instead of `ANTHROPIC_API_KEY`
> - Improves numerous block descriptions/typos and links across backend
blocks to standardize docs output
> - Commits initial generated docs including
`docs/integrations/README.md` and many provider/category pages
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
631e53e0f6. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 07:03:19 +00:00

4.1 KiB

Google Calendar

Blocks for creating and reading events from Google Calendar.

Google Calendar Create Event

What it is

This block creates a new event in Google Calendar with customizable parameters.

How it works

This block creates events in Google Calendar via the Google Calendar API. It handles various event parameters including timing, location, guest invitations, Google Meet links, and recurring schedules. The block authenticates using your connected Google account credentials.

When you specify guests, they receive email invitations (if notifications are enabled). The Google Meet option adds a video conference link to the event automatically.

Inputs

Input Description Type Required
event_title Title of the event str Yes
location Location of the event str No
description Description of the event str No
timing Specify when the event starts and ends Timing No
calendar_id Calendar ID (use 'primary' for your main calendar) str No
guest_emails Email addresses of guests to invite List[str] No
send_notifications Send email notifications to guests bool No
add_google_meet Include a Google Meet video conference link bool No
recurrence Whether the event repeats Recurrence No
reminder_minutes When to send reminders before the event List[int] No

Outputs

Output Description Type
error Error message if the operation failed str
event_id ID of the created event str
event_link Link to view the event in Google Calendar str

Possible use case

Automated Meeting Scheduling: Create calendar events when appointments are booked through a form or scheduling system.

Event Reminders: Schedule events with custom reminder notifications for team deadlines or milestones.

Team Coordination: Create recurring meetings with Google Meet links when onboarding new team members.


Google Calendar Read Events

What it is

Retrieves upcoming events from a Google Calendar with filtering options

How it works

This block fetches upcoming events from Google Calendar using the Calendar API. It retrieves events within a specified time range, with options to filter by search term or exclude declined events. Pagination support allows handling large numbers of events.

Events are returned with details like title, time, location, and attendees. Use 'primary' as the calendar_id to access your main calendar.

Inputs

Input Description Type Required
calendar_id Calendar ID (use 'primary' for your main calendar) str No
max_events Maximum number of events to retrieve int No
start_time Retrieve events starting from this time str (date-time) No
time_range_days Number of days to look ahead for events int No
search_term Optional search term to filter events by str No
page_token Page token from previous request to get the next batch of events. You can use this if you have lots of events you want to process in a loop str No
include_declined_events Include events you've declined bool No

Outputs

Output Description Type
error Error message if the request failed str
events List of calendar events in the requested time range List[CalendarEvent]
event One of the calendar events in the requested time range CalendarEvent
next_page_token Token for retrieving the next page of events if more exist str

Possible use case

Daily Briefings: Fetch today's events to generate a morning summary or prepare for upcoming meetings.

Schedule Conflicts: Check for overlapping events before scheduling new appointments.

Meeting Preparation: Retrieve upcoming meetings to pre-load relevant documents or send reminders.