Automation library · Research and reporting

Generate cited web research reports with SerpAPI and Claude

Started by another system calling it, and works across Google Docs, Postgres and Slack. It hands the judgement calls to Claude. 19 steps, 1 branch: a working afternoon to understand properly.

MediumCalls a model: Claude

19 stepsMedium: a working afternoon
1Branch: places the flow splits
0Loops or waits
3Services it connects to

The flow

Starts it 1Model 8Logic 5Service 5

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

  1. 1When Research Pipeline Webhook ReceivedWebhookStarts it
  2. 2Claude Model for PlanningLm Chat AnthropicModel
  3. 3Parse Planner OutputOutput Parser StructuredModel
  4. 4Claude Model for SynthesisLm Chat AnthropicModel
  5. 5Claude Model for Confidence ScoringLm Chat AnthropicModel
  6. 6Parse Scorer OutputOutput Parser StructuredModel
  7. 7Set Research Workflow ParametersSetLogic
  8. 8Planner AI AgentAgentModel
  9. 9Synthesis AI AgentAgentModel
  10. 10Confidence Scoring AgentAgentModel
  11. 11Extract Sub-Questions for ResearchSetLogic
  12. 12Check Confidence ThresholdIfLogic
  13. 13Split Sub-Questions for Parallel ProcessingCodeLogic
  14. 14Create Research Report in Google DocsGoogle DocsService
  15. 15Fetch Search Results from SerpAPIHttp RequestService
  16. 16Notify Slack - High Confidence ResearchSlackService
  17. 17Notify Slack - Low Confidence ResearchSlackService
  18. 18Combine Search Results for SynthesisAggregateLogic
  19. 19Store Research Run in DatabasePostgresService

How it's built

Starts on
Another system calling it
Steps
19, with 1 branch
Size
Medium: a working afternoon
Connects to
Google Docs, Postgres, Slack
Model
Claude

Questions

What does it need to run?

An n8n account, plus your own Google Docs, Postgres and Slack accounts, and a key for Claude. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

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. 19 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 19 steps before you point it at anything that matters.