{"id":1767,"date":"2025-11-25T16:04:06","date_gmt":"2025-11-25T16:04:06","guid":{"rendered":"https:\/\/paoloronco.it\/?p=1767"},"modified":"2025-12-03T15:44:09","modified_gmt":"2025-12-03T15:44:09","slug":"amazon-luna-fetch-included-with-prime-games","status":"publish","type":"post","link":"https:\/\/paoloronco.it\/en\/amazon-luna-fetch-included-with-prime-games\/","title":{"rendered":"[n8n-template] Fetch Amazon Luna Games and send Discord notifications"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Auto-Sync \u201cIncluded with Prime\u201d Games \u2192 Google Sheets with Discord Notifications<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/github.com\/paoloronco\/n8n-templates\/tree\/main\/free-templates\/1-amazonluna-fetch#auto-sync-included-with-prime-games--google-sheets-with-discord-notifications\"><\/a>Automatically fetch, organize, and maintain an updated catalog of&nbsp;<strong>Amazon Luna \u2013 Included with Prime<\/strong>&nbsp;games. This workflow regularly queries Amazon\u2019s official Luna endpoint, extracts complete metadata, and syncs everything into Google Sheets without duplicates.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ideal for:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>tracking monthly&nbsp;<strong>Prime Luna rotations<\/strong><\/li>\n\n\n\n<li>keeping a personal archive of games<\/li>\n\n\n\n<li>monitoring&nbsp;<strong>new games appearing on Amazon Games \/ Prime Gaming<\/strong>, so you can instantly play titles you\u2019re interested in<\/li>\n\n\n\n<li>building dashboards or gaming databases<\/li>\n\n\n\n<li>powering notification systems (Discord, Telegram, email, etc.)<a href=\"https:\/\/github.com\/paoloronco\/n8n-templates\/tree\/main\/free-templates\/1-amazonluna-fetch#auto-sync-included-with-prime-games--google-sheets-with-discord-notifications\"><\/a><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/paoloronco.it\/wp-content\/uploads\/2025\/11\/amazonluna-fetch-asset1-1024x337.png\" alt=\"\" class=\"wp-image-1849\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\ud83d\udc68\ud83c\udffb\u200d\ud83d\udcbbGitHub: <a href=\"https:\/\/github.com\/paoloronco\/n8n-templates\/\">paoloronco\/n8n-templates<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\ud83d\udcfd\ufe0fVideo:&nbsp;<a href=\"https:\/\/youtu.be\/PS6qdCbc5fU\">Amazon Luna \u2013 Fetch \u201cIncluded with Prime\u201d Games &#8211; YouTube<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\ud83d\udcfd\ufe0fVideo: <a href=\"https:\/\/www.youtube.com\/watch?v=rgee4kPZO7c\">Amazon Luna \u2013 Fetch \u201cIncluded with Prime\u201d Games [AI Video] &#8211; YouTube<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\ud83d\udc65 n8n Community Template:&nbsp;<a href=\"https:\/\/n8n.io\/workflows\/10733-sync-amazon-luna-prime-games-to-google-sheets-with-automatic-updates\/\">Sync Amazon Luna Prime Games to Google Sheets with Automatic Updates | n8n workflow template<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Overview<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Amazon Luna\u2019s \u201cIncluded with Prime\u201d lineup changes frequently, with new games added and old ones removed.Instead of checking manually, this n8n template fully automates the process:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Fetches the latest list from Amazon\u2019s backend<\/li>\n\n\n\n<li>Extracts detailed metadata from the response<\/li>\n\n\n\n<li>Syncs the data into Google Sheets<\/li>\n\n\n\n<li>Avoids duplicates by updating existing rows<\/li>\n\n\n\n<li>Supports all major Amazon regions<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Once configured, it runs automatically\u2014keeping your game catalog correct, clean, and always up to date.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">How it works<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Scheduled Trigger<\/strong> \u2013 starts the workflow every 5 days at 3:00 PM (you can change the frequency and time).<\/li>\n\n\n\n<li><strong>HTTP Request<\/strong> \u2013 queries Amazon Luna\u2019s official endpoint to retrieve the list of \u201cIncluded with Prime\u201d games.<\/li>\n\n\n\n<li><strong>Code Node (JavaScript)<\/strong> \u2013 processes the JSON response and extracts the title, release year, genres, ASIN, and images.<\/li>\n\n\n\n<li><strong>Google Sheets<\/strong> \u2013 automatically saves or updates the data in a Google Sheet, avoiding duplicates.<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u2b50 Features<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Automatically fetch the complete \u201cIncluded with Prime\u201d catalog<\/li>\n\n\n\n<li>Extract full metadata: title, genres, release year, ASIN, images<\/li>\n\n\n\n<li>Auto-sync to Google Sheets (append or update)<\/li>\n\n\n\n<li>Prevent duplicates using a unique key<\/li>\n\n\n\n<li>Detect NEW games and send notifications (Discord, Telegram, etc.)<\/li>\n\n\n\n<li>Supports multiple countries (IT, US, DE, FR, ES, JP\u2026)<\/li>\n\n\n\n<li>Clean, modular, fully customizable workflow<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83e\udde9 Workflow Overview<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Schedule Trigger<\/strong><br>Starts the workflow on a set schedule (default: every 5 days at 3:00 PM).You can change both frequency and time freely.<\/li>\n\n\n\n<li><strong>HTTP Request \u2192 Amazon Luna<\/strong><br>Calls Amazon Luna\u2019s regional endpoint and retrieves the full&nbsp;<strong>\u201cIncluded with Prime\u201d<\/strong>&nbsp;catalog.<\/li>\n\n\n\n<li><strong>JavaScript Code Node \u2013 Data Extraction<\/strong>* Parses the JSON response and extracts structured fields:<ul><li>Title<\/li><li>Genres<\/li><li>Release Year<\/li><li>ASIN<\/li><li>Image URLs<\/li><li>Additional metadata<\/li><\/ul>The result is a clean, ready-to-use dataset.<\/li>\n\n\n\n<li><strong>Google Sheets Sync<\/strong><br>Each game is written into the selected Google Sheet:<ul><li>Existing games get updated<\/li><li>New games are appended<\/li><\/ul>The&nbsp;<strong>Title<\/strong>&nbsp;acts as the unique identifier to prevent duplicates.<\/li>\n\n\n\n<li><strong>Optional: Notifications<\/strong><br>When new games appear, the workflow fires a message (Discord, Telegram, Email\u2026).<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u2699\ufe0f Configuration Parameters<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters to configure<\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Parameter<\/th><th>Description<\/th><th>Recommended options<\/th><\/tr><\/thead><tbody><tr><td><strong>x-amz-locale<\/strong><\/td><td>Language and region of the request<\/td><td><code>it_IT<\/code> \ud83c\uddee\ud83c\uddf9 (Italy) \u00b7 <code>en_US<\/code> \ud83c\uddfa\ud83c\uddf8 (USA) \u00b7 <code>de_DE<\/code> \ud83c\udde9\ud83c\uddea (Germany) \u00b7 <code>fr_FR<\/code> \ud83c\uddeb\ud83c\uddf7 (France) \u00b7 <code>es_ES<\/code> \ud83c\uddea\ud83c\uddf8 (Spain) \u00b7 <code>en_GB<\/code> \ud83c\uddec\ud83c\udde7 (United Kingdom) \u00b7 <code>ja_JP<\/code> \ud83c\uddef\ud83c\uddf5 (Japan) \u00b7 <code>en_CA<\/code> \ud83c\udde8\ud83c\udde6 (Canada)<\/td><\/tr><tr><td><strong>x-amz-marketplace-id<\/strong><\/td><td>Amazon marketplace identifier<\/td><td><code>APJ6JRA9NG5V4<\/code> \ud83c\uddee\ud83c\uddf9 (Italy) \u00b7 <code>ATVPDKIKX0DER<\/code> \ud83c\uddfa\ud83c\uddf8 (USA) \u00b7 <code>A1PA6795UKMFR9<\/code> \ud83c\udde9\ud83c\uddea (Germany) \u00b7 <code>A13V1IB3VIYZZH<\/code> \ud83c\uddeb\ud83c\uddf7 (France) \u00b7 <code>A1RKKUPIHCS9HS<\/code> \ud83c\uddea\ud83c\uddf8 (Spain) \u00b7 <code>A1F83G8C2ARO7P<\/code> \ud83c\uddec\ud83c\udde7 (UK) \u00b7 <code>A1VC38T7YXB528<\/code> \ud83c\uddef\ud83c\uddf5 (Japan) \u00b7 <code>A2EUQ1WTGCTBG2<\/code> \ud83c\udde8\ud83c\udde6 (Canada)<\/td><\/tr><tr><td><strong>Accept-Language<\/strong><\/td><td>Preferred response language<\/td><td><code>it-IT,it;q=0.9,en;q=0.8<\/code> (or equivalent for your region)<\/td><\/tr><tr><td><strong>User-Agent<\/strong><\/td><td>Simulated browser agent<\/td><td>Keep the default value or replace with an updated one<\/td><\/tr><tr><td><strong>Trigger interval<\/strong><\/td><td>Automatic refresh frequency<\/td><td>Every 5 days at 3:00 PM (modifiable)<\/td><\/tr><tr><td><strong>Google Sheet<\/strong><\/td><td>Data destination<\/td><td>Select your document and worksheet<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udd14 Notifications (Optional)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This workflow can automatically send alerts for new games.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Supported outputs:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Discord (official bot or webhook)<\/li>\n\n\n\n<li>Telegram Bot API<\/li>\n\n\n\n<li>Email (SMTP)<\/li>\n\n\n\n<li>Slack \/ Microsoft Teams \/ Matrix \/ Bark<\/li>\n\n\n\n<li>Any Webhook<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">For a complete guide, see <strong>notes-notify.md<\/strong> in this folder.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udcc1 Files Included<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>workflow.json<\/code> \u2192 the complete n8n workflow<\/li>\n\n\n\n<li><code>README.md<\/code> \u2192 this file<\/li>\n\n\n\n<li><code>notes-fetch.md<\/code> \u2192 fetch logic, headers, parsing<\/li>\n\n\n\n<li><code>notes-notify.md<\/code> \u2192 notifications logic &amp; setup<\/li>\n\n\n\n<li><code>assets\/overview.png<\/code> \u2192 optional preview image<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\uddce Extra Docs<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/github.com\/paoloronco\/n8n-templates\/blob\/main\/free-templates\/1-amazonluna-fetch\/docs\/NOTES-Fetch.md\">Fetch Notes<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/github.com\/paoloronco\/n8n-templates\/blob\/main\/free-templates\/1-amazonluna-fetch\/docs\/NOTES-Notify.md\">Notify Notes<\/a><\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udd12 Important Notes<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>All data belongs to Amazon.<\/li>\n\n\n\n<li>This workflow is for <strong>personal \/ testing \/ educational<\/strong> use only.<\/li>\n\n\n\n<li>Do <strong>not<\/strong> republish or redistribute the full game list.<\/li>\n\n\n\n<li>Amazon may change internal APIs anytime, so re-check headers\/body when needed.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Auto-Sync \u201cIncluded with Prime\u201d Games \u2192 Google Sheets with Discord Notifications Automatically fetch, organize, and maintain an updated catalog of&nbsp;Amazon Luna \u2013 Included with Prime&nbsp;games. This workflow regularly queries Amazon\u2019s official Luna endpoint, extracts complete metadata, and syncs everything into Google Sheets without duplicates. Ideal for: \ud83d\udc68\ud83c\udffb\u200d\ud83d\udcbbGitHub: paoloronco\/n8n-templates \ud83d\udcfd\ufe0fVideo:&nbsp;Amazon Luna \u2013 Fetch \u201cIncluded with Prime\u201d &hellip; <a href=\"https:\/\/paoloronco.it\/en\/amazon-luna-fetch-included-with-prime-games\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;[n8n-template] Fetch Amazon Luna Games and send Discord notifications&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[],"class_list":["post-1767","post","type-post","status-publish","format-standard","hentry","category-n8n-guides"],"_links":{"self":[{"href":"https:\/\/paoloronco.it\/en\/wp-json\/wp\/v2\/posts\/1767","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/paoloronco.it\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/paoloronco.it\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/paoloronco.it\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/paoloronco.it\/en\/wp-json\/wp\/v2\/comments?post=1767"}],"version-history":[{"count":3,"href":"https:\/\/paoloronco.it\/en\/wp-json\/wp\/v2\/posts\/1767\/revisions"}],"predecessor-version":[{"id":1791,"href":"https:\/\/paoloronco.it\/en\/wp-json\/wp\/v2\/posts\/1767\/revisions\/1791"}],"wp:attachment":[{"href":"https:\/\/paoloronco.it\/en\/wp-json\/wp\/v2\/media?parent=1767"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/paoloronco.it\/en\/wp-json\/wp\/v2\/categories?post=1767"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/paoloronco.it\/en\/wp-json\/wp\/v2\/tags?post=1767"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}