Flight Deal Analyzer with Weather Data using GPT, Google Flights & WordPress

Go to Workflow
1 views
Built by Cheng Siong Chin Cheng Siong Chin
Created on June 12, 2026

Description

Introduction
Automates flight deal discovery and intelligent analysis for travel bloggers and deal hunters. Scrapes live pricing, enriches with weather data, applies AI evaluation, and auto-publishes to WordPress—eliminating manual research and accelerating content delivery.

How It Works
User submits route via form, scrapes real-time flight prices and weather data, AI analyzes deal quality considering weather conditions, formats results, publishes to WordPress, sends Slack notification—fully automated from input to publication.

Workflow Template
Form Input → Extract Data → Scrape Flight Prices → Extract Pricing → Fetch Weather → Parse Weather → Prepare AI Input → AI Analysis → Parse Output → Format Results → Publish WordPress → Slack Alert → User Response

Setup Instructions
Form Setup: Configure user input fields for flight routes and preferences
APIs: Connect Google Flights scraping endpoint, weather API credentials, OpenAI/Chat Model API key
Publishing: Set WordPress credentials, target blog category, Slack webhook URL
AI Configuration: Define analysis prompts, output structure, parser rules

Workflow Steps
Data Collection: Form captures route, scrapes Google Flights pricing, fetches destination weather via API
AI Processing: Enriches flight data with weather context, analyzes deal quality using OpenAI/Chat Model with structured output parsing
Publishing: Formats analysis results, creates WordPress post, sends Slack notification, delivers response to user

Prerequisites
n8n instance, Google Flights access, weather API key, OpenAI/compatible AI service, WordPress site with API access, Slack workspace

Use Cases
Travel blog automation, flight deal newsletters, price comparison services, seasonal travel planning, destination weather analysis, automated social media content

Customization
Modify AI analysis criteria, adjust weather impact weighting, customize WordPress post templates, add email distribution, integrate additional data sources, expand to hotel/rental deals

Benefits
Eliminates manual price checking, combines multiple data sources automatically, delivers AI-enhanced insights, accelerates publishing workflow, scales across unlimited routes, provides weather-aware recommendations

Nodes Used (7)

AI Agent
@n8n/n8n-nodes-langchain.agent
HTML
n8n-nodes-base.html
HTTP Request
n8n-nodes-base.httpRequest
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Slack
n8n-nodes-base.slack
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured
Wordpress
n8n-nodes-base.wordpress