{
  "name": "Build person OSINT profiles using Humantic AI, Hunter, CourtListener and GPT-5",
  "nodes": [
    {
      "id": "da302200-be32-443b-93d6-81df8e0220b4",
      "name": "Create a profile",
      "type": "n8n-nodes-base.humanticAi",
      "position": [
        -848,
        880
      ]
    },
    {
      "id": "1d8a41d5-1992-4e34-903c-2fffb2455b6c",
      "name": "Get a profile",
      "type": "n8n-nodes-base.humanticAi",
      "position": [
        -432,
        880
      ]
    },
    {
      "id": "1136b192-4f41-48f3-9b03-c8ba6f94825e",
      "name": "Hunter",
      "type": "n8n-nodes-base.hunter",
      "position": [
        -224,
        880
      ]
    },
    {
      "id": "d0a6834f-8e85-47fb-88f4-1e75b8752e96",
      "name": "Set Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        240,
        880
      ]
    },
    {
      "id": "f81ae813-8450-446b-a03a-76b15b12209a",
      "name": "Court Listener Discovery",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        672,
        1088
      ]
    },
    {
      "id": "948d53b9-2f91-407e-a914-0df61cfa602e",
      "name": "Google Search Discovery",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        384,
        1088
      ]
    },
    {
      "id": "a2f39ac7-0594-4dc1-8156-e0f625288e9a",
      "name": "LegiScan Discovery",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        528,
        1088
      ]
    },
    {
      "id": "4d87896a-5e74-46bf-9447-8c61cf893ffd",
      "name": "Court Listener Retrieveal",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        2608,
        1168
      ]
    },
    {
      "id": "16788ffe-2d35-43a4-a703-c0b9f329228c",
      "name": "Think Tool Prioritization",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "position": [
        1872,
        1152
      ]
    },
    {
      "id": "b5f6b447-05ed-40cf-8ab3-c5cfa4fe0c9e",
      "name": "LegiScan Retrieval",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        2480,
        1168
      ]
    },
    {
      "id": "52ac015f-c211-4a4f-944c-b66febb33c74",
      "name": "DocumentCloud Retrieval",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        2736,
        1168
      ]
    },
    {
      "id": "a5ac4598-371e-4bfa-a593-ac510f7d84f7",
      "name": "Jina URL Text Extraction",
      "type": "n8n-nodes-base.jinaAiTool",
      "position": [
        2352,
        1168
      ]
    },
    {
      "id": "e86ebc41-dbed-44c6-abbb-98b85e6400e8",
      "name": "Think Tool Analysis",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "position": [
        3984,
        1200
      ]
    },
    {
      "id": "453e481c-69dc-4730-a9b5-a5461509cfd1",
      "name": "Step 5: Verification",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        4464,
        928
      ]
    },
    {
      "id": "99bdf7c9-2ab3-4c2d-99bd-bf52a2f82fa0",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        4560,
        1184
      ]
    },
    {
      "id": "efb8d1a5-4fa5-4107-8d11-27d9fe8548b0",
      "name": "If hallucinations present",
      "type": "n8n-nodes-base.if",
      "position": [
        4960,
        928
      ]
    },
    {
      "id": "06b104b0-de94-4a7e-98b9-7f011d20df54",
      "name": "Set Report",
      "type": "n8n-nodes-base.set",
      "position": [
        4288,
        928
      ]
    },
    {
      "id": "61cb022b-2a99-4db9-949e-432327b528e2",
      "name": "Set Output",
      "type": "n8n-nodes-base.set",
      "position": [
        5680,
        928
      ]
    },
    {
      "id": "8bebd602-900b-4bd7-b5a2-223229d8e44d",
      "name": "Retry if Tools Not Used",
      "type": "n8n-nodes-base.if",
      "position": [
        896,
        880
      ]
    },
    {
      "id": "7621e371-ca0a-4318-b89b-b701ef1abb31",
      "name": "Retry if Tools Not Used1",
      "type": "n8n-nodes-base.if",
      "position": [
        2784,
        912
      ]
    },
    {
      "id": "af474b1c-8002-4ddb-8db8-6acf0c586cd7",
      "name": "Retry if Response Empty",
      "type": "n8n-nodes-base.if",
      "position": [
        1904,
        896
      ]
    },
    {
      "id": "a0dc50b9-0d04-4af1-ba5f-d0449532865b",
      "name": "Retry if Response Empty1",
      "type": "n8n-nodes-base.if",
      "position": [
        4016,
        928
      ]
    },
    {
      "id": "cba0074c-d9ed-4195-ba10-2ae7b090220e",
      "name": "Step 1: Discovery",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        496,
        880
      ]
    },
    {
      "id": "a00b17e7-3070-4f37-8c6c-9fa645f68032",
      "name": "Auto Fallback",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        240,
        1088
      ]
    },
    {
      "id": "720c092d-e219-4884-ba69-ae57cf5ed183",
      "name": "Gemini 2.5 Flash",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        96,
        1088
      ]
    },
    {
      "id": "219ac835-fcc9-4a11-b839-7cde454828d2",
      "name": "Auto Fallback1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        1728,
        1152
      ]
    },
    {
      "id": "ddd252c3-8dad-4fca-88a9-f7636904b9de",
      "name": "Step 2: Prioritization",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1600,
        896
      ]
    },
    {
      "id": "d7781a18-2c42-4232-b6e5-f2e2131db3a2",
      "name": "Auto Fallback2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        2208,
        1168
      ]
    },
    {
      "id": "4bb07c8b-cf94-4e1b-84e9-31dd7667e120",
      "name": "Gemini 2.5 Flash2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        2064,
        1168
      ]
    },
    {
      "id": "8e40f87f-c4a9-4c18-9a65-be5b1fc4d111",
      "name": "Step 3: Retrieval",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2464,
        912
      ]
    },
    {
      "id": "55e939ae-b7c4-41cf-90d9-07f6aa5b0eae",
      "name": "Auto Fallback3",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        3808,
        1200
      ]
    },
    {
      "id": "8bc939dc-6737-4bc0-9805-e8854fe9d91b",
      "name": "Step 4: Report Writing",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        3696,
        928
      ]
    },
    {
      "id": "2bb43091-4ca0-41c6-af77-e0261eee33c1",
      "name": "Auto Fallback4",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        4432,
        1184
      ]
    },
    {
      "id": "b9bec125-d33a-452f-9fcb-b7855500c67b",
      "name": "Auto Fallback5",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        5136,
        1184
      ]
    },
    {
      "id": "de875f11-c918-467f-aebb-2e70ef870064",
      "name": "Step 6: Fixing Hallucinations",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        5152,
        928
      ]
    },
    {
      "id": "5af9507d-d07f-4cef-ae7e-70fa44418ca2",
      "name": "Think Tool Analysis2",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "position": [
        5408,
        1184
      ]
    },
    {
      "id": "76c34c6a-6a7a-41a0-aab5-d271a06e944f",
      "name": "Simple Memory6",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        5280,
        1184
      ]
    },
    {
      "id": "e0316b9d-0ce5-4dca-b337-277316bbd8fb",
      "name": "Search Open Paws Database2",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreWeaviate",
      "position": [
        1152,
        976
      ]
    },
    {
      "id": "86380951-8bf7-435c-bc45-9a4f2fcabfad",
      "name": "Embeddings OpenAI2",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        1168,
        1184
      ]
    },
    {
      "id": "30f6d15d-4029-47a6-be67-da58737c1bbc",
      "name": "Twitter Profile Scraper1",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        3200,
        1168
      ]
    },
    {
      "id": "367367bf-bd20-443f-a3a4-f9d74cd20d87",
      "name": "Linkedin Person and Company Scraper1",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        2896,
        1168
      ]
    },
    {
      "id": "70a3f25d-74f8-4420-a113-41c20c52d0c8",
      "name": "Instagram Profile Scraper1",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        3056,
        1168
      ]
    },
    {
      "id": "04cd5a77-d4a9-44c4-b419-793a1bd1ac0c",
      "name": "GPT-5a",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        1584,
        1152
      ]
    },
    {
      "id": "0c0b13eb-92ca-4626-aa4e-caea461c873c",
      "name": "GPT-5b",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        3680,
        1200
      ]
    },
    {
      "id": "29d78d93-a153-41d4-9434-3cd05ce0d96f",
      "name": "GPT-5c",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        4304,
        1184
      ]
    },
    {
      "id": "0956503c-2aa6-4e8c-aec6-dd8a99aaccbc",
      "name": "GPT-5d",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        5008,
        1184
      ]
    },
    {
      "id": "f67ad7c0-62cf-445a-8cb4-860f2bc4ba65",
      "name": "If Empty Output",
      "type": "n8n-nodes-base.if",
      "position": [
        5456,
        928
      ]
    },
    {
      "id": "c1f10cd0-aff2-472e-a033-99b51c40ca19",
      "name": "If Empty Output1",
      "type": "n8n-nodes-base.if",
      "position": [
        4768,
        928
      ]
    },
    {
      "id": "26ca193e-344b-4c44-a709-561d93117faa",
      "name": "Plural Discovery1",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        944,
        1088
      ]
    },
    {
      "id": "c5f0d822-3c4b-4b63-9282-6fff9f87fa22",
      "name": "Plural Retrieval",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        3344,
        1168
      ]
    },
    {
      "id": "c9a5836f-8397-4166-85fc-79e1d61f43f9",
      "name": "Respond to Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        6080,
        816
      ]
    },
    {
      "id": "5cc0eba7-fb66-4e4e-bd1b-572c9c6dd6e4",
      "name": "If Source is Webhook",
      "type": "n8n-nodes-base.if",
      "position": [
        5888,
        928
      ]
    },
    {
      "id": "81a67806-ef9e-418b-81fe-5b837a9e082c",
      "name": "Final Output",
      "type": "n8n-nodes-base.set",
      "position": [
        6080,
        1008
      ]
    },
    {
      "id": "ce74279e-d3ce-407f-9ebf-a5a5af1f5304",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1968,
        112
      ],
      "parameters": {
        "width": 896,
        "height": 592,
        "content": "# Analyze publicly available information about individuals using AI\n\n## How it works\n\nThis workflow researches an individual using publicly available information.\nIt collects data from multiple public"
      }
    },
    {
      "id": "a3fcb54e-d806-46ac-b96b-78d96b70b011",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1968,
        752
      ],
      "parameters": {
        "width": 544,
        "height": 624,
        "content": "## 📥 Input Schema\n\nThe OSINT Person Profiling Agent accepts structured JSON input.  \nBelow are the available fields and how they are used:\n\n### Required\n- **`firstName`** *(string)*  \n  The person’s f"
      }
    },
    {
      "id": "77edf5af-7377-4692-ac0f-18045d5f5978",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1040,
        1376
      ],
      "parameters": {
        "width": 262,
        "height": 144,
        "content": "### Please refer [Open Paws Guide](https://github.com/Open-Paws/documentation/tree/main/Knowledge) to know how to use our open-source vector database"
      }
    },
    {
      "id": "42d87f9b-3d3e-4295-af34-d3da95c98c39",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        352,
        464
      ],
      "parameters": {
        "width": 528,
        "height": 368,
        "content": "## 🟤 Step 1: Discovery\n\nInitial OSINT discovery across multiple tool categories:\n• General web search  \n• Government & legal datasets  \n• Public document archives  \n• Social profiles  \n• Company & aff"
      }
    },
    {
      "id": "9d4f6fd0-b588-4e75-98c3-d8aeee33ee67",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1472,
        512
      ],
      "parameters": {
        "width": 544,
        "height": 288,
        "content": "## 🟤 Step 2: Prioritization\n\nThe agent evaluates discovered signals to:\n• Rank sources by credibility  \n• Determine which leads are worth deeper investigation  \n• Remove low-quality or duplicate resul"
      }
    },
    {
      "id": "de06886a-70a8-46b6-8aab-9a0d7e670c1f",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2320,
        528
      ],
      "parameters": {
        "width": 576,
        "height": 256,
        "content": "## 🟤 Step 3: Retrieval\n\nIn-depth retrieval of detailed OSINT information:\n• Retrieve structured and unstructured documents  \n• Fetch social media content (LinkedIn, Instagram, Twitter)  \n• Retrieve le"
      }
    },
    {
      "id": "cb70baa7-4a30-4c16-8985-f5ba198dd4a9",
      "name": "Sticky Note13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3504,
        448
      ],
      "parameters": {
        "width": 672,
        "height": 368,
        "content": "## ✍️ Writing Report Agent\n\nThis agent is responsible for transforming **raw research signals** into a **clear, structured, human-readable report**.\n\nAfter the research tools return their findings, th"
      }
    },
    {
      "id": "e2e3487d-24af-47f6-a284-6cf234baa1c7",
      "name": "Sticky Note14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4240,
        448
      ],
      "parameters": {
        "width": 672,
        "height": 368,
        "content": "## 🔍 Verifying Report Agent\n\nThis agent acts as a **quality control and fact-checking layer**.\n\nOnce the initial report is written, the Verifying Report Agent:\n\n* Reviews claims made in the draft repo"
      }
    },
    {
      "id": "45d28f56-79db-4862-940b-3f6b6ad95c20",
      "name": "Sticky Note15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4976,
        448
      ],
      "parameters": {
        "width": 736,
        "height": 352,
        "content": "## 🧯 Fixing Hallucinations Agent\n\nThis agent is activated **only when issues are detected** during verification.\n\nIf the Verifying Report Agent identifies hallucinations, unsupported claims, or logica"
      }
    },
    {
      "id": "6d8c5503-e3d6-447d-a65c-9886174d0405",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -944,
        -32
      ],
      "parameters": {
        "width": 864,
        "height": 736,
        "content": "## 🔐 Credentials Required\n\nThis workflow uses several external OSINT and data-gathering tools that require API credentials:\n\n- **OpenRouter API Key**  \n  Used for LLM reasoning, prioritizing sources, "
      }
    },
    {
      "id": "381b8f4c-3e40-4813-a4cf-edf1a640331c",
      "name": "Trigger individual research (Webhook)",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -1376,
        768
      ]
    },
    {
      "id": "81f8ffb2-5c8b-4e79-839d-6a01e0345c93",
      "name": "Trigger individual research from another workflow",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        -1376,
        976
      ]
    },
    {
      "id": "2baace07-287f-4b56-99dd-d761f99ba634",
      "name": "Wait before next research step",
      "type": "n8n-nodes-base.wait",
      "position": [
        -640,
        880
      ]
    },
    {
      "id": "b4423097-c66f-4a2a-be3f-ad2ca1da6fa3",
      "name": "Prepare research input fields",
      "type": "n8n-nodes-base.set",
      "position": [
        -1104,
        880
      ]
    },
    {
      "id": "07dd3104-6719-4234-8d27-b3ef1128139a",
      "name": "DocumentCloud Discovery",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        800,
        1088
      ]
    }
  ],
  "connections": {
    "GPT-5a": {
      "ai_languageModel": [
        [
          {
            "node": "Step 2: Prioritization",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "GPT-5b": {
      "ai_languageModel": [
        [
          {
            "node": "Step 4: Report Writing",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "GPT-5c": {
      "ai_languageModel": [
        [
          {
            "node": "Step 5: Verification",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "GPT-5d": {
      "ai_languageModel": [
        [
          {
            "node": "Step 6: Fixing Hallucinations",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Hunter": {
      "main": [
        [
          {
            "node": "Set Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Fields": {
      "main": [
        [
          {
            "node": "Step 1: Discovery",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Output": {
      "main": [
        [
          {
            "node": "If Source is Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Report": {
      "main": [
        [
          {
            "node": "Step 5: Verification",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Auto Fallback": {
      "ai_languageModel": [
        [
          {
            "node": "Step 1: Discovery",
            "type": "ai_languageModel",
            "index": 1
          }
        ]
      ]
    },
    "Get a profile": {
      "main": [
        [
          {
            "node": "Hunter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Auto Fallback1": {
      "ai_languageModel": [
        [
          {
            "node": "Step 2: Prioritization",
            "type": "ai_languageModel",
            "index": 1
          }
        ]
      ]
    },
    "Auto Fallback2": {
      "ai_languageModel": [
        [
          {
            "node": "Step 3: Retrieval",
            "type": "ai_languageModel",
            "index": 1
          }
        ]
      ]
    },
    "Auto Fallback3": {
      "ai_languageModel": [
        [
          {
            "node": "Step 4: Report Writing",
            "type": "ai_languageModel",
            "index": 1
          }
        ]
      ]
    },
    "Auto Fallback4": {
      "ai_languageModel": [
        [
          {
            "node": "Step 5: Verification",
            "type": "ai_languageModel",
            "index": 1
          },
          {
            "node": "Structured Output Parser",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Auto Fallback5": {
      "ai_languageModel": [
        [
          {
            "node": "Step 6: Fixing Hallucinations",
            "type": "ai_languageModel",
            "index": 1
          }
        ]
      ]
    },
    "Simple Memory6": {
      "ai_memory": [
        [
          {
            "node": "Step 6: Fixing Hallucinations",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "If Empty Output": {
      "main": [
        [
          {
            "node": "Step 6: Fixing Hallucinations",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Step 5: Verification",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create a profile": {
      "main": [
        [
          {
            "node": "Wait before next research step",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gemini 2.5 Flash": {
      "ai_languageModel": [
        [
          {
            "node": "Step 1: Discovery",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "If Empty Output1": {
      "main": [
        [
          {
            "node": "Step 5: Verification",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "If hallucinations present",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Plural Retrieval": {
      "ai_tool": [
        [
          {
            "node": "Step 3: Retrieval",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Gemini 2.5 Flash2": {
      "ai_languageModel": [
        [
          {
            "node": "Step 3: Retrieval",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Plural Discovery1": {
      "ai_tool": [
        [
          {
            "node": "Step 1: Discovery",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Step 1: Discovery": {
      "main": [
        [
          {
            "node": "Retry if Tools Not Used",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Step 3: Retrieval": {
      "main": [
        [
          {
            "node": "Retry if Tools Not Used1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Embeddings OpenAI2": {
      "ai_embedding": [
        [
          {
            "node": "Search Open Paws Database2",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "LegiScan Discovery": {
      "ai_tool": [
        [
          {
            "node": "Step 1: Discovery",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "LegiScan Retrieval": {
      "ai_tool": [
        [
          {
            "node": "Step 3: Retrieval",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Think Tool Analysis": {
      "ai_tool": [
        [
          {
            "node": "Step 4: Report Writing",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "If Source is Webhook": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Final Output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Step 5: Verification": {
      "main": [
        [
          {
            "node": "If Empty Output1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Think Tool Analysis2": {
      "ai_tool": [
        [
          {
            "node": "Step 6: Fixing Hallucinations",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Step 2: Prioritization": {
      "main": [
        [
          {
            "node": "Retry if Response Empty",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Step 4: Report Writing": {
      "main": [
        [
          {
            "node": "Retry if Response Empty1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "DocumentCloud Discovery": {
      "ai_tool": [
        [
          {
            "node": "Step 1: Discovery",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "DocumentCloud Retrieval": {
      "ai_tool": [
        [
          {
            "node": "Step 3: Retrieval",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Google Search Discovery": {
      "ai_tool": [
        [
          {
            "node": "Step 1: Discovery",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Retry if Response Empty": {
      "main": [
        [
          {
            "node": "Step 2: Prioritization",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Step 3: Retrieval",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Retry if Tools Not Used": {
      "main": [
        [
          {
            "node": "Step 1: Discovery",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Step 2: Prioritization",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Court Listener Discovery": {
      "ai_tool": [
        [
          {
            "node": "Step 1: Discovery",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Jina URL Text Extraction": {
      "ai_tool": [
        [
          {
            "node": "Step 3: Retrieval",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Retry if Response Empty1": {
      "main": [
        [
          {
            "node": "Step 4: Report Writing",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Set Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Retry if Tools Not Used1": {
      "main": [
        [
          {
            "node": "Step 3: Retrieval",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Step 4: Report Writing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Step 5: Verification",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Twitter Profile Scraper1": {
      "ai_tool": [
        [
          {
            "node": "Step 3: Retrieval",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Court Listener Retrieveal": {
      "ai_tool": [
        [
          {
            "node": "Step 3: Retrieval",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "If hallucinations present": {
      "main": [
        [
          {
            "node": "Step 6: Fixing Hallucinations",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Set Output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Think Tool Prioritization": {
      "ai_tool": [
        [
          {
            "node": "Step 2: Prioritization",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Instagram Profile Scraper1": {
      "ai_tool": [
        [
          {
            "node": "Step 3: Retrieval",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Search Open Paws Database2": {
      "ai_tool": [
        [
          {
            "node": "Step 1: Discovery",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Prepare research input fields": {
      "main": [
        [
          {
            "node": "Create a profile",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Step 6: Fixing Hallucinations": {
      "main": [
        [
          {
            "node": "If Empty Output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait before next research step": {
      "main": [
        [
          {
            "node": "Get a profile",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Linkedin Person and Company Scraper1": {
      "ai_tool": [
        [
          {
            "node": "Step 3: Retrieval",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Trigger individual research (Webhook)": {
      "main": [
        [
          {
            "node": "Prepare research input fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Trigger individual research from another workflow": {
      "main": [
        [
          {
            "node": "Prepare research input fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}