On this page
To prevent ghost events in Google Calendar sync during reschedules, staff reassignments, and cancellations, teams must enforce a single source of truth paired with deterministic Event IDs and atomic delete-before-move cleanup. When a booking system generates repeatable base32hex IDs, serializes writes behind per-booking locks, deletes old calendar entries before creating replacements, and blocks direct drag-and-drop edits inside Google Calendar, double-booked phantom slots disappear.
Editorial disclosure: Published by TrolyPage, whose one-way Google Calendar integration is evaluated in this guide alongside Zapier, Make, n8n, Google Calendar API specifications, and the IANA Time Zone Database.
Why Reschedules, Reassignments, and Cancellations Create Ghost Events
Calendar sync failures rarely happen on initial creation. They surface twenty minutes later when a client moves a 2:00 PM consultation to 4:30 PM, a clinic coordinator swaps the assigned practitioner mid-shift, or a customer cancels outright. Across multi-timezone service desks—such as a physiotherapy clinic spanning Austin (America/Chicago) and Toronto (America/Toronto), or an advisory team routing calls between London (Europe/London) and New York (America/New_York)—these three lifecycle mutations are where phantom appointments and double-booked slots multiply.
Ghost events trace back to three operational breakdowns. First, when front-desk staff drag an event directly inside Google Calendar in a one-way integration, the booking ledger never sees the edit, causing immediate schedule drift that is overwritten on the next booking update. Second, do-it-yourself automation zaps that run a fresh "Create Event" step on every status change—without computing a deterministic identifier—leave stale blocks behind whenever a client reschedules twice. Third, during staff reassignments, naive connectors write the new appointment to Staff B's calendar before confirming Staff A's copy was deleted. If Staff A revoked Google access or left the company, Staff A keeps a phantom slot while Staff B holds the active booking.
Eliminating those failure modes requires locking all lifecycle mutations inside one authoritative ledger—such as TrolyPage's booking engine described on the TrolyPage features overview—backed by idempotent event addressing and strict deletion ordering.
Option A vs Option B vs Option C: Calendar Mutation Tradeoffs
Operations leads configuring appointment sync typically pick among three architectures. Comparing them across mutation integrity, failure mode, and monthly cost shows why "convenient" calendar drags or quick webhook recipes fail under front-desk volume.
| Decision Axis | Option A: Direct Google Calendar Edits (Drag-and-Drop / Manual Delete) | Option B: DIY Zapier / Make Recipes Without Deterministic Event IDs | Option C: Single-Source-of-Truth One-Way Sync (Deterministic ID + Atomic Cleanup) |
|---|---|---|---|
| Authoritative Ledger | Split brain: staff drag blocks in Google Calendar while booking records retain stale times | Booking tool emits webhooks, but middleware lacks transactional locks across rapid edits | Booking ledger (TrolyPage) owns 100% of writes; Google Calendar stays a read-only view |
| Root Technical Mechanism | No sync-back hook in one-way sync; later CRM updates overwrite manual moves, and manual deletes leave active bookings | Every reschedule fires a new webhook; without base32hex IDs or Data Store lookups, POST creates duplicates and misses old deletes |
Deterministic ID (tp + SHA-1), monotonic outbox revision, 300s lock, atomic DELETE before PUT/POST, and explicit IANA timezones |
| Reassignment Safety | Coordinator manually invites Staff B and forgets to remove Staff A | Often writes Staff B's event even when Staff A's delete fails, causing silent double-booking | Halts move with DomainException if Staff A's token is revoked; surfaces reconnect alert in recent_errors before writing Staff B |
| DST & Timezone Accuracy | Manual drags misalign when coordinator and specialist sit in different DST zones | Needs manual timezone formatter steps per scenario; missing zones default unpredictably | Payloads send explicit IANA timeZone strings plus ISO-8601 offsets (Asia/Ho_Chi_Minh fallback if unset) |
| Cost at 2,000 Mutations/mo | $0 software, plus 3–6 hours/month of manual reconciliation and recovery | $193.50/mo Zapier Pro (10K tier at 3 tasks/mut) or $9.00/mo Make (8,000 of 10,000 credits, thin retry margin) | $0/mo incremental middleware cost inside TrolyPage workspace plans (Lite $8/mo to Scale $104/mo) |
| Failure Cost When Wrong | Overwritten reschedules, reminders firing at the wrong hour, and staff distrusting calendars | Duplicate events on specialist calendars, burned task quotas during retries, and ghost slots surviving cancels | Requires training staff never to drag blocks in Google Calendar; revoked rep tokens require one admin reconnect to purge old slots |
Option C trades casual drag-and-drop editing inside Google Calendar for deterministic convergence. Whether a booking originates from an AI assistant in Messenger, Website Chat, or a human coordinator, the calendar view converges cleanly to match TrolyPage.
Deterministic Event IDs and Atomic Delete-Before-Move Explained
TrolyPage connects via OAuth using strictly the Google Calendar calendar.app.created scope, limiting access to dedicated secondary calendars created by the app—TrolyPage - Lịch hẹn in shared mode (Owner/Admin) or TrolyPage - Lịch hẹn <Name> in staff mode (per user). These default calendar labels use Vietnamese naming regardless of team locale, while event titles and descriptions carry your service name, customer contact details, deposit status, intake notes, and a private trolypage_booking_id tag.
Four technical rules govern every booking mutation:
- Repeatable
base32hexEvent IDs: Under the Google Calendar API v3 Events specification, custom event IDs must use lowercasebase32hexcharacters (a-vand0-9), measure 5 to 1,024 characters, and remain unique per calendar. TrolyPage computes"tp" + sha1(account_id + ":" + booking_id)—42 characters strictly within0-9a-f—so rescheduling the same booking five times always targets the exact same event slot. - Monotonic Revisions and 300-Second Locks: Each create, update, or delete observer event increments a monotonic
revisioncounter ingoogle_calendar_sync_items. Workers claim pending rows and hold a 300-second cache lock per booking (outliving the 120-second job timeout), while a drain job resets stalerunningitems older than 5 minutes and dispatches batches of up to 200 jobs. - Idempotent Upsert (
PUT→404→POST→409→PUT): Active bookings attempt an HTTPPUTfirst. On404 Not Found, the worker sendsPOSTwith the explicitid; if a concurrent retry triggers409 Conflictper the Google Calendar API error guide, it falls back toPUT. - Atomic Delete-Before-Move and Safe Halt: If a booking is cancelled, deleted, lacks an active target connection, or changes
connection_idduring reassignment, the worker sendsDELETEto the old calendar first (accepting404and410 Goneas clean removal). Crucially, if the old staff connection is no longerconnected—for example, a departing clinician revoked Google access—the worker throws aDomainExceptionand halts instead of creating a duplicate on Staff B's calendar.
Retry handling aligns with Google Calendar API quota guidelines (1,000,000 daily no-charge HTTP 2xx requests per Cloud billing account). Transient 5xx errors and 403 rate limits retry with truncated exponential backoff—min(3600s, 30 * 2^attempts)—up to 6 attempts. HTTP 401 Invalid Credentials and missing-staff errors fail immediately with zero wasted retries and surface in recent_errors; reconnecting OAuth resets failed items to pending.

