Automation library · Research and reporting

Nested PDF analysis with Mistral and OneDrive

Started by a clock, and works across n8n data table. It hands the judgement calls to Mistral. 41 steps, 9 branches, 4 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: Mistral

41 stepsLarge: read it before trusting it with anything live
9Branches: places the flow splits
4Loops or waits
1Service it connects to

The flow

Starts it 1Model 7Logic 19Service 14

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

  1. 1Schedule Trigger1Schedule triggerStarts it
  2. 2Mistral Cloud Chat ModelLm Chat Mistral CloudModel
  3. 3Search for Main FolderMicrosoft One DriveService
  4. 4Get row(s)Data TableService
  5. 5Document InformationAgentModel
  6. 6Document LLM ChainChain LlmModel
  7. 7OverviewAgentModel
  8. 8Overview LLM ChainChain LlmModel
  9. 9Structured Output Parser1Output Parser StructuredModel
  10. 10Structured Output ParserOutput Parser StructuredModel
  11. 11Get items in a folder1Microsoft One DriveService
  12. 12Loop Over ItemsSplit In BatchesLogic
  13. 13Merge1MergeLogic
  14. 14If PDF 1IfLogic
  15. 15Compare DatasetsCompare DatasetsService
  16. 16Set File ID 1SetLogic
  17. 17AggregateAggregateLogic
  18. 18MergeMergeLogic
  19. 19Get items in a folder2Microsoft One DriveService
  20. 20Loop Over Items 3Split In BatchesLogic
  21. 21Insert rowData TableService
  22. 22If SizeIfLogic
  23. 23If PDF 2IfLogic
  24. 242nd Loop Over Items1Split In BatchesLogic
  25. 25Set File ID 3SetLogic
  26. 26Loop Over Items 2Split In BatchesLogic
  27. 27Get items in a folder3Microsoft One DriveService
  28. 28Download fileMicrosoft One DriveService
  29. 29Set File ID 2SetLogic
  30. 30If PDF 3IfLogic
  31. 31Extract PDF TextExtract From FileService
  32. 32Get items in a folder4Microsoft One DriveService
  33. 33If PDF 4IfLogic
  34. 34Get items in a folder5Microsoft One DriveService
  35. 35If PDF 5IfLogic
  36. 36Get items in a folder6Microsoft One DriveService
  37. 37If PDF 6IfLogic
  38. 38Get items in a folder7Microsoft One DriveService
  39. 39If PDF 7IfLogic
  40. 40Get items in a folder9Microsoft One DriveService
  41. 41If PDF 8IfLogic

How it's built

Starts on
A clock
Steps
41, with 9 branches, 4 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
n8n data table
Model
Mistral

Questions

What does it need to run?

An n8n account, and a key for Mistral. 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 Mistral. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 41 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 41 steps before you point it at anything that matters.