Schedule Assistant Documentation
Documentation for the Schedule-to-Calendar automation workflow and AI prompting logic.
1 n8n Workflow Architecture
The application relies on an n8n webhook workflow to process the schedule text/images and generate structured events. The workflow executes in the following sequence:
2 AI Prompt & JSON Structure
The LLM is configured to act as a precise Data Extraction Specialist. It strictly returns a JSON object, ensuring consistency with the UI rendering logic.
JSON Structure Rules
- Rule 1Every response MUST be a valid JSON object. Reasoning or explanations are forbidden.
- Output Schema
{ "output": { "type": "Schedule", "entries": [...] } } - Date FormatAll dates MUST follow YYYY-MM-DD format. Use current year if missing.
Critical Logic & Mapping
- •Mutual Exclusivity System strictly processes either Text OR Image to prevent data fusion conflicts.
- •Date Splitting Date ranges (e.g. "4 & 5") are automatically split into multiple sequential entries.
- •Role Mapping Intelligently maps roles like "PPT", "OBS", or "Meeting" to specific categories.