Cookbook
Ready-made gate functions for the most common calendar sync scenarios. Each recipe includes a complete, copy-pasteable function you can drop into the Code Editor or use as a starting point for customization.
tip
New to gate functions? Start with the Gate Functions Overview to understand how they work, then come back here for recipes.
Recipes
Filtering
- Block Personal Events -- Hide personal events from shared calendars
- Block by Keyword -- Block events matching specific keywords
- Filter Cancelled Events -- Remove cancelled events from sync
- Business Hours Only -- Only sync events during work hours
- Filter by Duration -- Gate events by meeting length
- Filter by Attendee Count -- Distinguish 1:1s from team meetings
Attendee-Based
- Filter by Attendee Domain -- Gate events by attendee email domain
- Domain Whitelist -- Only sync events with approved domains
Transforming
- Redact Event Titles -- Replace titles with generic text for privacy
- Prefix Event Titles -- Add a prefix to distinguish synced events
- Set Events as Free -- Mark all synced events as free/available
Advanced
- Multi-Condition Filter -- Combine multiple conditions in one gate