Check for bargain flights and get notified using Amadeus and Gmail
Ready for 3.0What this workflow does
This workflow has 11 nodes and runs on a schedule (every day at 08:00). Along the way it connects Gmail. It also calls test.api.amadeus.com over HTTP.
How it runs
Trigger: On a schedule (every day at 08:00).
- FromTo (Edit Fields (Set)): sets 2 fields: from, to
- CarrierNameLookup (Code): runs custom JavaScript code
- Get Dates (Code): runs custom JavaScript code
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Merge & Extract (Code): runs custom JavaScript code
- Amadeus Flight Search (HTTP Request): calls test.api.amadeus.com
- Under Price (Filter): keeps only the items that match a condition
- Wait: waits 3 seconds
- Gmail: uses Gmail
- Get Carrier Codes (HTTP Request): calls test.api.amadeus.com
Services it uses
HTTP calls to: test.api.amadeus.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (8)
- Code
n8n-nodes-base.code - Gmail
n8n-nodes-base.gmail - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Wait
n8n-nodes-base.wait - Filter
n8n-nodes-base.filter - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Schedule Trigger
n8n-nodes-base.scheduleTrigger
From the author
What this template does This workflow uses the Amadeus API, every day to check for bargain flights for an itinerary and price target of your choice. It then automatically emails you once it found a match. Setup 1. Create an api account on…