Skip to content

chat-based task scheduling that automatically adds to Google Calendar #23

Description

@zxnb01

Is your feature request related to a problem or challenge?

The backend lacks a task scheduler. Users can’t schedule tasks via chat or have them added to their calendar. This proposes an MVP: chat-based task scheduling with Google Calendar integration so users can type natural language and get events created automatically.

Describe the solution you'd like

-Parse chat messages for scheduling intent and date/time.
-Create a task and add an event to Google Calendar via OAuth (credentials.json + token.json).
-Return a confirmation message with task title, due time, and calendar status.
-Fallback message if calendar is not configured.

Implementation (brief)

Backend (FastAPI):
Intent detection + date parsing (dateutil/parsedatetime).
Endpoint: POST /chat schedules when intent detected.
Google Calendar module (events.insert) with OAuth flow.
Config: .gitignore credentials.json/token.json.
Frontend (Next.js):
Send chat text to backend, display success/error states.

Acceptance criteria:
“Schedule meeting tomorrow at 3 PM” creates a Google Calendar event and returns a success message.
Supports relative and absolute dates (“tomorrow”, “next Friday 10am”, “2025-10-01 14:00”).
Graceful error if OAuth not set up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions