Automation library · Documents and files

AI-powered Product Hunt data collection & translation

Started by a clock, and works across Google Sheets. It hands the judgement calls to OpenAI. 17 steps, 3 branches, 1 loop or waits: a working afternoon to understand properly.

MediumCalls a model: OpenAI

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

The flow

Starts it 1Model 2Logic 9Service 5

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

  1. 1OpenAI GPT-4.1 MiniLm Chat Open AiModel
  2. 2Daily Trigger at 9 AMSchedule triggerStarts it
  3. 3Update Category Dictionary (Write)Google Sheets ToolService
  4. 4Lookup Category Dictionary (Read)Google Sheets ToolService
  5. 5AI Agent: Translate & Enrich Product DataAgentModel
  6. 6Initialize Starting CursorSetLogic
  7. 7Clean & Parse AI JSON OutputCodeLogic
  8. 8Fetch Products from Product Hunt APIHttp RequestService
  9. 9Save Enriched Tool to SheetGoogle SheetsService
  10. 10Restructure API Response to JSONCodeLogic
  11. 11Extract Pagination InfoSetLogic
  12. 12Lookup Existing Tool by TitleGoogle SheetsService
  13. 13Has Next Page?IfLogic
  14. 14Is Tool New?IfLogic
  15. 15Continue LoopNo OpLogic
  16. 16Rate Limit: Wait 15 SecondsWaitLogic
  17. 17Safety Limit Check (>50 iterations)IfLogic

How it's built

Starts on
A clock
Steps
17, with 3 branches, 1 loop or waits
Size
Medium: a working afternoon
Connects to
Google Sheets
Model
OpenAI

Questions

What does it need to run?

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

What starts it?

It starts on a clock.

Does it use AI?

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

How long does it take to set up?

Plan an afternoon. 17 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 17 steps before you point it at anything that matters.