Design note — Koalendar booking adapter (koalendar)
Target registry item: C2a (booking adapters under the system-of-record door, OB-GAP-3 / SO-1; first demand 203K9, which books evaluations through Koalendar per docs/tenants/203k9/TENANT_REFERENCE.md). Status: design note only — NOT in CONNECTOR_CATALOG; nothing built; available: false until live verification (CDoD point 14). Vendor API availability is the open question: on 2026-10-12 the Koalendar site lists Zapier and "webhooks" (Pro plan and above) among integrations and mentions no public REST API and no CSV export (see Vendor references). CDoD points are tracked in docs/reports/ONBOARDING_CONNECTORS_STATE.md.
Auth
Three candidate paths, in order of preference; which exist is verified at build (CDoD point 1):
- Vendor webhook → platform receiver. If Koalendar's webhook carries a signing secret, the tenant pastes it on the card (
webhook_secret, secret) and the receiver verifies HMAC before anything is parsed — theklaviyo_webhook.pyposture: uniform 401 at the door, never an oracle. If the vendor signs nothing, the receiver is per-tenant-URL-tokened (a server-minted path token shown once on the card) and still rate-limited and schema-validated; a plain unsigned URL is not accepted as the only authentication. - CSV export through the system-of-record door (M1). No credential at all; the tenant exports bookings from Koalendar and uploads them under the declared
column_map. Available the day the door ships, API or not. - Zapier / third-party relay. NOT admissible without an owner ruling: a relay is a processor carrying person-level booking data, which needs a recorded DPA (the
apollo/hunterprecedent: credentials structurally cannot exist withoutdpa_reference). Listed so nobody builds it quietly.
Vault-only per (tenant, provider); no environment fallback; vault error → 503; absent → merchant_credentials_not_configured.
Fields (catalog row, when built)
| key | label | secret | required | pattern | help |
|---|---|---|---|---|---|
webhook_secret |
Webhook signing secret | yes | only if the vendor signs | — | From Koalendar's webhook settings (Pro plan or above). Leave the connector on CSV upload if your plan has no webhooks. |
booking_page |
Booking page | no | no | ^[a-z0-9-]+$ |
The page slug the bookings come from; a confirmation used to label rows, never an override. |
Scopes
None (no OAuth). The receiver accepts booking events only; it never calls Koalendar.
Data topics
appointment_booked, appointment_cancelled, appointment_rescheduled (status change), by service / booking page / date. Person-level only when the tenant's system_of_record.person_level is true and a consent basis covers the subject; otherwise daily counts by service.
Consent posture
| topic | posture |
|---|---|
| booking with client identity (name, email, phone) | person-level: subject key hashed under the tenant salt at the gate; basis from the tenant's declared default (bookings carry no per-subject basis field); evaluate_consent fail-closed; no basis → dropped and counted |
| booking counts by service/day | de-personalised remainder |
| free-text answers / notes on the booking | never mapped (deny-list and O-1 lock posture of the door note) |
Mapper target
MAPPERS["system_of_record:koalendar"] → JourneyEvent (or MarketSignal counts when not person-level) → ingest_gate → mizoki_unified_data. The webhook receiver and the CSV parser feed the same mapper. No new store.
Failure modes → test-connection verdicts
| Failure | Verdict / fix |
|---|---|
| Webhook signature invalid / missing | 401 uniform (no detail that distinguishes "wrong secret" from "no secret") |
| Payload shape not the pinned vendor schema | 422 unknown_payload_shape; the event is not stored; counted |
| Plan without webhooks | the card says so from the help text; CSV path offered; no verdict can be produced because nothing is called — ping_not_supported (existing verdict) |
| Vault read error | 503 fail-closed |
Flag
KOALENDAR_SYNC default OFF; catalog row available: false until a real booking round-trips into mizoki_unified_data with date and revision recorded (CDoD point 14). The receiver route answers 404 while OFF.
Owner / operator gates
- Owner: none beyond SO-1's scoping of the door; the Zapier relay path needs an explicit owner ruling and a DPA before it may exist.
- Operator: none (no platform app). The vendor's webhook payload and signing scheme must be verified from a real tenant account before the catalog row is written (CDoD point 1) — no field is invented from this note.
Vendor references
- Koalendar site — https://koalendar.com/ — fetched 2026-10-12 (integrations list: Google/Outlook/iCloud calendars, Zoom, Teams, Stripe, PayPal, Zapier; "webhooks" named on the Pro plan; no public API or CSV export mentioned).
- Koalendar webhook payload / signing documentation — not found from the landing page; not re-fetched from this sandbox on 2026-10-12.