Skip to main content

Optimize Amazon ads with GPT-4o for bid, budget & keyword recommendations

Workflow preview

Workflow preview
100%
Optimize Amazon ads with GPT-4o for bid, budget & keyword recommendations preview
Open on n8n.io

Important notice

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

1. Workflow Overview

This template is designed for Amazon sellers and advertisers who want to automate their campaign performance analysis and bidding strategy. It solves the common challenge of manually reviewing Spon...

Best for

  • Market Research automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.googledrive, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.if, n8n-nodes-base.merge, n8n-nodes-base.code, n8n-nodes-base.set, n8n-nodes-base.stickynote, n8n-nodes-base.gmail

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Optimize Amazon ads with GPT-4o for bid, budget & keyword recommendations
Workflow name
Optimize Amazon ads with GPT-4o for bid, budget & keyword recommendations

Overview

This template is designed for Amazon sellers and advertisers who want to automate their campaign performance analysis and bidding strategy. It solves the common challenge of manually reviewing Sponsored Products reports and guessing how to adjust keywords, placements, and budgets. By combining Amazon Advertising reports with OpenAI's GPT-4o, this workflow delivers real-time, personalized optimization instructions โ€” automatically.

Features

๐Ÿ“ฅ Automatically downloads Sponsored Products reports from Google Drive

๐Ÿง  Uses AI to analyze campaign, keyword, placement, targeting, and budget performance

๐Ÿ“Š Supports both .csv and .xlsx report formats

๐Ÿ” Handles multiple ASINs and scales easily across ad accounts

๐Ÿ“ง Sends structured optimization recommendations to your inbox via Gmail

๐Ÿ—‚ Built-in logic to normalize filenames and correctly map reports

๐Ÿงน Includes error handling and formatting cleanup for AI-ready input

Requirements

To use this workflow, youโ€™ll need:

An Amazon Ads account with access to Sponsored Products reports

A Google Drive folder where Amazon Ads reports are delivered (manually or via Gmail automation)

A Gmail account (for sending summaries)

An OpenAI API key with access to GPT-4o

Optional: a developer account for the Amazon Ads API to fully automate report generation in the future

Setup Instructions

๐Ÿ“‚ Connect your Amazon Ads reports folder in the Google Drive node

๐Ÿ” Add your credentials to the OpenAI and Gmail nodes

๐Ÿ“ Schedule five reports in the Amazon Ads Console:

Search Term Report โ†’ Detailed

Targeting Report โ†’ Detailed

Campaign Report โ†’ Summary

Placement Report โ†’ Summary

Budget Report โ†’ Summary Use โ€œLast 30 Daysโ€, โ€œDailyโ€, and .xlsx or .csv format

๐Ÿ” (Optional) Automate report ingestion using Gmail + Drive workflows

๐Ÿงช Test with one account, then replicate across additional ad accounts as needed

โฑ๏ธ Setup time: 15โ€“30 minutes ๐Ÿ“Œ All field-specific guidance is included in workflow notes`

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 - List Files

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

Block 2 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 3 - is XLSX

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 4 - Get File

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

Block 5 - Merge XLSX and CSV

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.1

Block 6 - Format Data

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

Block 7 - Set fileName

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

Block 8 - Sticky Note2

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

Block 9 - Sticky Note3

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

Block 10 - Sticky Note5

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

Block 11 - Sticky Note6

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

Block 12 - Sticky Note7

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

Block 13 - Preserve File Name

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

Block 14 - Email Optimizations

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

Block 15 - Extract XLSX Data

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

Block 16 - Extract CSV Data

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

Block 17 - Preserve CSV File Name

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

Block 18 - When clicking โ€˜Test workflowโ€™

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

Block 19 - Sticky Note

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

Block 20 - Email Options

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

Block 21 - Sticky Note1

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

Block 22 - AI Analyze

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.6

3. Summary Table

Workflow Optimize Amazon ads with GPT-4o for bid, budget & keyword recommendations
Complexity advanced
Nodes 22
Categories Market Research, AI Summarization
Author Brian Money
Published 29 Apr 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/3793/3793.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 Optimize Amazon ads with GPT-4o for bid, budget & keyword recommendations do?

This template is designed for Amazon sellers and advertisers who want to automate their campaign performance analysis and bidding strategy. It solves the common challenge of manually reviewing Spon...

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 Market Research, AI Summarization use case.