AutomationMart
Home/Browse/Compare flight prices across multiple booking platforms with email reports
n8n

Compare flight prices across multiple booking platforms with email reports

n8nn8n12 modulesv1.0
codeemailSendifrespondToWebhooksshwebhook

This workflow automates flight price comparison across multiple booking platforms (Kayak, Skyscanner, Expedia, Google Flights). It accepts natural language queries, extracts flight details using NLP, scrapes prices in parallel, identifies the best deals, and sends professional email reports with comprehensive price breakdowns and booking links. πŸ“¦ What You'll Get A fully functional, production-ready n8n workflow that: βœ… Compares flight prices across 4 major platforms (Kayak, Skyscanner, Expedia,

At a glance

Compare flight prices across multiple booking platforms with email reports is a ready-made n8n workflow you import as a workflow JSON file β€” no build required. It connects code, emailSend, if, respondToWebhook. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
code, emailSend, if, respondToWebhook, ssh, webhook
Modules
12
Price
Free
Version
v1.0
Compare flight prices across multiple booking platforms with email reports workflow diagram

About this workflow

This workflow automates flight price comparison across multiple booking platforms (Kayak, Skyscanner, Expedia, Google Flights). It accepts natural language queries, extracts flight details using NLP, scrapes prices in parallel, identifies the best deals, and sends professional email reports with comprehensive price breakdowns and booking links. πŸ“¦ What You'll Get A fully functional, production-ready n8n workflow that: βœ… Compares flight prices across 4 major platforms (Kayak, Skyscanner, Expedia, Google Flights) βœ… Accepts natural language requests ("Flight from NYC to London on March 25") βœ… Sends beautiful email reports with best deals βœ… Returns real-time JSON responses for web apps βœ… Handles errors gracefully with helpful messages βœ… Includes detailed documentation with sticky notes --- πŸš€ Quick Setup (3 Steps) Step 1: Import Workflow to n8n 1. Copy the JSON from the first artifact (workflow file) 2. Open n8n β†’ Go to Workflows 3. Click "Import from File" β†’ Paste JSON β†’ Click Import 4. βœ… Workflow imported successfully! Step 2: Setup Python Scraper On your server (where n8n SSH nodes will connect): Expected Output: Step 3: Configure n8n Credentials A. Setup SMTP (for sending emails): 1. In n8n: Credentials β†’ Add Credential β†’ SMTP 2. Fill in details: For Gmail Users: - Enable 2FA: - Create App Password: - Use the 16-character password in n8n B. Setup SSH (already configured if you used existing credentials): 1. In workflow, SSH nodes use: ilPh8oO4GfSlc0Qy 2. Verify credential exists and points to correct server 3. Update path if needed: /home/oneclick-server2/ C. Activate Workflow: 1. Click the workflow toggle β†’ Active βœ… 2. Webhook is now live! --- 🎯 How to Use Method 1: Direct Webhook Call Response: Method 2: Natural Language Queries The workflow understands various formats: βœ… All these work: - "Flight from New York to London on 25th March, one-way" - "NYC to LHR March 25 round-trip return March 30" - "I need a flight from Mumbai to Dubai departing 15th March" - "JFK LHR 2025-03-25 2025-03-30 round-trip" Supported cities (auto-converts to airport codes): - New York β†’ JFK - London β†’ LHR - Mumbai β†’ BOM - Dubai β†’ DXB - Singapore β†’ SIN - And 20+ more cities Method 3: Structured JSON --- πŸ“§ Email Report Example Users receive an email like this: --- πŸ”§ Customization Options Change Scraping Platforms Add more platforms: 1. Duplicate an SSH scraping node 2. Change platform parameter: kayak β†’ new-platform 3. Add scraping logic in flightscraper.py 4. Connect to "Aggregate & Analyze Prices" node Remove platforms: 1. Delete unwanted SSH node 2. Workflow continues with remaining platforms Modify Email Format Edit the "Format Email Report" node: Then update "Send Email Report" node: - Change emailFormat to html - Use {{$json.html}} instead of {{$json.text}} Add More Cities/Airports Edit "Parse & Validate Flight Request" node: Change Timeout Settings In each SSH node, add: --- πŸ› Troubleshooting Issue: "No flights found" Possible causes: 1. Scraper script not working 2. Website structure changed 3. Dates in past 4. Invalid airport codes Solutions: Issue: "Connection refused" (SSH) Solutions: 1. Verify SSH credentials in n8n 2. Check server is accessible: ssh user@your-server 3. Verify path exists: /home/oneclick-server2/ 4. Check Python installed: which python3 Issue: "Email not sending" Solutions: 1. Verify SMTP credentials 2. Check email in spam folder 3. For Gmail: Confirm App Password is used (not regular password) 4. Test SMTP connection: Issue: "Webhook not responding" Solutions: 1. Ensure workflow is Active (toggle on) 2. Check webhook path: /webhook/flight-price-compare 3. Test with curl command (see "How to Use" section) 4. Check n8n logs: Settings β†’ Log Streaming Issue: "Scraper timing out" Solutions: --- πŸ“Š Understanding the Workflow Node-by-Node Explanation 1. Webhook - Receive Flight Request - Entry point for all requests - Accepts POST requests - Path: /webhook/flight-price-compare 2. Parse & Validate Flight Request - Extracts flight details from natural language - Converts city names to airport codes - Validates required fields - Returns helpful errors if data missing 3. Check If Request Valid - Routes to scraping if valid - Routes to error response if invalid 4-7. Scrape [Platform] (4 nodes) - Run in parallel for speed - Each calls Python script with platform parameter - Continue on failure (don't break workflow) - Return pipe-delimited flight data 8. Aggregate & Analyze Prices - Collects all scraper results - Parses flight data - Finds best overall deal - Finds best non-stop flight - Calculates statistics - Sorts by price 9. Format Email Report - Creates readable text report - Includes route details - Highlights best deal - Lists top 10 results - Shows statistics 10. Send Email Report - Sends formatted email to user - Uses SMTP credentials 11. Webhook Response (Success) - Returns JSON response immediately - Includes best price summary - Confirms email sent 12. Webhook Response (Error) - Returns helpful error message - Guides user on what's missing --- 🎨 Workflow Features βœ… Included Features - Natural Language Processing: Understands flexible input formats - Multi-Platform Comparison: 4 major booking sites - Parallel Scraping: All platforms scraped simultaneously - Error Handling: Graceful failures, helpful messages - Email Reports: Professional format with all details - Real-Time Responses: Instant webhook feedback - Sticky Notes: Detailed documentation in workflow - Airport Code Mapping: Auto-converts 20+ cities 🚧 Not Included (Easy to Add) - Price Alerts: Monitor price drops (add Google Sheets) - Analytics Dashboard: Track searches (add Google Sheets) - SMS Notifications: Send via Twilio - Slack Integration: Post to channels - Database Logging: Store searches in PostgreSQL - Multi-Currency: Show prices in the user's currency --- πŸ’‘ Pro Tips Tip 1: Speed Up Scraping Use faster scraping service (like ScraperAPI): Tip 2: Cache Results Add caching to avoid duplicate scraping: Tip 3: Add More Platforms Easy to add Momondo, CheapOair, etc.: 1. Add function in flightscraper.py 2. Add SSH node in workflow 3. Connect to aggregator Tip 4: Improve Date Parsing Handle more formats:

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n β†’ click the menu β†’ Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 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

