# Automation 4: Meeting Action Item Tracker
## Handover, Features & Sales Guide

This document outlines the architecture, features, and client value proposition for the Meeting Action Item Tracker. This system transforms chaotic meeting minutes into a structured, highly interactive AI project management workspace.

---

## 💎 Core Features & Functionality

### 1. AI-Powered Extraction
Users simply paste raw, unstructured meeting minutes into the left panel. By clicking **Extract Action Items**, n8n passes the text to OpenAI, which automatically identifies all commitments, assigns them to the correct owner, calculates deadlines, and assigns a priority level based on context.

### 2. Interactive Kanban Board (Drag-and-Drop)
The extracted items instantly populate a Kanban board (To Do / In Progress / Done). 
- **Fluid Drag-and-Drop:** We implemented full HTML5 Drag-and-Drop. Users can grab any action card and physically drop it into a different column, updating its status instantly.

### 3. "My Workspace" User Switching
Rather than overwhelming individuals with the entire company's task list, we built a personalized workspace view.
- Using the dropdown in the top navigation, a user (e.g., "Sandra Louw") can "log in" to her workspace.
- The board instantly filters to show *only her tasks* across all historical meetings, creating a focused, distraction-free environment.

### 4. Task-Level Collaboration & Chat
Clicking any Action Card opens a comprehensive detail modal featuring three tabs:
- **Details:** Includes a private "My Notes" working area for the task owner.
- **Checklist:** Allows large tasks to be broken down into sub-tasks (e.g., *Draft budget*, *Get sign-off*).
- **Comments:** A contextual chat thread where team members can ask questions and @mention each other specifically about this task.
- **Visual Badges:** If a task has a new comment, a small `💬 2 New` badge appears directly on the card on the main board.

### 5. "Add to Calendar" Integration (.ics Export)
Inside the detail modal, we included an **"📅 Add to Calendar"** button. Clicking this instantly generates an `.ics` file. When the executive opens it, it blocks out the deadline on their Outlook, Apple, or Google Calendar automatically.

### 6. Premium PDF Report Generation
By clicking the **"📄 PDF Report"** button in the top navigation, the dashboard converts the interactive Kanban board into a clean, structured A4 document. 
- It includes 3 selectable Premium Cover Themes (Punkit Bold, Executive White, Midnight Premium).
- It opens the browser's native Print Preview, ready to be saved as a PDF for external distribution or board filing.

---

## 🛠️ Architecture & Deployment

### Deliverables Included
1. `meeting_tracker_dashboard.html`: The standalone dashboard front-end.
2. `meeting_tracker_workflow.json`: The n8n logic engine.

### Deployment Instructions
1. **Host the Dashboard:** Upload `meeting_tracker_dashboard.html` to AWS S3, a web server, or the client's internal portal.
2. **Import the Workflow:** Import `meeting_tracker_workflow.json` into n8n.
3. **Connect Credentials:** Add the OpenAI API key and connect your preferred Database (Airtable or Supabase) to the corresponding n8n nodes.
4. **Link the Dashboard:** Update the `extractActions()` javascript function in the HTML to POST to your newly created n8n Webhook URL.

*(Note: In this V2 build, we removed WhatsApp integration to avoid fractured communication, moving entirely to an in-dashboard notification center and task-commenting model).*

---

## 💰 Client Value Proposition (How to sell this)

**The Pitch:** 
*“How many commitments are made in your management meetings that are forgotten by Friday? This tool acts as your automated Project Manager. You paste your raw notes in, and AI instantly builds a Kanban board, assigns deadlines, and lets your team add those deadlines straight to their Outlook calendars. Everything is tracked, commented on, and resolved in one centralized workspace.”*

- **Suggested Build Time:** 4-7 hours (connecting the DB and configuring n8n webhooks)
- **Suggested Pricing:** R15,000 upfront + R3,000–R5,000/month retainer.
