Skip to main content

Check for bargain flights and get notified using Amadeus and Gmail

Workflow preview

Workflow preview
100%
Check for bargain flights and get notified using Amadeus and Gmail preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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...

Best for

  • Personal Productivity automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.code, n8n-nodes-base.gmail, n8n-nodes-base.splitinbatches, n8n-nodes-base.wait, n8n-nodes-base.filter, n8n-nodes-base.set, n8n-nodes-base.httprequest, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Jay Hartley.

Original n8n.io source

1.1 Workflow description

Title
Check for bargain flights and get notified using Amadeus and Gmail
Workflow name
Check for bargain flights and get notified using Amadeus and Gmail

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 https://developers.amadeus.com/
  2. In Amadeus Flight Search, connect to Oauth2 API: -- Grant Type - Client Credentials -- Access Token URL - https://test.api.amadeus.com/v1/security/oauth2/token -- Client ID/Secret - from your account
  3. Set your details in Gmail
  4. Set your desired Origin/Destination airports in FromTo
  5. Set the dates ahead you wish to search in Get Dates (default is 7 days and 14 days)
  6. Set the price target in Under Price

How to test it

After completing the setup steps above, just hit 'Test workflow'!

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - CarrierNameLookup

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 2 - Gmail

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 3 - Get Dates

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 4 - Merge & Extract

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 6 - Wait

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 7 - Under Price

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.1

Block 8 - FromTo

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 9 - Amadeus Flight Search

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 10 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 12 - Get Carrier Codes

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

3. Summary Table

Workflow Check for bargain flights and get notified using Amadeus and Gmail
Complexity intermediate
Nodes 12
Categories Personal Productivity
Author Jay Hartley
Published 07 Oct 2024

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/2455/2455.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Check for bargain flights and get notified using Amadeus and Gmail do?

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...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Personal Productivity use case.