Bookedit × Airship — Integration & Onboarding Guide

This page is the live source of truth. Every change here ships with the next deploy of the Airship dashboard.

1. What this integration does

Bookedit syncs booking customers from Booked.it into Airship UK as marketing contacts, per venue, in near real-time.

2. Architecture

 Booked.it API  ──fetch──▶  Bookedit (Lovable Cloud)  ──push──▶  Airship UK API
                                        ▲                                  │
                                        └──── monitoring webhook ◀─────────┘

3. Authentication

4. Onboarding a venue

  1. Open the dashboard and click Add Integration
  2. Enter the venue name and its BookedIt Provider ID
  3. Pick the matching Airship Unit from the dropdown (loaded live from Airship UK)
  4. Click Test Connection — both BookedIt and Airship credentials are validated
  5. Save. The venue joins the scheduler rotation on the next tick

The venue's first sync may take a few minutes depending on its position in the rotation. Use Sync Now on the venue detail page if you want to force an immediate pull.

5. Data flow & rules

6. Sync cadence & retries

7. Monitoring & health

8. Historical import

Past bookings can be backfilled via the Import Historical Data page (/import). Upload a CSV and the importer reuses the same deterministic-UUID and email-filter logic, so it is safe to re-run.

9. Troubleshooting

SymptomLikely causeFix
Multiple venues stuck red at the same timeBookedIt login rate-limit storm (legacy issue, now mitigated)Confirm the scheduler is pre-warming the session and rotating one venue per tick
One venue red, others finePersistent BookedIt or Airship credential issue for that venueOpen the integration, Test Connection, re-enter credentials if needed
Bookings fetched but not in AirshipEmail filter caught them, or all 5 retries exhaustedInspect Failed Bookings; check the email field
Dashboard slow / timing outDB instance sizeCloud → Overview → Advanced settings → upsize the instance
Locked out of the dashboardToo many bad PIN attemptsWait out the lockout or clear it via the Locked IPs manager

Need to update this doc? Edit src/docs/onboarding.md in the repo. Changes ship with the next deploy.