4-Event Booking Lifecycle Hygiene Matrix and Front-Desk Checklist
Use this matrix as your operations standard when auditing shared desks and per-staff secondary calendars.
| Lifecycle Event | Deterministic Event ID | Google API Sequence | Old-Calendar Cleanup | Failure & Recovery |
|---|---|---|---|---|
| 1. Create (New booking) | Computes tp + sha1(account_id:booking_id); stores mapping |
PUT → 404 → POST with explicit id (or 409 → PUT) |
None | In staff mode, missing staff_id or unlinked user throws DomainException until assigned |
| 2. Reschedule (Time, duration, or notes edited) | Reuses identical tp + sha1(...) on same calendar_id |
PUT updates ISO-8601 start/end, IANA timeZone, and description |
None (same slot; zero duplicates) | Overwrites manual drag edits made in Google Calendar; retries 403/5xx up to 6 times |
3. Reassign (staff_id shifts from Rep A to Rep B) |
Same formula; target slot shifts user:A → user:B |
DELETE on Rep A's calendar, drop mapping, then PUT/POST on Rep B |
Atomic delete-before-move mandatory whenever connection_id changes |
If Rep A revoked OAuth, halts safely with reconnect alert; auto-requeues once Rep A reconnects |
4. Cancel / Delete (Status cancelled or deleted) |
Targets stored eventId and mapping.calendar_id |
DELETE; accepts 200, 204, 404, or 410 Gone |
Deletes mapping row and marks outbox completed |
If staff disconnected prior to cancel, surfaces error for reconnect or manual verification |
Front-Desk Source-of-Truth & Timezone Checklist
- Enforce "Look Only" in Google Calendar: Train staff that TrolyPage's secondary calendar is read-only. Never drag blocks or delete events inside Google Calendar—execute every mutation in TrolyPage.
- Require
staff_idbefore confirming instaffmode: Unassigned bookings cannot route to auser:<id>slot. Usesharedmode for unassigned intake desks or enforce specialist selection before confirmation. - Reassign bookings before offboarding staff: Bulk-reassign upcoming appointments to covering staff before revoking a departing rep's Google Workspace account so atomic
DELETEclears their old calendar cleanly. - Set explicit IANA timezones: Use canonical zones from the IANA Time Zone Database (
America/New_York,Europe/London,Asia/Singapore) rather than fixed offsets. Unset timezones fall back toAsia/Ho_Chi_Minh, which ignores DST and drifts by one hour against US or European DST shifts. - Check
recent_errorsdaily: Password resets or revoked tokens trigger instant401stops; prompt affected staff to reconnect via/app/bookings. - Separate personal primary events: Because
calendar.app.createdisolates TrolyPage to its own secondary calendar, staff keep personal events private on their primary calendar and overlay TrolyPage side by side. - Export weekly compliance snapshots: Pair calendar sync with TrolyPage's async CSV exports or least-privilege Google Sheets OAuth sync (
drive.file+ Google Picker +spreadsheets). - Resync only after structural repairs: If a user manually deletes TrolyPage's secondary calendar in Google, reconnecting creates a new secondary calendar and warns that events on the inaccessible old calendar may remain.
Monthly TCO at 500, 2,000, and 5,000 Mutations: Native Sync vs Middleware
Teams occasionally consider wiring custom calendar pipelines in Zapier, Make, or n8n. Once you add the lookup, branching, old-event deletion, and upsert modules required to prevent ghost events, step-based billing climbs rapidly.
The table below compares incremental monthly middleware cost at 500, 2,000, and 5,000 booking mutations/month using live pricing checked on December 2, 2026: Zapier pricing (multi-step Zaps require Professional+; conservatively 3 tasks/mutation: Search Event + Path/Filter + Delete or Upsert), Make credits and extra-credit pricing (1 non-AI op = 1 credit; 4 ops/mutation; $9/mo 10,000-credit annual baseline with a 25% surcharge of $11.25 per +10,000 extra credits), n8n pricing (1 workflow execution/mutation regardless of steps; Cloud Starter 20 EUR/mo for 2,500 executions, Pro 50 EUR/mo for 10,000 executions billed annually, vs $0 software license for self-hosted Community Edition), and TrolyPage pricing ($0 incremental sync fee).
| Sync Architecture | Billing Unit & Multiplier | 500 Mutations / mo | 2,000 Mutations / mo | 5,000 Mutations / mo | Hidden Ops & Ghost Risk |
|---|---|---|---|---|---|
| DIY Zapier Pro (Monthly) | Per task (3 tasks/mut; Free caps at 100 tasks & 2 steps) | $58.50/mo (1,500 tasks; $39.00/mo annual) | $193.50/mo (6,000 tasks → 10K tier; $129.00/mo annual) | $283.50/mo (15,000 tasks → 20K tier; $189.00/mo annual) | Reassignments needing Delete + Create burn 4 tasks; shared connections require Team ($103.50–$373.50/mo) |
| DIY Make (Annual Base) | Per credit (4 ops/mut; 1 non-AI op = 1 credit) | $9.00/mo (2,000 of 10,000 credits) | $9.00/mo (8,000 of 10,000 credits; thin retry margin) | $20.25/mo (20,000 credits = $9.00 + $11.25 extra pack) | Requires building and maintaining a Data Store ID map and custom 404/409/410 error branches |
| Self-Hosted n8n (CE) | Per execution (1 exec/mut, unlimited steps) | $0 software (+ VPS & DevOps upkeep; Cloud Starter: 20 EUR/mo) | $0 software (+ VPS & DevOps upkeep; Cloud Starter: 20 EUR/mo) | $0 software (+ VPS & DevOps upkeep; Cloud Pro: 50 EUR/mo) | No task tax, but your team owns server uptime, OAuth refresh tokens, per-booking locks, and retries |
| TrolyPage Native Sync | Built-in outbox ($0 add-on) | $0 incremental ($8–$104/mo workspace) | $0 incremental ($8–$104/mo workspace) | $0 incremental ($8–$104/mo workspace) | Zero middleware fees; governed by Google's 1M/day API quota. Requires one-way front-desk discipline |

