Automation library · Data collection

Amazon affiliate marketing automation with OpenRouter

Started by a change in a Google Sheet, and works across Google Sheets. It hands the judgement calls to OpenRouter. 15 steps, 1 loop or waits: a working afternoon to understand properly.

MediumCalls a model: OpenRouter

15 stepsMedium: a working afternoon
0Branches: places the flow splits
1Loop or waits
1Service it connects to

The flow

Starts it 1Model 6Logic 1Service 7

The steps in the order they run, from what starts it.

  1. 1OpenRouter Chat ModelLm Chat Open RouterModel
  2. 2OpenRouter Chat Model1Lm Chat Open RouterModel
  3. 3Google Sheets TriggerGoogle Sheets triggerStarts it
  4. 4OpenRouter Chat Model2Lm Chat Open RouterModel
  5. 5Image Prompt GenerateAgentModel
  6. 6FB captionAgentModel
  7. 7asin numberAgentModel
  8. 8ai image generatorHttp RequestService
  9. 9Product ImageHttp RequestService
  10. 10Amazon Product DetailsHttp RequestService
  11. 11Convert to FileConvert To FileService
  12. 12Image Upload To ServerHttp RequestService
  13. 13WaitWaitLogic
  14. 14Facebook Graph APIFacebook Graph ApiService
  15. 15Google SheetsGoogle SheetsService

How it's built

Starts on
A change in a Google Sheet
Steps
15, 1 loop or waits
Size
Medium: a working afternoon
Connects to
Google Sheets
Model
OpenRouter

Questions

What does it need to run?

An n8n account, plus your own Google Sheets account, and a key for OpenRouter. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a change in a Google Sheet.

Does it use AI?

Yes. It calls OpenRouter. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 15 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 15 steps before you point it at anything that matters.