Transform hotel guest feedback with GPT-4 sentiment analysis & service recovery
Needs changesWhat this workflow does
This AI workflow has 17 nodes and runs on Jotform events. Along the way it connects Gmail, Google Sheets, Jot Form and OpenAI Chat Model. It also calls hooks.slack.com over HTTP.
How it runs
Trigger: On Jotform events.
- Extract Feedback Data (Edit Fields (Set)): sets 8 fields: guestName, guestEmail, roomNumber…
- AI Sentiment Analysis (AI Agent): runs an AI agent, with model: OpenAI Chat Model
- Parse AI Response (Edit Fields (Set)): sets or maps fields
- Check Urgency Level (If): checks a condition and branches into true / false
- Check Service Recovery Needed (If): checks a condition and branches into true / false
- Check Positive Feedback (If): checks a condition and branches into true / false
- Log to Analytics Sheet (Google Sheets): append or update
- Alert Manager - Urgent (Gmail) (Gmail): uses Gmail
- Slack Notification (HTTP Request): calls hooks.slack.com (POST)
- Generate Recovery Offer (AI Agent): runs an AI agent, with model: OpenAI Chat Model
…plus 4 more steps. See the full node list below.
Services it uses
HTTP calls to: hooks.slack.com
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in AI Sentiment Analysis (v1.6), Generate Recovery Offer (v1.6): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Sentiment Analysis (v1.6), Generate Recovery Offer (v1.6) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (8)
- Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - If
n8n-nodes-base.if - Gmail
n8n-nodes-base.gmail - HTTP Request
n8n-nodes-base.httpRequest - Google Sheets
n8n-nodes-base.googleSheets - Jotform Trigger
n8n-nodes-base.jotFormTrigger - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
From the author
Transform guest complaints into loyalty opportunities - achieving 60% reduction in negative reviews, 85% faster service recovery, and turning dissatisfied guests into brand advocates through AI-powered sentiment analysis and automated response workflows. What…