Automation library · Research and reporting

Public legal documents & case research automation + AI document

Started by a clock. It calls services over plain HTTP rather than through connectors. 39 steps, 4 branches: large, and worth reading before you trust it with anything live.

Large

39 stepsLarge: read it before trusting it with anything live
4Branches: places the flow splits
0Loops or waits
0Services by connector: it calls them over plain HTTP

The flow

Starts it 2Logic 17Service 20

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

  1. 1Schedule TriggerSchedule triggerStarts it
  2. 2Manual TriggerManual triggerStarts it
  3. 3Merge TriggersMergeLogic
  4. 4Generate Multi-Source QueriesCodeLogic
  5. 5Route by SourceSwitchLogic
  6. 6Search PACER/FederalHttp RequestService
  7. 7Search CourtListenerHttp RequestService
  8. 8Search Google CustomHttp RequestService
  9. 9Aggregate SourcesAggregateLogic
  10. 10Parse & Normalize ResultsCodeLogic
  11. 11Check for DuplicatesHttp RequestService
  12. 12Is New Document?IfLogic
  13. 13Download DocumentHttp RequestService
  14. 14Skip DuplicateNo OpLogic
  15. 15Extract Text & MetadataHttp RequestService
  16. 16Classify Document TypeHttp RequestService
  17. 17Parse ClassificationCodeLogic
  18. 18Extract Named EntitiesHttp RequestService
  19. 19Link Entities to Knowledge GraphCodeLogic
  20. 20Extract Legal CitationsHttp RequestService
  21. 21Build Citation NetworkCodeLogic
  22. 22Generate EmbeddingsHttp RequestService
  23. 23Generate Legal SummaryHttp RequestService
  24. 24Calculate Document ScoreCodeLogic
  25. 25Quality GateIfLogic
  26. 26Store DocumentHttp RequestService
  27. 27Rejected - LogHttp RequestService
  28. 28Store EntitiesHttp RequestService
  29. 29Store Citation NetworkHttp RequestService
  30. 30Store Vector EmbeddingHttp RequestService
  31. 31Find Related DocumentsHttp RequestService
  32. 32Create RelationshipsHttp RequestService
  33. 33Check Alert ConditionsCodeLogic
  34. 34Should Send Alert?IfLogic
  35. 35Continue ProcessingNo OpLogic
  36. 36Send AlertHttp RequestService
  37. 37Aggregate All DocumentsAggregateLogic
  38. 38Generate Insights ReportCodeLogic
  39. 39Send Daily ReportHttp RequestService

How it's built

Starts on
A clock
Steps
39, with 4 branches
Size
Large: read it before trusting it with anything live
Connects to
Nothing by connector; it calls services over plain HTTP
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Take your time. At 39 steps it is large: read it before trusting it with anything live.

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