Personalized hotel reward emails for high-spenders with Salesforce, Gemini AI & Brevo
This n8n workflow automatically detects high‑spending hotel guests after checkout and emails them a personalized, one‑time reward offer.
This n8n workflow automatically detects high‑spending hotel guests after checkout and emails them a personalized, one‑time reward offer.
#🔧 What it does
- ▪Watches Salesforce
Guest__ccustom object for checkout updates. - ▪Pulls guest spend data on optional paid amenities:
- ▪Room Service
- ▪Minibar
- ▪Laundry
- ▪Late Checkout
- ▪Extra Bed
- ▪Airport Transfer
- ▪Calculates total spend to identify VIP guests (≥ $50).
- ▪Uses AI to:
- ▪Spot unused services.
- ▪Randomly pick one unused service.
- ▪Generate a realistic, short promo like:
_"Free late checkout on your next stay"_
- ▪Parses AI output into JSON.
- ▪Sends a polished HTML email to the guest with their personalized offer.
#📦 Key nodes
- ▪
Salesforce Trigger→ monitors new checkouts. - ▪
Salesforce→ fetches detailed spend data. - ▪
Function→ sums up total amenity spend. - ▪
IF→ filters for VIP guests. - ▪
LangChain LLM+Google Vertex AI→ drafts the offer text. - ▪
Structured Output Parser→ cleans AI output. - ▪
Brevo→ delivers branded email.
#📊 Example output
> _Subject:_ John, We Have Something Special for Your Next Stay
> _Offer in email:_ Enjoy a complimentary minibar selection on your next stay.
#✨ Why it matters
Rewarding guests who already spend boosts loyalty and repeat bookings — without generic discounts. The offer feels personal, relevant, and exclusive.
production deployment
Need this workflow deployed or tailored for your business?
I customize n8n pipelines, build proprietary API nodes, and connect production databases with sub-100ms reliability.
creator
iamvaar
Top 50 Verified Creator
AI Automation Engineer building production-grade n8n systems, custom nodes, and LLM pipelines.
n8n.io/creators/iamvaarspecs
related automations
More workflows from iamvaar
Route weather-based delivery holds with Open-Meteo, Gemini, Postgres, and ServiceNow
Quick overview Demo Video: https://youtu.be/ccEy0J-LKY
Automated stale user re-engagement system with Supabase, Google Sheets & Gmail
Built this workflow because most of our users signed up, then vanished after ~30 days. It runs daily, grabs those stale users from Supabase, updates a Google Sheet for tracking,...
Track daily LLM brand visibility with Gemini, Groq, OpenRouter, Sheets and Slack
Quick overview Youtube Video: https://youtu.be/BOodBD6HWSU?si=yEenUFBdYOq1RVj This workflow runs daily at 7AM to generate buyer-style prompts with Google Gemini, query Groq, Ope...
Want this workflow running in your stack?
Book a free 30-minute session. I'll inspect your current infrastructure, review required API credentials, and map out the deployment.