Draft guarded review replies and escalate risky cases with OpenAI and Slack
Ready for 3.0What this workflow does
This workflow has 12 nodes and runs when an HTTP POST request hits its webhook URL. It uses only n8n's built-in nodes. It also calls hooks.slack.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Config (Code): runs custom JavaScript code
- Validate Input (Code): runs custom JavaScript code
- Valid? (If): checks a condition and branches into true / false
- Build Prompt (Code): runs custom JavaScript code
- Respond (Respond to Webhook): sends the response back to the webhook caller
- LLM (HTTP Request): calls an HTTP API (POST)
- Parse + Guardrails (Code): runs custom JavaScript code
- Respond (Respond to Webhook): sends the response back to the webhook caller
- Escalate? (If): checks a condition and branches into true / false
- Alert Owner (Slack) (HTTP Request): calls hooks.slack.com (POST)
…plus 1 more step. See the full node list below.
HTTP calls to: hooks.slack.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (5)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - HTTP Request
n8n-nodes-base.httpRequest
From the author
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 1. A webhook receives the…