Calendar Sync
Sync Outlook calendar events to time entries
Date Range
Employees
No employees have Microsoft accounts configured. Please set up microsoft_user_id in the employees table.
How it works
- Fetches calendar events from Microsoft Graph API using employee's microsoft_user_id
- Maps Outlook categories (e.g., "2. Delivery", "2. Admin") to time entry categories
- For Delivery events, links to projects via client tag (e.g., "1. ClientName")
- For Business Development events, links to opportunities via client tag
- Existing auto-generated entries (entry_type = 'n8n_auto') in the date range are replaced
Scheduled Sync
A weekly cron job runs on Monday at 8 AM Atlantic, syncing the previous week (Sunday to Sunday) for all employees with configured Microsoft accounts. Each sync completely replaces existing auto-generated entries for that period.