lisekarimi/curetrack

๐Ÿ—“๏ธ Automated medication tracking and reminder tool

โ˜… 0Forks 0CSSGitHub โ†—Compare

Project website โ†—

n8n-workflow

README

๐Ÿ—“๏ธ CureTrack

Automated medication tracking and reminder tool built with n8n, Notion, and Google Calendar.

๐ŸŒ View our website

๐Ÿš€ Quick Start

Prerequisites

  • Docker Desktop + WSL (Windows) or Docker on Linux/Mac
  • Notion account + integration token
  • Google Calendar OAuth credentials
  • PostgreSQL database (local or cloud)
  • n8n (local or cloud hosting like Hostinger)

๐Ÿ“‚ Workflows

  • Download JSON files from workflows/
  • Import into n8n: Create folder "CureTrack" โ†’ Import workflows
  • ๐Ÿ“ง Gmail Calendar Wipe โ†’ deletes all calendar events
  • ๐Ÿ“… Calendar Alert Mailer โ†’ sends medication events to Google Calendar
  • ๐Ÿ“– Sync Cure History โ†’ synchronizes treatment cycles
  • ๐Ÿ”„ End Cycle Auto-Update โ†’ auto-updates stock and resets cycles

๐Ÿ—„๏ธ Database Schema

CREATE TABLE IF NOT EXISTS alerts (
  id                serial PRIMARY KEY,
  notion_id         text NOT NULL,
  notion_name       text NOT NULL,
  alert_type        text NOT NULL,
  alert_value       text NOT NULL,
  calendar_event_id text NOT NULL,
  alert_sent_at     timestamptz DEFAULT now()
);

Contributors

lisekarimi

Issues