Bidirectional synchronization for doctors. Appointments appear on mobile, and personal busy slots block clinic bookings.
Every booking, rescheduling, or cancellation in LeafyWings Medix is instantly pushed to the doctor's Google Calendar, appearing on their mobile devices automatically.
Personal events (Lunches, Personal Errands) added by the doctor on their phone are fetched every 10 minutes to block those slots in the clinic schedule.
Clinic administrators can view personal event titles to better coordinate the schedule, or keep them private based on individual doctor settings.
Secure OAuth2 authorization flow. Doctors simply click "Connect" in their profile, authorize with Google, and the sync begins immediately.
| Capability | Implementation Details |
|---|---|
| Sync Frequency | Background job executes every 10 minutes (Inbound) / Real-time (Outbound) |
| Auth Protocol | OAuth 2.0 with Offline Access & Refresh Token support |
| Data Privacy | Encrypted token storage at tenant level. Opt-in for event title visibility. |
| Clash Prevention | Automated "Unavailability" creation to prevent double-booking with personal life. |
| Multi-Tenant | Distinct Google account authorization per medical staff member. |
Google Calendar will reflect clinic appointments, while private events will block the clinic schedule.