Templates / Legal Case Research Extractor, Data Miner with Bright Data MCP & Google Gemini

Legal Case Research Extractor, Data Miner with Bright Data MCP & Google Gemini

Needs changes

by Ranjan Dailata ✓ · 1,984 views · created 2025-05-24 · Document Extraction, AI Summarization

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

What this workflow does

This AI workflow has 16 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Gemini Chat Model and Mcp (community).

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. List all tools for Bright Data (Mcp Client): uses Mcp Client
  2. Set the Legal Case Research URL (Edit Fields (Set)): sets 3 fields: url, webhook_url, base_url
  3. Bright Data MCP Client For Legal Case Research (Mcp Client): execute tool
  4. Case Extractor (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model; output parser: Structured Output Parser
  5. Code: runs custom JavaScript code
  6. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  7. Wait: waits 10 seconds
  8. Bright Data MCP Client For Legal Case Research Within Loop (Mcp Client): execute tool
  9. HTML to Textual Data Extract Within Loop (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model
  10. Create a binary data for LinkedIn company info extract (Function): runs custom JavaScript (legacy Function node)

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

Services it uses

Google Gemini Chat ModelMcp (community)

Before you upgrade to n8n 3.0

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

  • Function (legacy) in Create a binary data for LinkedIn company info extract: replace with Code node, mode 'Run Once for All Items'.

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

Removed in 3.0Replace with
Function (legacy)
Create a binary data for LinkedIn company info extract
Code node, mode 'Run Once for All Items'

Nodes used (12)

From the author

Notice Community nodes can only be installed on self-hosted instances of n8n. Who this is for The Legal Case Research Extractor is a powerful automated workflow designed for legal tech teams, researchers, law firms, and data scientists focused on transforming…

Excerpt from Ranjan Dailata'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.