Prompt #129

Back to prompts
n8n workflow tagged project:* with rag-watch
Flow Β· claude-3.5-haiku
4/5
Variables
{'name': 'project_id', 'description': 'from .agent/projects.yaml'}, {'name': 'flow_name', 'description': 'slug'}, {'name': 'trigger', 'description': 'webhook/cron/etc'}, {'name': 'action', 'description': 'what it does'}
Tags
stack-aware,n8n,workflow,rag,inotify
Source
research-2026-05-01-stack-aware-handcrafted
Use count
0
Created
2026-05-01T18:30:35.938632+00:00
Updated
2026-05-01T18:30:35.938632+00:00

Content

Create an n8n flow tagged `project:{project_id}` with auto-import to RAG via `n8n-rag-watch.service`.

Setup:
1. Author flow JSON in n8n UI (https://n8n.joelduss.xyz, Authelia-protected)
2. Add tag `project:{project_id}` to the flow (use existing project IDs from `.agent/projects.yaml`: glug, rag-stack, yoga, gitea, n8n-automation, …)
3. Optional: add tag for trigger-class β€” `cron`, `webhook`, `inotify`, `manual`
4. Export flow JSON, save under `/nvmetank1/projects/glug/n8n-flows/{project_id}/{flow_name}.json` (this dir is the watch-target)
5. `n8n-rag-watch.service` (systemd, debounce 15s) detects + ingests via `n8n-rag-import` β†’ rag.db `glug_lessons` with tags `n8n-flow,project:{project_id}`
6. Verify: `curl 'http://127.0.0.1:8801/api/v1/lessons/search?q={flow_name}&limit=5'`

Project-tagging convention (per memory `feedback_n8n_per_project.md`):
- `project:<repo>` β€” flow specific to that repo
- `general` β€” flow used across many projects (no project-tag)
- Tag cardinality: avoid > 8 tags per flow (UI clutter)

Trigger description: {trigger}
Action description: {action}