Automation library · Research and reporting

Create weekly research brief PDFs with Brave Search

Started by a clock, and works across Gmail and Google Drive. It hands the judgement calls to Claude. 17 steps: a working afternoon to understand properly.

MediumCalls a model: Claude

17 stepsMedium: a working afternoon
0Branches: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 1Model 3Logic 7Service 6

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

  1. 1Claude Sonnet ModelLm Chat AnthropicModel
  2. 2Parse Structure OutputOutput Parser StructuredModel
  3. 3Weekly TriggerSchedule triggerStarts it
  4. 4Generate Research BriefChain LlmModel
  5. 5Set Brief ParametersSetLogic
  6. 6Create HTML BriefCodeLogic
  7. 7Set Normalized TopicsSetLogic
  8. 8Generate PDF with PDF.coPDFco ApiService
  9. 9Split Topics IndividuallySplit OutLogic
  10. 10Download PDF FileHttp RequestService
  11. 11Brave Search TopicsBrave SearchService
  12. 12Send Brief via EmailGmailService
  13. 13Save Brief to DriveGoogle DriveService
  14. 14Format Source DataCodeLogic
  15. 15Extract with FirecrawlFirecrawlService
  16. 16Clean Source TextCodeLogic
  17. 17Combine SourcesAggregateLogic

How it's built

Starts on
A clock
Steps
17
Size
Medium: a working afternoon
Connects to
Gmail, Google Drive
Model
Claude

Questions

What does it need to run?

An n8n account, plus your own Gmail and Google Drive accounts, and a key for Claude. 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 Claude. 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.