SynapseAI
Sparking Connections for Better Mental Health.
Created on 30th December 2025
•
SynapseAI
Sparking Connections for Better Mental Health.
The problem SynapseAI solves
🧠 Synapse AI
Bridging the Gap Between Students & Mental Wellness
Synapse AI is a comprehensive digital platform designed to modernize campus mental health support. By replacing outdated manual appointment systems with an intelligent, real-time mobile application, it ensures that help is always just a few taps away.
🚀 What Can People Use It For?
1. 🎓 For Students (The Users)
- Instant Access to Care: Students can browse a list of verified counselors, check their real-time availability, and book sessions instantly without the friction of phone calls or walk-ins.
- Crisis Support (SOS): In moments of urgent distress, the dedicated SOS Button provides one-tap access to 24/7 suicide prevention helplines and emergency contacts.
- Context-Aware Sessions: Students can specify their "Session Topic" (e.g., Exam Stress, Homesickness, Career Anxiety) beforehand, helping them overcome the awkwardness of breaking the ice.
- Privacy First: A digital-first approach allows students to seek help from the privacy of their dorm rooms, reducing the stigma associated with visiting a physical clinic.
2. 👨⚕️ For Counselors (The Providers)
- Smart Dashboard: A centralized hub to view upcoming schedules, track daily appointment stats, and toggle "Online/Offline" availability in real-time.
- Request Triage: Instead of blind assignments, counselors can see incoming pending requests along with the student's specific issue/topic. This allows them to Accept or Decline based on their expertise and capacity.
- Digital Workflow: Eliminates paper logs and double-booking. The system automatically handles slot conflicts and updates the database instantly.
3. 🏫 For Institutions (The Admins)
- Scalable Infrastructure: Built on AWS Amplify, the platform scales effortlessly to support thousands of students across campus.
- Data-Driven Insights: Helps institutions understand the mental health landscape of their campus by tracking request volumes and common stress topics (anonymized).
⚡ How It Makes Existing Tasks Easier & Safer
| Feature | The Old Way (Manual) | The Synapse AI Way |
|---|---|---|
| Booking | Walking to a clinic or calling during office hours. | 24/7 In-App Booking from anywhere. |
| Crisis Response | Looking up emergency numbers on notice boards. | One-Tap SOS immediately connects to help. |
| Scheduling | Manual logs (Excel/Paper) leading to double-booking. | Real-time Synchronization prevents conflicts. |
| Session Prep | Counselors go in blind, spending time figuring out the issue. | Topic Pre-Selection prepares counselors beforehand. |
| Feedback Loop | Uncertain waiting times for appointment confirmation. | Instant Notifications upon acceptance/rejection. |
🛠️ Tech Stack
- Frontend: Flutter (Cross-platform mobile app)
- Backend: AWS Amplify (Serverless)
- Database: Amazon DynamoDB (via GraphQL)
- Auth: Amazon Cognito (Secure User & Counselor Authentication)
Challenges we ran into
🐛 The Hurdle: The "Secure Triangulation" Problem
Integrating Cognito, S3, and DynamoDB via Lambda
The most significant engineering challenge was architecting a Zero-Trust File Handling System for sensitive mental health records. We needed a seamless flow where medical documents stored in S3 were strictly linked to DynamoDB session records, but only accessible by the specific users authenticated via Cognito.
The Problem: The "Leaky Bucket" Risk
We initially tried a direct-access approach where the client app would upload files directly to S3. However, this created a massive security and consistency gap:
- Security Risk: Giving the app direct write access to S3 meant malicious users could potentially flood the bucket or overwrite other files if our IAM policies weren't perfect.
- Data Inconsistency: If the file uploaded to S3 successfully, but the user's internet dropped before the app could save the file URL to DynamoDB, we ended up with "Ghost Files"—orphaned data in S3 that no one could access, breaking the application state.
The AWS Solution: The "Signed URL" Orchestrator
We solved this by removing direct S3 access from the client entirely and using AWS Lambda as a secure orchestrator in a 3-step transactional flow:
-
The Gatekeeper Lambda:
When a user wants to upload a file, the app calls a specific Lambda function. This function first validates the Cognito JWT Token to verify identity and checks DynamoDB to confirm the user actually has an active session slot. -
Pre-Signed URL Generation:
Once validated, the Lambda uses theboto3SDK to generate a temporary S3 Pre-Signed URL (valid for only 5 minutes) and returns this to the frontend. This ensures that the upload window is ephemeral and strictly controlled. -
Event-Driven Consistency (The "Glue"):
Instead of trusting the client to tell us the upload finished, we configured an S3 Event Notification.- Trigger: When the file lands in S3, it triggers a second, internal Lambda.
- Action: This Lambda parses the file metadata and automatically updates the corresponding DynamoDB appointment record with the document link.
The Result:
This decoupled architecture ensured that Cognito handled identity, Lambda enforced business logic, S3 handled storage, and DynamoDB maintained state—all without the client ever touching the infrastructure directly. We achieved 100% data consistency and enterprise-grade security for sensitive student data.
Tracks Applied (2)
Best Innovation
AWS
AWS
Technologies used
