🔄 Sync-a-Life
Your AI-powered productivity companion. Sync. Prioritize. Alert.
Spending too much time checking Canvas Calendar, Google Calendar, Outlook Calendar?
Sync them into us, We will alert you through Text and give AI insights.
⸻
💡 Inspiration
We often miss crucial events due to overloaded schedules, lack of reminders, or inaccessible systems. With Sync-a-Life, we wanted to build a platform that brings all your life tasks together—across calendars, learning systems, and personal notes—and intelligently helps you stay on track. Whether it’s reminding you about an internship interview or syncing a last-minute deadline, Sync-a-Life is your reliable assistant.
⸻
🧠 What it does
• 📆 Calendar Integration Syncs with Google Calendar, Microsoft Outlook, and Canvas LMS to collect and centralize your tasks.
• 🤖 AI Assistant Personalized assistant powered by OpenAI GPT-3.5, with contextual awareness of your calendar. Ask questions like “What’s my schedule today?” or “When can I study?”
• 🖼️ Image-to-Task Generator Upload a flyer, whiteboard, or handwritten note and let Google Gemini Vision extract the event info and add it to your tasks.
• 📱 SMS Alerts Send customizable alerts via email-to-SMS gateways based on urgency (“emergency” vs. “general”). Twilio webhook integration is in progress. Due to A2P 10DLC restrictions, full SMS chatbot functionality will be activated post-verification.
• 🔔 Automated Scheduling Alerts Using APScheduler, SMS reminders are automatically queued and sent based on defined notification windows.
⸻
🧰 How we built it
Frontend: • Next.js (App Router) • TailwindCSS • React Components for Chat, Event Cards, Sidebar, and Upload
Backend: • FastAPI with Python • MongoDB Atlas for data storage • OAuth2 flows for Google & Microsoft
AI & LLMs: • OpenAI GPT-3.5 for chatbot • Gemini Vision for image-to-task extraction
Alerts: • SMTP + Email-to-SMS for alert delivery • APScheduler for timed notifications • Twilio (in setup) for direct SMS with 10DLC registration
⸻
💾 MongoDB Usage
We used MongoDB Atlas to store and manage all user-related data and synced calendar events.
📁 Collections Used: • users collection Stores information about authenticated users, including: • user_email: email address from OAuth (Google/Outlook) • phone_number: optionally added for SMS alert support • tasks collection Stores all synced and user-created events with: • task_id: unique ID composed of user_email and event name • user_email: used as the foreign key to fetch per-user data • source: “manual”, “google_calendar”, “outlook_calendar”, or “image” • name, type, location, start_datetime, end_datetime • emergency and general: hours before the event to trigger alerts
🤖 How MongoDB Powers the AI Assistant
The /chat endpoint uses MongoDB to: 1. Fetch the current user’s upcoming tasks from the tasks collection using their user_email. 2. Filter and sort events based on their start_datetime. 3. Format up to 5 upcoming events into a bullet-point list. 4. Inject that list into the system prompt sent to OpenAI’s GPT model. 5. Provide responses tailored to the user’s real calendar, offering personalized productivity advice.
This makes the assistant not just smart — but also context-aware and helpful in real-world time management.
🧱 Challenges we ran into
• 🔐 Managing OAuth2 across multiple APIs and redirect flows
• 🧩 Normalizing calendar data from Google, Outlook, and Canvas
• 📤 Email-to-SMS gateways have inconsistent reliability
• 🛑 Twilio A2P 10DLC registration takes 3–5 business days, preventing real-time webhook use during the hackathon
• 💰 Had to upgrade to a paid Twilio tier to proceed with SMS functionality
⸻
🏆 Accomplishments we’re proud of
• Seamlessly syncing events from multiple platforms
• Real-time AI assistant with schedule awareness
• Image-based task extraction and event creation
• User-configurable SMS alerts for any event
• Clean, interactive frontend for viewing and managing tasks
⸻
📚 What we learned
• Managing secure OAuth2 integrations across platforms
• Handling timezones and calendar event formats
• Setting up A2P messaging compliance with Twilio
• Using LLMs effectively for productivity tools
• Building full-stack apps that combine AI, user data, and notifications
⸻
🚀 What’s next for Sync-a-Life
• ✅ Finalize Twilio webhook integration after A2P approval
• 📲 Add push notifications for mobile
• 🔁 Add support for recurring tasks and event categorization
• 🗣️ Enable voice assistant integration (e.g., Siri, Google Assistant)
• 🔐 Offer smart task recommendations and productivity scoring
⸻

Log in or sign up for Devpost to join the conversation.