Reserve Zapier, Make, or n8n for downstream CRMs and storefronts where TrolyPage lacks a native two-way app—such as HubSpot, Salesforce, Shopify, or WooCommerce—as explained in TrolyPage's Zapier, Make, and n8n automation guide.
Honest Workspace Boundaries, Pricing, and Rollout Guidance
Before deploying one-way calendar sync across a multi-timezone team, account for TrolyPage's transparent pricing and platform limits:
- Workspace Plans and Add-Ons: Free is a one-time, time-limited workspace trial ($0.00/mo, 100 MAU, 3 connections, 50,000 AI tokens—not permanent free). Self-serve tiers run Lite at $8.00/mo ($80.00/yr, 250 MAU, 5 connections), Starter at $16.00/mo ($160.00/yr, 500 MAU, 10 connections), Pro at $32.00/mo ($320.00/yr, 1,600 MAU, 20 connections + TrolyMail), and Scale at $104.00/mo ($1,036.00/yr, 10,000 MAU, 30 connections + TrolyMail). By default, 1 Facebook Page using publishing and Messenger consumes 2 connections; add-ons cost $2.00/mo per extra Page, $2.00/mo per 1,000 subscribers, and $1.00/mo per extra human seat (base seats confirmed at checkout).
- Documented Non-Features: TrolyPage has no two-way Google Calendar sync, no native two-way Shopify, WooCommerce, BigCommerce, HubSpot, or Salesforce apps (use webhooks or Zapier Webhooks), and no public developer REST API yet (automation relies on webhooks and MCP).
- Support Window and Docs Language: Automated AI and calendar workers run 24/7, while live vendor support operates during Vietnam business hours (
UTC+7). Public docs at docs.trolypage.com are currently in Vietnamese, so international teams should include the English lifecycle matrix and checklist above in their internal runbooks.
Enforcing single-source-of-truth edits inside TrolyPage, isolating writes under calendar.app.created, setting explicit IANA timezones, and reassigning appointments before revoking staff tokens keeps every calendar accurate without paying a monthly middleware tax.
Comments
Your comment will appear after review.
Sign in to commentNo comments to show.