Automate hotel price comparison with multi-platform scraping and email reporting
This is a production-ready, end-to-end workflow that automatically compares hotel prices across multiple booking platforms and delivers beautiful email reports to users. Unlike basic building blocks, this workflow is a complete solution ready to deploy. --- ✨ What Makes This Production-Ready ✅ Complete End-to-End Automation - Input: Natural language queries via webhook - Processing: Multi-platform scraping & comparison - Output: Professional email reports + analytics -
At a glance
Automate hotel price comparison with multi-platform scraping and email reporting is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Gmail, Slack, Google Sheets, Twilio. It's free to download. Follow the 5-step import below to go live in minutes.
- Platform
- n8n
- Connects
- Gmail, Slack, Google Sheets, Twilio
- Modules
- 13
- Price
- Free
- Version
- v1.0

About this workflow
This is a production-ready, end-to-end workflow that automatically compares hotel prices across multiple booking platforms and delivers beautiful email reports to users. Unlike basic building blocks, this workflow is a complete solution ready to deploy. --- ✨ What Makes This Production-Ready ✅ Complete End-to-End Automation - Input: Natural language queries via webhook - Processing: Multi-platform scraping & comparison - Output: Professional email reports + analytics - Feedback: Real-time webhook responses ✅ Advanced Features - 🧠 Natural Language Processing for flexible queries - 🔄 Parallel scraping from multiple platforms - 📊 Analytics tracking with Google Sheets integration - 💌 Beautiful HTML email reports - 🛡️ Error handling and graceful degradation - 📱 Webhook responses for real-time feedback ✅ Business Value - For Travel Agencies: Instant price comparison service for clients - For Hotels: Competitive pricing intelligence - For Travelers: Save time and money with automated research --- 🚀 Setup Instructions Step 1: Import Workflow 1. Copy the workflow JSON from the artifact 2. In n8n, go to Workflows → Import from File/URL 3. Paste the JSON and click Import Step 2: Configure Credentials A. SMTP Email (Required) Gmail Setup: 1. Enable 2FA on your Google Account 2. Generate App Password: 3. Use the generated password in n8n B. Google Sheets (Optional - for analytics) Sheet Setup: 1. Create a new Google Sheet 2. Name the first sheet "Analytics" 3. Add headers: timestamp, query, hotel, city, checkIn, checkOut, bestPrice, platform, totalResults, userEmail 4. Copy the Sheet ID from URL and paste in the "Save to Google Sheets" node Step 3: Set Up Scraping Service You need to create a scraping API that the workflow calls. Here are your options: Option A: Use Your Existing Python Script Create a simple Flask API wrapper: Deploy: Update n8n HTTP Request nodes: Option B: Use Third-Party Scraping Services Recommended Services: - ScraperAPI (scraperapi.com) - $49/month for 100k requests - Bright Data (brightdata.com) - Pay as you go - Apify (apify.com) - Has pre-built hotel scrapers Example with ScraperAPI: Option C: Use n8n SSH Node (Like Your Original) Keep your SSH approach but improve it: 1. Replace HTTP Request nodes with SSH nodes 2. Point to your server with the Python script 3. Ensure error handling and timeouts Step 4: Activate Webhook 1. Click on "Webhook - Receive Request" node 2. Click "Listen for Test Event" 3. Copy the webhook URL (e.g., 4. Test with this curl command: Step 5: Activate Workflow 1. Toggle the workflow to Active 2. The webhook is now live and ready to receive requests --- 📝 Usage Examples Example 1: Basic Query Example 2: Flexible Format Example 3: Short Format --- 🎨 Customization Options 1. Add More Booking Platforms Steps: 1. Duplicate an existing "Scrape" node 2. Update the platform parameter 3. Connect it to "Aggregate & Compare" 4. Update the aggregation logic to include the new platform 2. Change Email Template Edit the "Format Email Report" node's JavaScript: - Modify HTML structure - Change colors (currently purple gradient) - Add your company logo - Include terms and conditions 3. Add SMS Notifications Using Twilio: 1. Add new node: Twilio → Send SMS 2. Connect after "Aggregate & Compare" 3. Format: "Best deal: ${hotel} at ${platform} for ${price}" 4. Add Slack Integration 1. Add Slack node after "Aggregate & Compare" 2. Send to #travel-deals channel 3. Include quick booking links 5. Implement Caching Add Redis or n8n's built-in cache: --- 📊 Analytics & Monitoring Google Sheets Dashboard The workflow automatically logs to Google Sheets. Create a dashboard with: Metrics to track: - Total searches per day/week - Most searched hotels - Most searched cities - Average price ranges - Platform with best prices (frequency) - User engagement (repeat users) Example Sheet Formulas: Set Up Alerts Add a node after "Aggregate & Compare": --- 🛡️ Error Handling The workflow includes comprehensive error handling: 1. Missing Information If user doesn't provide hotel/city/dates → Responds with helpful prompt 2. Scraping Failures If all platforms fail → Sends "No results" email with suggestions 3. Partial Results If some platforms work → Shows available results + notes errors 4. Email Delivery Issues Uses continueOnFail: true to prevent workflow crashes --- 🔒 Security Best Practices 1. Rate Limiting Add rate limiting to prevent abuse: 2. Input Validation Already implemented - validates hotel names, cities, dates 3. Email Verification Add email verification before first use: 4. API Key Protection Never expose scraping API keys in responses or logs --- 🚀 Deployment Options Option 1: n8n Cloud (Easiest) 1. Sign up at n8n.cloud 2. Import workflow 3. Configure credentials 4. Activate Pros: No maintenance, automatic updates Cons: Monthly cost Option 2: Self-Hosted (Most Control) Pros: Free, full control Cons: You manage updates Option 3: Cloud Platforms - Railway.app (recommended for beginners) - DigitalOcean App Platform - AWS ECS - Google Cloud Run --- 📈 Scaling Recommendations For < 100 searches/day - Current setup is perfect - Use n8n Cloud Starter or small VPS For 100-1000 searches/day - Add Redis caching (1-hour cache) - Use queue system for scraping - Upgrade to n8n Cloud Pro For 1000+ searches/day - Implement job queue (Bull/Redis) - Use dedicated scraping service - Load balance multiple n8n instances - Consider microservices architecture --- 🐛 Troubleshooting Issue: Webhook not responding Solution: 1. Check workflow is Active 2. Verify webhook URL is correct 3. Check n8n logs: Settings → Log Streaming Issue: No prices returned Solution: 1. Test scraping endpoints individually 2. Check if hotel name matches exactly 3. Verify dates are in future 4. Try different date ranges Issue: Emails not sending Solution: 1. Verify SMTP credentials 2. Check "less secure apps" setting (Gmail) 3. Use App Password instead of regular password 4. Check spam folder Issue: Slow response times Solution: 1. Enable parallel scraping (already configured) 2. Add timeout limits (30 seconds recommended) 3. Implement caching 4. Use faster scraping service
How to import this n8n workflow
- 1
Download the workflow JSON file after purchase.
- 2
Open n8n → click the menu → Import from File.
- 3
Select the downloaded JSON and import.
- 4
Set up credentials for each node that requires them.
- 5
Click Execute Workflow to test, then activate.
Setup guide
Setup guide included
Purchase to unlock the full step-by-step guide
Related N8n workflows
Send new Snatchbot messages as Slack messages
Harmoniq Funnel: Receive transcript and save to Docs for publishing flow (2nd part)
Gmail customer support auto-responder with Ollama LLM and Pinecone RAG
Create Shipstation orders from new Google Sheets rows
Add new PomoDoneApp time entries to a Google Sheets Spreadsheet as a new row
Handle e-commerce support on Telegram with Gemini and Google Sheets
AI-powered product research & SEO content automation
Automate Instagram content discovery & repurposing w/ Apify, GPT-4o & Perplexity
Reviews
No reviews yet
Be the first to buy and share your experience.
Leave a review
Sign in to share your experience with this workflow.
Create a free account to purchase workflows.
- JSON blueprint — instant download
- Setup guide PDF included
- 5 downloads · valid 30 days
- Works with n8n
Need help setting this up?
Book a 3-hour live setup session with an Agility consultant.
- Configure live on Google Meet / Zoom
- Free follow-up if workflow has defects
- Platform expert assigned to you