Classify guest enquiries and send replies with GPT-4o, Gmail and Slack
Ready for 3.0What this workflow does
This AI workflow has 16 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Gmail, OpenAI Chat Model and Slack.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
- Slack: uses Slack
- Extract Detected Category (Edit Fields (Set)): sets or maps fields
- Route by Intent Category (Switch): routes items into 4 branches
- Assign to Booking Team (Edit Fields (Set)): sets or maps fields
- Assign to Pricing Team (Edit Fields (Set)): sets or maps fields
- Assign to Availability Team (Edit Fields (Set)): sets or maps fields
- Assign to Policy Team (Edit Fields (Set)): sets or maps fields
- Check Guest Contact Preference (If): checks a condition and branches into true / false
- Send Email Reply to Guest (Gmail): uses Gmail
…plus 2 more steps. See the full node list below.
Services it uses
Other OpenAI + Gmail templates (1,623) · Other OpenAI + Slack templates (979) · Other Gmail + Slack templates (957)
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.
Nodes used (10)
- Edit Fields (Set)
n8n-nodes-base.set - Switch
n8n-nodes-base.switch - Gmail
n8n-nodes-base.gmail - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - Webhook
n8n-nodes-base.webhook - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Error Trigger
n8n-nodes-base.errorTrigger
From the author
📘 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…