How it works

1. A schedule runs the template every morning. 2. An HTTP request gets an access token from the Amadeus API using your API key and secret. 3. A second HTTP request searches flight offers for your route, one adult, departing two weeks from today. 4. Parse JSON turns the answer into fields. 5. For each offer, a condition checks whether the total price is below your ceiling. 6. Gmail sends you an email for every offer that passes.