- Added canonical n8n workflow to workflows/n8n/ (SSOT compliance). - Integrated Telegram Bot API for admin approval/denial via inline keyboards. - Implemented Authentik Core API integration to dynamically create active users. - Resolved critical technical constraints for audit compliance: * Fixed Telegram 'callback_data' 64-byte limit by optimizing payload format. * Resolved Authentik API 405 errors by enforcing trailing slash in endpoint URL. * Explicitly defined HTTP headers to prevent n8n import stripping. Definition of Done (F6-2) Met: - [x] Test user created via self-service flow. - [x] Owner received enrollment link and instructions in Telegram. - [x] Workflow committed to Git (workflows-as-code). Closes #F6-2 Related: Sprint F6 v2, Phase 4.1 Automation Roadmap
n8n Workflows
Экспорты workflow для версионирования в Git.
Импорт
docker cp workflows/buryan-health-monitor.json n8n:/tmp/wf.json
docker exec n8n n8n import:workflow --input=/tmp/wf.json
docker exec n8n n8n publish:workflow --id=<ID>