Echtzeit-Flugpreis-Prüfer – Sofort vergleichen und sparen

Experte

Dies ist ein Market Research-Bereich Automatisierungsworkflow mit 19 Nodes. Hauptsächlich werden Set, Merge, Function, EmailSend, HttpRequest und andere Nodes verwendet. Vergleich von Flugpreisen auf Plattformen wie Skyscanner, Air India usw. und E-Mail-Benachrichtigungen

Voraussetzungen
  • Möglicherweise sind Ziel-API-Anmeldedaten erforderlich
Workflow-Vorschau
Visualisierung der Node-Verbindungen, mit Zoom und Pan
Workflow exportieren
Kopieren Sie die folgende JSON-Konfiguration und importieren Sie sie in n8n
{
  "id": "UqtZtvt1uuLwA0JF",
  "meta": {
    "instanceId": "dd69efaf8212c74ad206700d104739d3329588a6f3f8381a46a481f34c9cc281",
    "templateCredsSetupCompleted": true
  },
  "name": "Real-Time Flight Fare Checker – Compare & Save Instantly",
  "tags": [],
  "nodes": [
    {
      "id": "9e9558e0-9b65-4748-8092-70986a9f11f0",
      "name": "Skyscanner API",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -40,
        0
      ],
      "parameters": {
        "url": "https://api.skyscanner.net/flights",
        "options": {}
      },
      "typeVersion": 1
    },
    {
      "id": "4649ae50-1619-49c9-a2f8-2cb6f91ca966",
      "name": "Air India API",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -40,
        400
      ],
      "parameters": {
        "url": "https://api.airindia.net/flights",
        "options": {}
      },
      "typeVersion": 1
    },
    {
      "id": "a336a80f-c147-4deb-ac14-c508f5db7a36",
      "name": "IndiGo API",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -40,
        600
      ],
      "parameters": {
        "url": "https://api.idigo.com/v1/flights",
        "options": {}
      },
      "typeVersion": 1
    },
    {
      "id": "5f4c9323-af1a-45b3-a985-73ed231b0809",
      "name": "Akasa Air API",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -40,
        200
      ],
      "parameters": {
        "url": "https://api.akasa.com/v1/flights",
        "options": {}
      },
      "typeVersion": 1
    },
    {
      "id": "66ec44a3-838a-4e81-b03c-c1b5e5f7b796",
      "name": "Zeitplan festlegen",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -480,
        300
      ],
      "parameters": {
        "rule": {
          "interval": [
            {}
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "e3411c6a-c09b-4e86-bb54-13306212f254",
      "name": "Eingabedaten festlegen",
      "type": "n8n-nodes-base.set",
      "position": [
        -260,
        300
      ],
      "parameters": {
        "values": {
          "string": [
            {
              "name": "origin",
              "value": "={{$node['Set Schedule'].json.body.origin}}"
            },
            {
              "name": "destination",
              "value": "={{$node['Set Schedule'].json.body.destination}}"
            },
            {
              "name": "departureDate",
              "value": "={{$node['Set Schedule'].json.body.departureDate}}"
            },
            {
              "name": "returnDate",
              "value": "={{$node['Set Schedule'].json.body.returnDate}}"
            }
          ]
        },
        "options": {}
      },
      "typeVersion": 1
    },
    {
      "id": "6ae53558-26a6-4a4d-b9cf-730423f34c65",
      "name": "API-Daten zusammenführen",
      "type": "n8n-nodes-base.merge",
      "inputs": [
        "Skyscanner API",
        "Travelpayouts API"
      ],
      "position": [
        180,
        100
      ],
      "parameters": {
        "mode": "mergeByIndex"
      },
      "typeVersion": 1
    },
    {
      "id": "1ef09f04-4142-4997-b400-f53d04700eeb",
      "name": "Beide API-Daten zusammenführen",
      "type": "n8n-nodes-base.merge",
      "inputs": [
        "Skyscanner API",
        "Travelpayouts API"
      ],
      "position": [
        180,
        500
      ],
      "parameters": {
        "mode": "mergeByIndex"
      },
      "typeVersion": 1
    },
    {
      "id": "8e81a16c-2db0-4b71-982c-2ec4874507cf",
      "name": "Alle API-Ergebnisse zusammenführen",
      "type": "n8n-nodes-base.merge",
      "inputs": [
        "Skyscanner API",
        "Travelpayouts API"
      ],
      "position": [
        400,
        300
      ],
      "parameters": {
        "mode": "mergeByIndex"
      },
      "typeVersion": 1
    },
    {
      "id": "79344599-53b8-4886-839b-82b149e980ad",
      "name": "Daten vergleichen und nach Preis sortieren",
      "type": "n8n-nodes-base.function",
      "position": [
        620,
        300
      ],
      "parameters": {
        "functionCode": "const results = [];\n\n// Process Skyscanner results\nif ($node['Merge API Results'].json[0].data) {\n  $node['Merge API Results'].json[0].data.forEach(flight => {\n    results.push({\n      provider: 'Skyscanner',\n      price: flight.price,\n      currency: flight.currency,\n      booking_url: flight.booking_url\n    });\n  });\n}\n\n// Process Travelpayouts results\nif ($node['Merge API Results'].json[1].data) {\n  $node['Merge API Results'].json[1].data.forEach(flight => {\n    results.push({\n      provider: 'Travelpayouts',\n      price: flight.price,\n      currency: flight.currency,\n      booking_url: flight.booking_url\n    });\n  });\n}\n\n// Sort by price\nresults.sort((a, b) => a.price - b.price);\n\nreturn results;"
      },
      "typeVersion": 1
    },
    {
      "id": "eaf33691-31a4-46ab-9525-d4d4eb0be91b",
      "name": "Antwort per E-Mail senden",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        840,
        300
      ],
      "webhookId": "f86081b8-8ff3-4315-8568-320e92e2337f",
      "parameters": {
        "text": "{json.results}",
        "options": {},
        "subject": "Real-Time Flight Fare Update",
        "toEmail": "abc@gmail.com",
        "fromEmail": "xyz@gmail.com",
        "emailFormat": "text"
      },
      "credentials": {
        "smtp": {
          "id": "G1kyF8cSWTZ4vouN",
          "name": "SMTP -test"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "222fa851-d70b-4c32-9b1e-28bb3cc89181",
      "name": "Haftnotiz",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -520,
        160
      ],
      "parameters": {
        "width": 160,
        "height": 360,
        "content": "Triggers the workflow at a scheduled time to check flight fares automatically."
      },
      "typeVersion": 1
    },
    {
      "id": "bda7bcb8-35f0-4996-a1fc-7a09db87e173",
      "name": "Haftnotiz1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        160,
        -100
      ],
      "parameters": {
        "color": 6,
        "width": 160,
        "height": 360,
        "content": "Combines the flight data from Skyscanner and Akasa Air into a single dataset."
      },
      "typeVersion": 1
    },
    {
      "id": "b1b26d28-6609-4680-b7fd-3cc552864c2b",
      "name": "Haftnotiz2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        380,
        100
      ],
      "parameters": {
        "color": 3,
        "width": 160,
        "height": 360,
        "content": "Consolidates all API data (Skyscanner, Akasa Air, Air India, IndiGo) into one unified result."
      },
      "typeVersion": 1
    },
    {
      "id": "53e4599a-3bd4-4597-9661-b6364976a972",
      "name": "Haftnotiz3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        580,
        100
      ],
      "parameters": {
        "color": 5,
        "width": 160,
        "height": 360,
        "content": "Compares all flight fares and sorts them by price to find the best deals."
      },
      "typeVersion": 1
    },
    {
      "id": "e4b18281-8c98-4eea-b6af-5948c21cce04",
      "name": "Haftnotiz4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        800,
        100
      ],
      "parameters": {
        "color": 4,
        "width": 160,
        "height": 360,
        "content": "Sends the sorted flight fare comparison results to the user via email."
      },
      "typeVersion": 1
    },
    {
      "id": "f05b66c5-8f64-4328-8279-b5fd4b942f5c",
      "name": "Haftnotiz5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -300,
        160
      ],
      "parameters": {
        "color": 4,
        "width": 160,
        "height": 360,
        "content": "Sets the input parameters like origin, destination, and dates for flight searches"
      },
      "typeVersion": 1
    },
    {
      "id": "af7323e1-82fc-4a53-a532-0023a3942fde",
      "name": "Haftnotiz6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -60,
        -200
      ],
      "parameters": {
        "color": 3,
        "width": 160,
        "height": 960,
        "content": "Fetches live flight fare data from different airlines using the provided API endpoints."
      },
      "typeVersion": 1
    },
    {
      "id": "6354e9b7-f3de-47c8-b413-a6a38f76afae",
      "name": "Haftnotiz7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        160,
        300
      ],
      "parameters": {
        "width": 160,
        "height": 360,
        "content": "Merges the flight data from Air India and IndiGo with the previous dataset."
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "2d9aac0c-9714-44de-be94-c806fddd584d",
  "connections": {
    "a336a80f-c147-4deb-ac14-c508f5db7a36": {
      "main": [
        [
          {
            "node": "1ef09f04-4142-4997-b400-f53d04700eeb",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "66ec44a3-838a-4e81-b03c-c1b5e5f7b796": {
      "main": [
        [
          {
            "node": "e3411c6a-c09b-4e86-bb54-13306212f254",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "4649ae50-1619-49c9-a2f8-2cb6f91ca966": {
      "main": [
        [
          {
            "node": "1ef09f04-4142-4997-b400-f53d04700eeb",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5f4c9323-af1a-45b3-a985-73ed231b0809": {
      "main": [
        [
          {
            "node": "6ae53558-26a6-4a4d-b9cf-730423f34c65",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "6ae53558-26a6-4a4d-b9cf-730423f34c65": {
      "main": [
        [
          {
            "node": "8e81a16c-2db0-4b71-982c-2ec4874507cf",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e3411c6a-c09b-4e86-bb54-13306212f254": {
      "main": [
        [
          {
            "node": "9e9558e0-9b65-4748-8092-70986a9f11f0",
            "type": "main",
            "index": 0
          },
          {
            "node": "5f4c9323-af1a-45b3-a985-73ed231b0809",
            "type": "main",
            "index": 0
          },
          {
            "node": "4649ae50-1619-49c9-a2f8-2cb6f91ca966",
            "type": "main",
            "index": 0
          },
          {
            "node": "a336a80f-c147-4deb-ac14-c508f5db7a36",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9e9558e0-9b65-4748-8092-70986a9f11f0": {
      "main": [
        [
          {
            "node": "6ae53558-26a6-4a4d-b9cf-730423f34c65",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1ef09f04-4142-4997-b400-f53d04700eeb": {
      "main": [
        [
          {
            "node": "8e81a16c-2db0-4b71-982c-2ec4874507cf",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "8e81a16c-2db0-4b71-982c-2ec4874507cf": {
      "main": [
        [
          {
            "node": "79344599-53b8-4886-839b-82b149e980ad",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "79344599-53b8-4886-839b-82b149e980ad": {
      "main": [
        [
          {
            "node": "eaf33691-31a4-46ab-9525-d4d4eb0be91b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Häufig gestellte Fragen

Wie verwende ich diesen Workflow?

Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.

Für welche Szenarien ist dieser Workflow geeignet?

Experte - Marktforschung

Ist es kostenpflichtig?

Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.

Workflow-Informationen
Schwierigkeitsgrad
Experte
Anzahl der Nodes19
Kategorie1
Node-Typen7
Schwierigkeitsbeschreibung

Für fortgeschrittene Benutzer, komplexe Workflows mit 16+ Nodes

Autor
Oneclick AI Squad

Oneclick AI Squad

@oneclick-ai

The AI Squad Initiative is a pioneering effort to build, automate and scale AI-powered workflows using n8n.io. Our mission is to help individuals and businesses integrate AI agents seamlessly into their daily operations from automating tasks and enhancing productivity to creating innovative, intelligent solutions. We design modular, reusable AI workflow templates that empower creators, developers and teams to supercharge their automation with minimal effort and maximum impact.

Externe Links
Auf n8n.io ansehen

Diesen Workflow teilen

Kategorien

Kategorien: 34