Skip to content

Extra Customization

kat edited this page Aug 29, 2022 · 16 revisions

These customization options are enabled or disabled (true/false) using the constants declared at the start of the script.

ARCHIVE_CANCELLED_EVENTS

Default = true

Whenever or not pages tagged as removed/cancelled should be archived by the script.

DELETE_CANCELLED_EVENTS

Default = true

Whenever or not events marked as canceled in GCal should be tagged as removed/cancelled and then archived by the script.

IGNORE_RECENTLY_PUSHED

Default = true

Whenever or not events recently synced from Notion to GCal should be synced back from GCal to Notion in the same script instance. Note that disabling this option can cause duplicate pages in Notion!

FULL_SYNC

Default = false

Whenever or not a full sync should be done when pulling events from GCal. Should only really be used when events are missing. The sync token is discarded, and the GCal API will list as many events as it can when called, ignoring whenever or not those events have been updated or are new.

Clone this wiki locally