Templates / Generate cited web research reports with SerpAPI, Claude, and Google Docs

Generate cited web research reports with SerpAPI, Claude, and Google Docs

Ready for 3.0

by ResilNext ✓ · 14 views · created 2026-08-29 · Market Research, AI RAG

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 19 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Anthropic Chat Model, Google Docs, Slack and Postgres. It also calls serpapi.com over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Set Research Workflow Parameters (Edit Fields (Set)): sets 3 fields: confidenceThreshold, serpApiKey, slackChannel
  2. Planner AI Agent (AI Agent): runs an AI agent, with model: Claude Model for Planning; output parser: Parse Planner Output
  3. Extract Sub-Questions for Research (Edit Fields (Set)): sets 1 field: subQuestions
  4. Split Sub-Questions for Parallel Processing (Code): runs custom JavaScript code
  5. Fetch Search Results from SerpAPI (HTTP Request): calls serpapi.com
  6. Combine Search Results for Synthesis (Aggregate): combines items into one
  7. Synthesis AI Agent (AI Agent): runs an AI agent, with model: Claude Model for Synthesis
  8. Confidence Scoring Agent (AI Agent): runs an AI agent, with model: Claude Model for Confidence Scoring; output parser: Parse Scorer Output
  9. Check Confidence Threshold (If): checks a condition and branches into true / false
  10. Create Research Report in Google Docs (Google Docs): uses Google Docs

…plus 3 more steps. See the full node list below.

Services it uses

Anthropic Chat ModelGoogle DocsSlackPostgres

HTTP calls to: serpapi.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (12)

From the author

Quick overview This workflow accepts a research query via webhook, breaks it into sub-questions with Anthropic Claude, gathers web results via SerpAPI, synthesizes a cited report, scores confidence, and then saves the report to Google Docs, notifies Slack,…

Excerpt from ResilNext's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.