feat(n8n): add school intake workflow v1.1
This commit is contained in:
@@ -108,13 +108,14 @@ _Last updated: 2026-05-13_
|
||||
|
||||
---
|
||||
|
||||
### 18 — Telegram School Intake → Postgres → Paperless v1.0
|
||||
### 18 — Telegram School Intake → Postgres → Paperless v1.1
|
||||
**What it does:** Accepts multipart school-work upload plus metadata (`class_name`, `assignment_name`, `submission_kind`, optional semester/course_code/paper_kind), records it in shared Postgres, and uploads it into Paperless with a deterministic `intake_id`-based filename.
|
||||
|
||||
**Local artifact checks completed:**
|
||||
- [x] Workflow JSON validates with `python3 -m json.tool`
|
||||
- [x] Companion helper script validates with `node --check school/intake/submit_to_n8n.js`
|
||||
- [x] Class profile example JSON validates with `python3 -m json.tool`
|
||||
- [x] v1.1 removes the `require('crypto')` dependency for easier live rollout
|
||||
|
||||
**Pre-test checklist:**
|
||||
- [ ] Shared Postgres table `school_paperless_intake` created from `docs/reference/SCHOOL_INTAKE_POSTGRES_SCHEMA.sql`
|
||||
|
||||
Reference in New Issue
Block a user