{
  "name": "AI research agents to automate PDF analysis with Mistral’s best-in-class OCR",
  "nodes": [
    {
      "id": "5534b84d-9aaa-497d-a750-d754136a49ed",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1240,
        580
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "f5ff24f2-d33d-4f40-aeef-3b96ae01a332",
      "name": "Merge chapters title and text",
      "type": "n8n-nodes-base.merge",
      "position": [
        3300,
        220
      ]
    },
    {
      "id": "e23171cf-df8e-4934-98da-1f3f852df00d",
      "name": "Final article text",
      "type": "n8n-nodes-base.code",
      "position": [
        3580,
        220
      ]
    },
    {
      "id": "1f4da7b2-cd54-4832-8a00-305062476895",
      "name": "Research Leader 🔬",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1800,
        220
      ]
    },
    {
      "id": "6ee8d982-0bd5-4f78-8c7d-43c49719dfe3",
      "name": "Delegate to Research Assistants",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        2640,
        220
      ]
    },
    {
      "id": "bdb1f428-6dba-456e-a95a-c1b9edc637fa",
      "name": "Research Assistant",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2880,
        220
      ]
    },
    {
      "id": "a5f4ebdc-afc0-4b1e-a5ca-458fbe4707da",
      "name": "Project Planner",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2260,
        220
      ]
    },
    {
      "id": "9fd8d93d-c8d8-49bc-9295-e520c8a0203e",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1720,
        100
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "6f965021-7fa1-4346-bd41-6b8d49b5da01",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2200,
        100
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "38c412e3-cad2-4506-a367-af01caf1044d",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2800,
        100
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "8c8f25e3-783d-495d-848d-7451f5d6ea4e",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3500,
        100
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "c9ba80d7-2da9-4d5d-9fe0-c8b01c3a2912",
      "name": "Title1",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        4040,
        220
      ]
    },
    {
      "id": "be0d7be3-2440-441f-a3f3-4279b4e98182",
      "name": "Gmail1",
      "type": "n8n-nodes-base.gmail",
      "position": [
        4380,
        220
      ]
    },
    {
      "id": "3e23f7a4-6bcf-4d5a-ac6b-c80cb9e2e21b",
      "name": "Editor",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        3740,
        220
      ]
    },
    {
      "id": "705c4381-c0c8-483b-9929-b866fd37b781",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        220,
        100
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "53fe764c-9ee5-4433-87e5-25af3a4c3467",
      "name": "When Executed by Another Workflow",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        1560,
        660
      ]
    },
    {
      "id": "b165c30a-705e-404b-802c-c398ce7baeb1",
      "name": "Document Understanding",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1760,
        660
      ]
    },
    {
      "id": "510c5f9d-a4c4-4ea8-b530-9f98658125da",
      "name": "Mistral Upload",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1280,
        220
      ]
    },
    {
      "id": "5bf136e2-d6c9-4797-9d26-be13f3441ff8",
      "name": "Mistral Signed URL",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1520,
        220
      ]
    },
    {
      "id": "183ebf04-5377-42d2-aa06-ac2db58adf3e",
      "name": "Mistral_PDF",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        1920,
        420
      ]
    },
    {
      "id": "df168b7a-256e-4305-af26-84b30ee0e2a2",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        2440,
        420
      ]
    },
    {
      "id": "63ad422e-dde7-4422-b7c9-e3ab9949ffc5",
      "name": "Mistral_PDF1",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        2600,
        420
      ]
    },
    {
      "id": "b8c8cff2-5638-4c9d-96d5-a97d0e36acfc",
      "name": "Mistral_PDF2",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        3100,
        420
      ]
    },
    {
      "id": "6fa7b7ae-f359-4134-bba7-7adcf54a4075",
      "name": "On form submission",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        1000,
        220
      ]
    },
    {
      "id": "b03e2a8c-c39d-4c8f-b824-4d749e1c76fe",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1240,
        100
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "b568bae9-9263-42f4-bfd4-6df284c1d900",
      "name": "o3-mini",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        1800,
        420
      ]
    },
    {
      "id": "3b851991-976c-4903-9a14-93dfed404a62",
      "name": "o3-mini-3",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        3820,
        420
      ]
    },
    {
      "id": "39f879ec-ab0b-43e4-89af-f055a78a4b2a",
      "name": "o3-mini1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        2920,
        420
      ]
    },
    {
      "id": "3186cfb3-8eb6-4993-bb98-69a5dce21832",
      "name": "gpt4o",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        2260,
        420
      ]
    },
    {
      "id": "d091d288-40f0-4292-a936-29d492c2e341",
      "name": "qa_answer",
      "type": "n8n-nodes-base.set",
      "position": [
        1960,
        660
      ]
    }
  ],
  "connections": {
    "gpt4o": {
      "ai_languageModel": [
        [
          {
            "node": "Project Planner",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Editor": {
      "main": [
        [
          {
            "node": "Title1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Title1": {
      "main": [
        [
          {
            "node": "Gmail1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "o3-mini": {
      "ai_languageModel": [
        [
          {
            "node": "Research Leader 🔬",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "o3-mini1": {
      "ai_languageModel": [
        [
          {
            "node": "Research Assistant",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "o3-mini-3": {
      "ai_languageModel": [
        [
          {
            "node": "Editor",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Title1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Mistral_PDF": {
      "ai_tool": [
        [
          {
            "node": "Research Leader 🔬",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Mistral_PDF1": {
      "ai_tool": [
        [
          {
            "node": "Project Planner",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Mistral_PDF2": {
      "ai_tool": [
        [
          {
            "node": "Research Assistant",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Mistral Upload": {
      "main": [
        [
          {
            "node": "Mistral Signed URL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Project Planner": {
      "main": [
        [
          {
            "node": "Delegate to Research Assistants",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Final article text": {
      "main": [
        [
          {
            "node": "Editor",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Mistral Signed URL": {
      "main": [
        [
          {
            "node": "Research Leader 🔬",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "Mistral Upload",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Research Assistant": {
      "main": [
        [
          {
            "node": "Merge chapters title and text",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Research Leader 🔬": {
      "main": [
        [
          {
            "node": "Project Planner",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Document Understanding": {
      "main": [
        [
          {
            "node": "qa_answer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Project Planner",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Merge chapters title and text": {
      "main": [
        [
          {
            "node": "Final article text",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Delegate to Research Assistants": {
      "main": [
        [
          {
            "node": "Merge chapters title and text",
            "type": "main",
            "index": 1
          },
          {
            "node": "Research Assistant",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When Executed by Another Workflow": {
      "main": [
        [
          {
            "node": "Document Understanding",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}