Automation library · Strategy and planning

Generate AI market research reports with Perplexity and Claude

Started by someone submitting a form, and works across Google Drive. It hands the judgement calls to OpenRouter. 15 steps: a working afternoon to understand properly.

MediumCalls a model: OpenRouter

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

The flow

Starts it 1Model 4Logic 5Service 5

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

  1. 1Market Research FormForm triggerStarts it
  2. 2OpenRouter PerplexityLm Chat Open RouterModel
  3. 3OpenRouter Anthropic ClaudeLm Chat Open RouterModel
  4. 4Google TrendsSerp ApiService
  5. 5Search CompetitorsSerp ApiService
  6. 6Download Markdown SyntaxHttp RequestService
  7. 7AI Research AgentAgentModel
  8. 8AI Report WriterAgentModel
  9. 9Merge Trends + CompetitorsMergeLogic
  10. 10Merge With SyntaxMergeLogic
  11. 11Prepare Report InputCodeLogic
  12. 12Prepare Render PayloadCodeLogic
  13. 13Prepare Research ContextCodeLogic
  14. 14Render Report PDFAutypeService
  15. 15Save Report to DriveGoogle DriveService

How it's built

Starts on
Someone submitting a form
Steps
15
Size
Medium: a working afternoon
Connects to
Google Drive
Model
OpenRouter

Questions

What does it need to run?

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

What starts it?

It starts on someone submitting a form.

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.