My n8n Review-Reply Bot Opened 48 of 48 Replies with "Thank You For". Here’s the Fix
Описание и применение
Автоматический ответ на отзывы в n8n часто использует шаблонные фразы и не учитывает конкретные детали. Добавление кода, проверяющего ответы, устраняет эти проблемы, позволяя безопасно публиковать только релевантные ответы.
Задача
Automated review replies from a small business often use generic stock phrases and fail to address specific customer feedback, risking customer dissatisfaction and potential legal issues.
Результат
The deterministic Code node reduced generic, policy‑violating replies and ensured that only context‑aware, safe responses are posted automatically, improving reply quality and compliance.
Рабочий процесс
- Webhook triggers workflow
- Config node sets variables
- Build Prompt node constructs LLM prompt
- HTTP Request node calls /v1/chat/completions on local Ollama
- Parse response JSON
- Check Reply Code node applies deterministic rules
- If safe, Respond to Webhook node posts reply; otherwise, route to human review
Доказательства
48 / 48
29 / 48
The change that mattered was adding a Check Reply Code node right after the LLM call.
- Дата записи: 2026-10-26T07:26:23.328Z