Automation library · Data collection

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.

MediumCalls a model: Claude

20 stepsMedium: a working afternoon
2Branches: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 1Model 11Logic 3Service 5

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

  1. 1Schedule Trigger - Every 15 MinutesSchedule triggerStarts it
  2. 2Validation Output ParserOutput Parser StructuredModel
  3. 3Deadline Tracking Output ParserOutput Parser StructuredModel
  4. 4Exception Escalation Output ParserOutput Parser StructuredModel
  5. 5Anthropic Model - Validation AgentLm Chat AnthropicModel
  6. 6Anthropic Model - Admin AgentLm Chat AnthropicModel
  7. 7Anthropic Model - Deadline AgentLm Chat AnthropicModel
  8. 8Anthropic Model - Exception AgentLm Chat AnthropicModel
  9. 9Gmail Notification ToolGmail ToolService
  10. 10Slack Alert ToolSlack ToolService
  11. 11Workflow ConfigurationSetLogic
  12. 12Caseflow Validation AgentAgentModel
  13. 13Deadline Tracking Agent ToolAgent ToolModel
  14. 14Exception Escalation Agent ToolAgent ToolModel
  15. 15Administration Orchestrator AgentAgentModel
  16. 16Fetch Court Case DataHttp RequestService
  17. 17Check for ExceptionsIfLogic
  18. 18Route by Validation StatusSwitchLogic
  19. 19Store Validated CasesData TableService
  20. 20Store ExceptionsData TableService

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.