Commit Graph

10 Commits

Author SHA1 Message Date
Claude Code
9f13d7f63d fix: use splitInBatches with basePath option instead of itemLists
- Revert to splitInBatches node type for compatibility
- Add basePath option set to 'data' to extract items from data array
- This tells n8n to iterate over the data array specifically
2026-03-17 11:11:19 +01:00
Claude Code
2fb4a54f75 fix: add Item Lists node to properly split data array from SQL response
- Replace splitInBatches with itemLists node for better data handling
- Configure splitField to 'data' to extract individual items from API response
- Adjust node positions and connections accordingly
- Fixes issue where only first item was being processed
2026-03-17 11:06:50 +01:00
Claude Code
b8d9023d00 fix: update LLM model to gpt-oss_120b_128k-gpu
- Replace unavailable gpt-3.5-turbo with available gpt-oss_120b_128k-gpu model
- Model is confirmed available on LiteLLM API endpoint
- Maintains all prompt structure and JSON response requirements
2026-03-17 11:02:47 +01:00
Claude Code
ce921f603d fix: correct SQL query syntax in Workflow A - replace NOT IN with LEFT JOIN for MariaDB compatibility
- Use LEFT JOIN with IS NULL condition instead of NOT IN subquery
- Change GROUP_CONCAT separator from '\n' to ',' (MariaDB syntax)
- Query now successfully returns unprocessed conversations from Freescout DB
- Verified: returns 20 conversations with proper data structure
2026-03-17 10:41:48 +01:00
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