[n8n-template] Fetch Amazon Luna Games and send Discord notifications

Auto-Sync “Included with Prime” Games → Google Sheets with Discord Notifications

Automatically fetch, organize, and maintain an updated catalog of Amazon Luna – Included with Prime games. This workflow regularly queries Amazon's official Luna endpoint, extracts complete metadata, and syncs everything into Google Sheets without duplicates.

Ideal for:

  • monthly tracking Prime Luna rotations
  • keeping a personal archive of games
  • monitoring new games appearing on Amazon Games / Prime Gaming, so you can instantly play titles you're interested in
  • building dashboards or gaming databases
  • powering notification systems (Discord, Telegram, email, etc.)

👨🏻‍💻GitHub: paoloronco/n8n-templates

📽️Video: Amazon Luna – Fetch “Included with Prime” Games – YouTube

👥 n8n Community Template: Sync Amazon Luna Prime Games to Google Sheets with Automatic Updates | n8n workflow template


Overview

Amazon Luna's “Included with Prime” lineup changes frequently, with new games added and old ones removed. Instead of checking manually, this n8n template fully automates the process:

  • Fetches the latest list from Amazon's backend
  • Extracts detailed metadata from the response
  • Sync the data into Google Sheets
  • Avoids duplicates by updating existing rows
  • Supports all major Amazon regions

Once configured, it runs automatically—keeping your game catalog correct, clean, and always up to date.


How it works

  1. Scheduled Trigger – starts the workflow every 5 days at 3:00 PM (you can change the frequency and time).
  2. HTTP Request – queries Amazon Luna's official endpoint to retrieve the list of “Included with Prime” games.
  3. Code Node (JavaScript) – processes the JSON response and extracts the title, release year, genres, ASIN, and images.
  4. Google Sheets – automatically saves or updates the data in a Google Sheet, avoiding duplicates.

⭐ Features

  • Automatically fetch the complete “Included with Prime” catalog
  • Extract full metadata: title, genres, release year, ASIN, images
  • Auto-sync to Google Sheets (append or update)
  • Prevent duplicates using a unique key
  • Detect NEW games and send notifications (Discord, Telegram, etc.)
  • Supports multiple countries (IT, US, DE, FR, ES, JP…)
  • Clean, modular, fully customizable workflow

🧩 Workflow Overview

  1. Schedule Trigger
    Starts the workflow on a set schedule (default: every 5 days at 3:00 PM).You can change both frequency and time freely.
  2. HTTP Request → Amazon Luna
    Calls Amazon Luna's regional endpoint and retrieves the full “Included with Prime” catalog.
  3. JavaScript Code Node – Data Extraction* Parses the JSON response and extracts structured fields:
    • Title
    • Genres
    • Release Year
    • ASIN
    • Image URLs
    • Additional metadata
    The result is a clean, ready-to-use dataset.
  4. Google Sheets Sync
    Each game is written into the selected Google Sheet:
    • Existing games get updated
    • New games are appended
    The Title acts as the unique identifier to prevent duplicates.
  5. Optional: Notifications
    When new games appear, the workflow fires a message (Discord, Telegram, Email…).

⚙️ Configuration Parameters

Parameters to configure

ParameterDescriptionRecommended options
x-amz-localeLanguage and region of the requestit_IT 🇮🇹 (Italy) · en_US 🇺🇸 (USA) · de_DE 🇩🇪 (Germany) · fr_FR 🇫🇷 (France) · es_ES 🇪🇸 (Spain) · en_GB 🇬🇧 (United Kingdom) · ja_JP 🇯🇵 (Japan) · en_CA 🇨🇦 (Canada)
x-amz-marketplace-idAmazon marketplace identifierAPJ6JRA9NG5V4 🇮🇹 (Italy) · ATVPDKIKX0DER 🇺🇸 (USA) · A1PA6795UKMFR9 🇩🇪 (Germany) · A13V1IB3VIYZZH 🇫🇷 (France) · A1RKKUPIHCS9HS 🇪🇸 (Spain) · A1F83G8C2ARO7P 🇬🇧 (UK) · A1VC38T7YXB528 🇯🇵 (Japan) · A2EUQ1WTGCTBG2 🇨🇦 (Canada)
Accept-LanguagePreferred response languageit-IT,it;q=0.9,en;q=0.8 (or equivalent for your region)
User AgentSimulated browser agentKeep the default value or replace with an updated one
Trigger intervalAutomatic refresh frequencyEvery 5 days at 3:00 PM (modifiable)
Google SheetData destinationSelect your document and worksheet

🔔 Notifications (Optional)

This workflow can automatically send alerts for new games.

Supported outputs:

  • Discord (official bot or webhook)
  • Telegram Bot API
  • Email (SMTP)
  • Slack / Microsoft Teams / Matrix / Bark
  • Any Webhook

For a complete guide, see notes-notify.md in this folder.


📁 Files Included

  • workflow.json → the complete n8n workflow
  • README.md → this file
  • notes-fetch.md → fetch logic, headers, parsing
  • notes-notify.md → notifications logic & setup
  • assets/overview.png → optional preview image

🗎 Extra Docs


🔒 Important Notes

  • All data belongs to Amazon.
  • This workflow is for personal / testing / educational use only.
  • Do not republish or redistribute the full game list.
  • Amazon may change internal APIs anytime, so re-check headers/body when needed.

Leave a Reply

Your email address will not be published. Required fields are marked *