docs(n8n): version school intake workflow artifacts
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "Telegram School Intake → Postgres → Paperless",
|
||||
"name": "Telegram School Intake → Postgres → Paperless v1.0",
|
||||
"active": false,
|
||||
"isArchived": false,
|
||||
"nodes": [
|
||||
@@ -217,7 +217,8 @@
|
||||
},
|
||||
"staticData": null,
|
||||
"meta": {
|
||||
"templateCredsSetupCompleted": false
|
||||
"templateCredsSetupCompleted": false,
|
||||
"artifactVersion": "v1.0"
|
||||
},
|
||||
"pinData": {},
|
||||
"tags": [
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "Paperless School Intake Metadata Enrichment",
|
||||
"name": "Paperless School Intake Metadata Enrichment v1.0",
|
||||
"active": false,
|
||||
"isArchived": false,
|
||||
"nodes": [
|
||||
@@ -274,7 +274,8 @@
|
||||
},
|
||||
"staticData": null,
|
||||
"meta": {
|
||||
"templateCredsSetupCompleted": false
|
||||
"templateCredsSetupCompleted": false,
|
||||
"artifactVersion": "v1.0"
|
||||
},
|
||||
"pinData": {},
|
||||
"tags": [
|
||||
@@ -15,8 +15,8 @@
|
||||
| 14 | Paperless Inbox Reminder | Scheduled (Monday 9 AM) | Queries Paperless for untagged documents; sends Gotify reminder with oldest items listed, or a ✅ clear if inbox is empty |
|
||||
| 15 | n8n Self-Health Monitor | Scheduled (every 15 min) | Checks n8n execution history for failures in the past hour; deduplicates via Postgres; pushes Gotify alert with workflow name and error summary |
|
||||
| 16 | NFS Mount Watchdog | Scheduled (every 5 min) | Probes NFS mount points on PD; if missing: runs mount script, re-probes, restarts affected containers (Plex, Audiobookshelf, Immich); notifies via Gotify on heal or escalation |
|
||||
| 18 | Telegram School Intake → Postgres → Paperless | `POST /webhook/school/intake/upload` | Accepts multipart schoolwork uploads plus class/assignment metadata, writes an intake record to shared Postgres, then uploads into Paperless with deterministic `intake_id` in the filename/title |
|
||||
| 19 | Paperless School Intake Metadata Enrichment | `POST /webhook/school/intake/paperless-enrich` | Handles Paperless post-consumption webhooks, looks up the intake record by deterministic filename, then applies deterministic title/tags and optional document-type/correspondent mapping |
|
||||
| 18 | Telegram School Intake → Postgres → Paperless v1.0 | `POST /webhook/school/intake/upload` | Accepts multipart schoolwork uploads plus class/assignment metadata, writes an intake record to shared Postgres, then uploads into Paperless with deterministic `intake_id` in the filename/title |
|
||||
| 19 | Paperless School Intake Metadata Enrichment v1.0 | `POST /webhook/school/intake/paperless-enrich` | Handles Paperless post-consumption webhooks, looks up the intake record by deterministic filename, then applies deterministic title/tags and optional document-type/correspondent mapping |
|
||||
|
||||
## How to Import
|
||||
|
||||
@@ -289,9 +289,9 @@ curl -X POST https://n8n.paccoco.com/webhook/git/push \
|
||||
}'
|
||||
```
|
||||
|
||||
## Workflow 18 — Telegram School Intake → Postgres → Paperless
|
||||
## Workflow 18 — Telegram School Intake → Postgres → Paperless v1.0
|
||||
|
||||
Import `18-school-paperless-intake.json` for a chat-driven schoolwork intake flow. Supporting notes live at `docs/operations/SCHOOL_PAPERLESS_INTAKE.md` and the tracked schema lives at `docs/reference/SCHOOL_INTAKE_POSTGRES_SCHEMA.sql`.
|
||||
Import `18-school-paperless-intake-v1.0.json` for a chat-driven schoolwork intake flow. Supporting notes live at `docs/operations/SCHOOL_PAPERLESS_INTAKE.md` and the tracked schema lives at `docs/reference/SCHOOL_INTAKE_POSTGRES_SCHEMA.sql`.
|
||||
|
||||
Highlights:
|
||||
- multipart upload endpoint: `POST /webhook/school/intake/upload`
|
||||
@@ -303,6 +303,16 @@ Highlights:
|
||||
Testing fixture:
|
||||
- `fixtures/school-paperless-intake-webhook.curl.example.txt`
|
||||
|
||||
## Workflow Versioning Convention
|
||||
|
||||
For n8n workflow artifacts in this repo:
|
||||
- include the version in the **filename** (example: `18-school-paperless-intake-v1.0.json`)
|
||||
- include the version in the workflow's internal **`name`** field
|
||||
- bump the version whenever behavior, schema expectations, webhook payload handling, or env requirements change
|
||||
- update `n8n-workflows/README.md` and `n8n-workflows/TESTING-STATUS.md` when introducing a new workflow version
|
||||
|
||||
Do not overwrite a workflow artifact with silent behavior changes and no version bump. That way lies confusion and sweaty guesswork. Ha ha.
|
||||
|
||||
## Customizing RSS Feeds (Workflow 06)
|
||||
|
||||
Edit the "Define RSS Feeds" Code node to add/remove feeds. Default feeds:
|
||||
|
||||
Reference in New Issue
Block a user