Templates / Research US legal regulations with CourtListener, LegiScan, OpenRouter and web search

Research US legal regulations with CourtListener, LegiScan, OpenRouter and web search

Needs changes

by Open Paws ✓ · 143 views · created 2026-01-06 · Market Research, AI RAG

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: HTTP Request Tool (legacy). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 42 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects HTTP Request, Jina AI and OpenRouter Chat Model. It also calls google.serper.dev over HTTP.

How it runs

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

  1. Step 1: Discovery (AI Agent): runs an AI agent, with model: Qwen, Auto Fallback; 5 tools (Plural Discovery, LegiScan Discovery, Google Search Discovery, Court Listener Discovery…)
  2. Retry if Tools Not Used (If): checks a condition and branches into true / false
  3. Step 2: Prioritization (AI Agent): runs an AI agent, with model: Sonnet 4., Auto Fallback; 1 tool (Think Tool)
  4. Retry if Response Empty (If): checks a condition and branches into true / false
  5. Step 3: Retrieval (AI Agent): runs an AI agent, with model: Qwen, Auto Fallback; 5 tools (Plural Retrieval, LegiScan Retrieval, DocumentCloud Retrieval, Jina URL Text Extraction…)
  6. Retry if Tools Not Used (If): checks a condition and branches into true / false
  7. Step 4: Report Writing (AI Agent): runs an AI agent, with model: Opus, Auto Fallback; 1 tool (Think Tool)
  8. Retry if Response Empty (If): checks a condition and branches into true / false
  9. Set Report (Edit Fields (Set)): sets 2 fields: Final Report, Retrieved Documents
  10. Step 5: Verification (Basic LLM Chain): sends a prompt to an LLM, with model: Sonnet 4., Auto Fallback; output parser: Structured Output Parser

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

Services it uses

HTTP RequestJina AIOpenRouter Chat Model

HTTP calls to: google.serper.dev

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • HTTP Request Tool (legacy) in Google Search Discovery: replace with HTTP Request node connected to the AI Agent's Tool input.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
HTTP Request Tool (legacy)
Google Search Discovery
HTTP Request node connected to the AI Agent's Tool input

Nodes used (11)

From the author

Who is this for This workflow is designed for legal professionals, policy analysts, and compliance teams who need to: - Research case law, legislation, and regulatory developments on specific topics - Build comprehensive legal intelligence reports from…

Excerpt from Open Paws'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.