Track legal risks and litigation threats using Bright Data, OpenRouter and Google Sheets
UnknownWhat this workflow does
This AI workflow has 35 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets, OpenRouter Chat Model and Brightdata (community).
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Scenario Configuration Loader (Edit Fields (Set)): sets 8 fields: scenario_types, companies, target_company…
- Scenario Router – Litigation Monitoring (If): checks a condition and branches into true / false
- Company × Court Matrix Expander (Code): runs custom JavaScript code
- Search Query & URL Builder (Code): runs custom JavaScript code
- Scrape Legal Data (Bright Data) (Bright Data): uses Bright Data
- HTML: parses or builds HTML
- Bright Data Error Formatter (Edit Fields (Set)): sets 3 fields: errorSource, errorMessage, errorCode
- Search Result Normalizer (Code): runs custom JavaScript code
- Error Log – Google Sheets (Google Sheets): append
- Legal Signal Keyword Scorer (Code): runs custom JavaScript code
…plus 15 more steps. See the full node list below.
Services it uses
Other Google Sheets + OpenRouter templates (210) · Other Bright Data + Google Sheets templates (95) · Other Bright Data + OpenRouter templates (11)
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @brightdata/n8n-nodes-brightdata is verified or supports 3.0 (used in Scrape Legal Data (Bright Data)).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (14)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - HTML
n8n-nodes-base.html - AI Agent
@n8n/n8n-nodes-langchain.agent - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Remove Duplicates
n8n-nodes-base.removeDuplicates - Split Out
n8n-nodes-base.splitOut - No Operation, do nothing
n8n-nodes-base.noOp - Aggregate
n8n-nodes-base.aggregate - Bright Data
@brightdata/n8n-nodes-brightdata.brightData - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter
From the author
Description This workflow automatically monitors companies across courts, regulators, and jurisdictions to detect legal risk signals early. It helps legal, compliance, and risk teams stay ahead of litigation threats without manually scanning dozens of public…