# Track legal case deadlines and exceptions with Anthropic: n8n workflow

> Started by a clock, and works across Gmail and n8n data table. It hands the judgement calls to Claude.

Source: https://millionrounds.com/workflow/track-legal-case-deadlines-and-exceptions-with-anthropic (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Data collection](https://millionrounds.com/workflows?category=Data+collection#library)

# Track legal case deadlines and exceptions with Anthropic

Started by a clock, and works across Gmail and n8n data table. It hands the judgement calls to Claude. 20 steps, 2 branches: a working afternoon to understand properly.

Medium Calls a model: Claude

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Ftrack-legal-case-deadlines-and-exceptions-with-anthropic)

**20 steps** Medium: a working afternoon

**2** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 1 Model 11 Logic 3 Service 5

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

- 1 **Schedule Trigger - Every 15 Minutes** Schedule trigger *Starts it*
- 2 **Validation Output Parser** Output Parser Structured *Model*
- 3 **Deadline Tracking Output Parser** Output Parser Structured *Model*
- 4 **Exception Escalation Output Parser** Output Parser Structured *Model*
- 5 **Anthropic Model - Validation Agent** Lm Chat Anthropic *Model*
- 6 **Anthropic Model - Admin Agent** Lm Chat Anthropic *Model*
- 7 **Anthropic Model - Deadline Agent** Lm Chat Anthropic *Model*
- 8 **Anthropic Model - Exception Agent** Lm Chat Anthropic *Model*
- 9 **Gmail Notification Tool** Gmail Tool *Service*
- 10 **Slack Alert Tool** Slack Tool *Service*
- 11 **Workflow Configuration** Set *Logic*
- 12 **Caseflow Validation Agent** Agent *Model*
- 13 **Deadline Tracking Agent Tool** Agent Tool *Model*
- 14 **Exception Escalation Agent Tool** Agent Tool *Model*
- 15 **Administration Orchestrator Agent** Agent *Model*
- 16 **Fetch Court Case Data** Http Request *Service*
- 17 **Check for Exceptions** If *Logic*
- 18 **Route by Validation Status** Switch *Logic*
- 19 **Store Validated Cases** Data Table *Service*
- 20 **Store Exceptions** Data Table *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 20, with 2 branches
- **Size:** Medium: a working afternoon
- **Connects to:** Gmail, n8n data table
- **Model:** Claude

## Questions

What does it need to run?

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

What starts it?

It starts on a clock.

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

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Ftrack-legal-case-deadlines-and-exceptions-with-anthropic)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[n8n data table](https://millionrounds.com/workflows?service=n8n+data+table#library)

## Workflows like it

Also data collection, with the same services where possible, closest in size first.

- [**Automate job search with LinkedIn and Google Sheets** 20 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/automate-job-search-with-linkedin-and-google-sheets)
- [**Draft and triage Google Maps guest review replies with SerpAPI** 20 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/draft-and-triage-google-maps-guest-review-replies-with-serpa)
- [**Draft daily crypto news tweets with CryptoPanic and Google** 20 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/draft-daily-crypto-news-tweets-with-cryptopanic-and-google)
- [**Generate personalized financial plans with Gemini and Sheets** 20 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/generate-personalized-financial-plans-with-gemini-and-sheets)
- [**Re-engage old clients with Claude and Gmail** 20 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/re-engage-old-clients-with-claude-and-gmail)
- [**Track website changes with Firecrawl and OpenAI** 20 steps · calls a model · Gmail, Notion](https://millionrounds.com/workflow/track-website-changes-with-firecrawl-and-openai)
