Draft guarded review replies and escalate risky cases with OpenAI and Slack
Go to WorkflowDescription
Quick overview
Turn every Google, Play Store, Zomato or Amazon review into a brand-safe reply draft, without letting an LLM post something risky. Works with any OpenAI-compatible model (OpenAI, Groq, OpenRouter, Ollama).
How it works
A webhook receives the review.
The workflow validates the input, and an LLM classifies sentiment and topics and drafts a reply that mentions one concrete detail from the review.
Then deterministic code guardrails check the draft for length, blocked phrases (refunds, compensation, legal), low star ratings, and the model's own "needs attention" flag.
Safe replies are logged as ready_to_post to your sheet or CRM.
Risky ones go to the owner on Slack with the draft attached.
Setup
Credentials → New → Header Auth: Name Authorization, Value Bearer YOUR_API_KEY. Select it on LLM.
Set baseUrl, model, blockedPhrases, maxReplyWords, and escalateAtOrBelowRating in Config.
Paste a Slack incoming-webhook URL in Alert Owner (Slack).
Point Log Approved Reply at a Sheets, Airtable or CRM webhook, or swap in a native node.
Test: curl -X POST /review-reply -H 'Content-Type: application/json' -d '{"business":"Brew Lab Cafe","platform":"Google","author":"Priya","rating":2,"review":"Coffee was great but waited 25 mins and nobody apologised."}'
This workflow was created by kira and shared publicly on the n8n community template library. n8nFind indexes it for discovery — the workflow remains the property of its original creator.