{
  "name": "Flight deal analyzer with weather data using GPT, Google Flights & WordPress",
  "nodes": [
    {
      "id": "f1712506-beee-4416-9654-19be82d7840f",
      "name": "User Input Form",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -1200,
        416
      ]
    },
    {
      "id": "22959199-f3dd-48b8-8045-c0e0f1417098",
      "name": "Extract Form Data",
      "type": "n8n-nodes-base.set",
      "position": [
        -976,
        416
      ]
    },
    {
      "id": "d3ff8f1d-79b4-4885-b4de-0c6d9a9e7774",
      "name": "Scrape Flight Prices",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -752,
        416
      ]
    },
    {
      "id": "ffd6909a-9826-404e-93a6-30a8d387a450",
      "name": "Extract Flight Data",
      "type": "n8n-nodes-base.html",
      "position": [
        -528,
        416
      ]
    },
    {
      "id": "e86841f8-1a3c-4885-be51-0ce817b14af8",
      "name": "Prepare AI Input",
      "type": "n8n-nodes-base.set",
      "position": [
        -304,
        416
      ]
    },
    {
      "id": "9b74c540-e201-4358-bed1-c649b00aa26b",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        592,
        688
      ]
    },
    {
      "id": "c6707ac3-8c1e-4b2d-bd22-efe043a8dc64",
      "name": "AI Flight Analyzer",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        592,
        416
      ]
    },
    {
      "id": "73e0589c-fe21-4fcd-aa71-f8d66e9a684e",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        728,
        640
      ]
    },
    {
      "id": "5d5a0e60-769c-47e9-b3a0-0da9e5cd9374",
      "name": "Format Analysis Results",
      "type": "n8n-nodes-base.set",
      "position": [
        944,
        416
      ]
    },
    {
      "id": "85fdefe0-5e22-46ac-9850-abc01e1e5ac7",
      "name": "Send to Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        1168,
        224
      ]
    },
    {
      "id": "eae457f3-c26c-4cdd-8c28-ae30906c90d8",
      "name": "Publish to WordPress",
      "type": "n8n-nodes-base.wordpress",
      "position": [
        1168,
        416
      ]
    },
    {
      "id": "3a055535-f7a6-4c40-a332-1aac3cf1d7e3",
      "name": "Respond to User",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1168,
        608
      ]
    },
    {
      "id": "4eec3335-0910-4bc5-a628-c348e393e71f",
      "name": "Fetch Weather Data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -80,
        488
      ]
    },
    {
      "id": "4ac42cfa-b298-4592-a6a5-925276d83052",
      "name": "Parse Weather Data",
      "type": "n8n-nodes-base.set",
      "position": [
        144,
        488
      ]
    },
    {
      "id": "eb0e253e-9212-49c1-b9cb-cd98b09180f4",
      "name": "Enrich AI Input with Weather",
      "type": "n8n-nodes-base.set",
      "position": [
        368,
        488
      ]
    },
    {
      "id": "5a6ef54e-768b-4dfc-bc07-62cc968da7e1",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1232,
        -16
      ],
      "parameters": {
        "width": 1040,
        "height": 352,
        "content": "## Introduction\nAutomates flight deal discovery and intelligent analysis for travel bloggers and deal hunters. Scrapes live pricing, enriches with weather data, applies AI evaluation, and auto-publish"
      }
    },
    {
      "id": "ec131a77-255a-4352-a1e0-5e8f1135c9a3",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        192,
        -32
      ],
      "parameters": {
        "width": 720,
        "height": 432,
        "content": "## Prerequisites\nn8n instance, Google Flights access, weather API key, OpenAI/compatible AI service, WordPress site with API access, Slack workspace\n\n## Use Cases\nTravel blog automation, flight deal n"
      }
    },
    {
      "id": "37b94a42-06bd-476a-9216-c34314ebfbd3",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1216,
        576
      ],
      "parameters": {
        "width": 752,
        "height": 144,
        "content": "## Setup Instructions\n1. **Form Setup:** Configure user input fields for flight routes and preferences\n2. **APIs:** Connect Google Flights scraping endpoint, weather API credentials, OpenAI/Chat Model"
      }
    },
    {
      "id": "e09e7cfe-b73f-4a8e-9d2c-04f482bb9951",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -176,
        -16
      ],
      "parameters": {
        "width": 320,
        "height": 272,
        "content": "## Workflow Steps\n1. **Data Collection:** Form captures route, scrapes Google Flights pricing, fetches destination weather via API\n2. **AI Processing:** Enriches flight data with weather context, anal"
      }
    }
  ],
  "connections": {
    "User Input Form": {
      "main": [
        [
          {
            "node": "Extract Form Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare AI Input": {
      "main": [
        [
          {
            "node": "AI Flight Analyzer",
            "type": "main",
            "index": 0
          },
          {
            "node": "Fetch Weather Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Form Data": {
      "main": [
        [
          {
            "node": "Scrape Flight Prices",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Flight Analyzer",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "AI Flight Analyzer": {
      "main": [
        [
          {
            "node": "Format Analysis Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Weather Data": {
      "main": [
        [
          {
            "node": "Parse Weather Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Weather Data": {
      "main": [
        [
          {
            "node": "Enrich AI Input with Weather",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Flight Data": {
      "main": [
        [
          {
            "node": "Prepare AI Input",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scrape Flight Prices": {
      "main": [
        [
          {
            "node": "Extract Flight Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Analysis Results": {
      "main": [
        [
          {
            "node": "Send to Slack",
            "type": "main",
            "index": 0
          },
          {
            "node": "Publish to WordPress",
            "type": "main",
            "index": 0
          },
          {
            "node": "Respond to User",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "AI Flight Analyzer",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Enrich AI Input with Weather": {
      "main": [
        [
          {
            "node": "AI Flight Analyzer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}