workflows.fit
Back to n8n workflows
n8n templateFreeBy Rahul Joshi

Classify guest enquiries and send replies with GPT-4o, Gmail and Slack

๐Ÿ“˜ Description This workflow automates guest enquiry intake, intent classification, response generation, and internal routing for hospitality businesses using webhooks, GPT-4o, Gmail, and Slack. It converts raw guest ...

CommunicationHITLAILangchainDevelopmentCore NodesSticky NoteSet
Loading interactive preview...

Template notes

๐Ÿ“˜ Description This workflow automates guest enquiry intake, intent classification, response generation, and internal routing for hospitality businesses using webhooks, GPT-4o, Gmail, and Slack. It converts raw guest enquiries into structured, actionable items while ensuring fast acknowledgements, correct team assignment, and SLA visibility. When a guest submits an enquiry through a webhook (website form, booking page, or external system), an AI agent analyzes the message to detect intentโ€”booking, pricing, availability, or policy. The agent generates a polite, human-like acknowledgement message and determines the most suitable internal team to handle the request. Based on the detected intent, the workflow assigns the enquiry to the correct team with a predefined SLA.

If the guest prefers email communication, an automated reply is sent via Gmail. In parallel, a detailed enquiry summaryโ€”including guest details, detected intent, assigned agent, and SLAโ€”is posted to Slack for internal visibility and follow-up. All AI responses are also logged to Slack for transparency. Any workflow failure triggers an immediate Slack alert with diagnostic details.

โš™๏ธ What This Workflow Does (Step-by-Step) ๐Ÿ“ฅ Webhook Trigger โ€“ Guest Enquiry Intake Receives guest enquiry data (name, email, message, dates, preferences). ๐Ÿง  AI Intent Classification & Reply Generation GPT-4o analyzes the enquiry, detects intent, and generates a polite acknowledgement. ๐Ÿ” Extract Detected Category Parses AI output to identify the enquiry category. ๐Ÿ”€ Route by Intent Category Directs enquiries to booking, pricing, availability, or policy flows. ๐Ÿ‘ฅ Team Assignment with SLA Assigns the enquiry to the correct team and sets response SLA. ๐Ÿ“ง Send Email Reply to Guest (Conditional) Automatically replies if the guest prefers email contact. ๐Ÿ’ฌ Post Enquiry Summary to Slack Shares full enquiry context, assignment, and SLA for team follow-up. ๐Ÿ“ Log AI Reply to Slack Stores the generated guest reply for internal reference. ๐Ÿšจ Error Handler โ†’ Slack Alert Sends instant alerts if any node fails.

๐Ÿงฉ Prerequisites โ€ข n8n webhook endpoint โ€ข OpenAI / Azure OpenAI (GPT-4o or GPT-4o-mini) credentials โ€ข Gmail OAuth2 credentials โ€ข Slack API credentials

๐Ÿ’ก Key Benefits โœ” Instant AI-driven enquiry classification โœ” Faster guest acknowledgements โœ” Correct team routing with SLA enforcement โœ” Reduced manual triage for front-desk and sales teams โœ” Full visibility of enquiries and replies in Slack โœ” Built-in error monitoring

๐Ÿ‘ฅ Perfect For - Hotels and resorts - Vacation rental operators - Hospitality sales and front-desk teams - Property management companies - Businesses handling high volumes of guest enquiries