Commit Graph

6 Commits

Author SHA1 Message Date
Claude Code
96d70d9edf fix: resolve MariaDB collation error by switching from mysql-connector to PyMySQL
- Replace mysql-connector-python with PyMySQL driver for better MariaDB compatibility
- PyMySQL handles utf8mb4_0900_ai_ci collation properly without errors
- Update Dockerfile.sql-executor to install PyMySQL and psycopg2-binary
- Refactor sql-query-executor.py to use PyMySQL API (pymysql.connect, DictCursor)
- Verified sql-executor service with SELECT, INSERT, UPDATE operations on Freescout DB
- Add n8n workflow definitions: workflow-a-http.json and workflow-b-http.json
  * Workflow A: Polls unprocessed conversations, analyzes with LiteLLM, saves suggestions
  * Workflow B: Polls approved suggestions, executes Baramundi jobs or email replies
- Update compose.yaml with sql-executor service configuration and dependencies

All SQL operations now execute successfully against MariaDB 11.3.2
2026-03-17 09:31:03 +01:00
c67561e047 feat: workflow C – knowledge base auto-update 2026-03-16 17:21:33 +01:00
5457a8de39 feat: workflow B – approval gate and execution 2026-03-16 17:16:02 +01:00
2a636a7a46 fix: correct JSON syntax and n8n expressions in workflow A 2026-03-16 17:13:26 +01:00
2195cd22da feat: workflow A – mail processing and KI analysis 2026-03-16 17:10:41 +01:00
527d55b040 docs: n8n setup and credential configuration 2026-03-16 17:07:16 +01:00