WooCommerce order updates to customers via WhatsApp with Rapiwa API

Who is this for? This workflow is for online store owners, support teams, and marketing staff who want to automatically verify WhatsApp numbers and send order invoice links or personalized order updates to customers. It’s built against WooCommerce order webhooks but can be adapted to Shopify or other e-commerce platforms that provide billing and lineitems. What this Workflow Does - Receives order events (Webhook / WooCommerce order.updated). - Normalizes the payload into a compact object: { data

Free

Automate newsletter creation & client delivery with GPT-4O, Google Sheets

How it Works This workflow automates the complete newsletter management process from content creation to client delivery, using Google Sheets, AI content generation, Google Drive, and Gmail. Whether you're a content creator, marketing agency, or small business owner, this workflow helps you automate newsletter creation and manage client communications with built-in approval workflows β€” all triggered from a simple spreadsheet. 🎯 Use Case Ideal for: - Market

Free

Automate RSS content to blog posts with GPT-4o, WordPress & LinkedIn publishing

Automated Blog Post Review and Multi-Platform Publishing Workflow with RSS Feeds Description This workflow automates the process of generating, reviewing, and publishing blog posts across multiple platforms, now enhanced with support for RSS Feeds as a content source. It streamlines the management of blog posts by fetching content from RSS Feeds, formatting, storing, reviewing, templating, and publishing to platforms like LinkedIn and WordPress. The workflow is split into three key flows: - Ini

Free

Query and monitor Shopify orders via Telegram bot commands

This n8n workflow integrates Shopify order management with Telegram, allowing you to query open orders and order details directly through Telegram chat commands. It provides an interactive way to monitor your Shopify store orders using Telegram as an interface. Key Features 1. Telegram Trigger: Listens for messages and callback queries from your Telegram bot. 2. Switch Node: Routes incoming Telegram messages to different flows based on message content: - /orders command to fetch all open orders

Free

Collect company social media profiles with Extruct AI to Google Sheets

Who’s it for: Sales teams, marketers, and analysts who need to quickly access all the social media and public profile links for any company. How it works / What it does: When you enter a company into the form, this workflow automatically searches for and collects all available links to the company’s social media accounts, review sites, and public profiles from sources like Crunchbase and Zoominfo. All discovered URLs are added directly to your Google Sheet. How to set up: 1. Create an Extruct

Free

Create an automated customer support assistant with GPT-4o and GoHighLevel SMS

AI Agent via GoHighLevel SMS with Website-Based Knowledgebase This n8n workflow enables an AI agent to interact with users through GoHighLevel SMS, leveraging a knowledgebase dynamically built by scraping the company's website. --- ❓ Problem It Solves Traditional customer support systems often require manual data entry and lack real-time updates from the company's website. This workflow automates the process by: - Scraping the company's website at set intervals to update the knowledgebase. - Int

Free

Generate SEO content audit reports with DataForSEO and Google Search Console

Introduction The Content SEO Audit Workflow is a powerful automated solution that generates comprehensive SEO audit reports for websites. By combining the crawling capabilities of DataForSEO with the search performance metrics from Google Search Console, this workflow delivers actionable insights into content quality, technical SEO issues, and performance optimization opportunities. The workflow crawls up to 1,000 pages of a website, analyzes various SEO factors including metadata, content qua

Free

Personal knowledgebase AI agent

How it works: This project creates a personal AI knowledge assistant that operates through Telegram. The assistant can extract summaries from YouTube videos or online articles, store them in Google Sheets for later reference, and retrieve stored summaries when requested by the user. Step-by-step: Google Sheets Trigger: The workflow starts by detecting a new YouTube or article URL added to a dedicated sheet (Sheet2). It checks whether the link is already processed. Link

Free

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.

Log in to review
Free
No ratings yet

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.

β‚Ή2,499/ session
3 hrs Β· video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free