Vérificateur de prix de vols en temps réel – Comparaison instantanée pour économiser
Ceci est unMarket Researchworkflow d'automatisation du domainecontenant 19 nœuds.Utilise principalement des nœuds comme Set, Merge, Function, EmailSend, HttpRequest. Comparer les prix des vols sur des plateformes comme Skyscanner, Air India, etc., et envoyer des alertes par e-mail
- •Peut nécessiter les informations d'identification d'authentification de l'API cible
Nœuds utilisés (19)
Catégorie
{
"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": "Définir la planification",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-480,
300
],
"parameters": {
"rule": {
"interval": [
{}
]
}
},
"typeVersion": 1.2
},
{
"id": "e3411c6a-c09b-4e86-bb54-13306212f254",
"name": "Définir les données d'entrée",
"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": "Fusionner les données API",
"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": "Fusionner les deux jeux de données API",
"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": "Fusionner tous les résultats API",
"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": "Comparer et trier par prix",
"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": "Envoyer la réponse par e-mail",
"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": "Note adhésive",
"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": "Note adhésive 1",
"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": "Note adhésive 2",
"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": "Note adhésive 3",
"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": "Note adhésive 4",
"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": "Note adhésive 5",
"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": "Note adhésive 6",
"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": "Note adhésive 7",
"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
}
]
]
}
}
}Comment utiliser ce workflow ?
Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.
Dans quelles scénarios ce workflow est-il adapté ?
Avancé - Étude de marché
Est-ce payant ?
Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.
Workflows recommandés
Oneclick AI Squad
@oneclick-aiThe 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.
Partager ce workflow