{
  "name": "Automate vendor due diligence research with Gemini & Jina AI",
  "nodes": [
    {
      "id": "0d639cb7-a8f0-4242-b209-e688ce8347d5",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -120,
        -3740
      ],
      "parameters": {
        "width": 480,
        "height": 260,
        "content": "## | Step 2: Vendor Risk Research"
      }
    },
    {
      "id": "777a4b84-b328-4c01-b43a-bef29b1ef8e8",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -740,
        -3740
      ],
      "parameters": {
        "width": 580,
        "height": 260,
        "content": "## | Step 1: Vendor Background & Classification"
      }
    },
    {
      "id": "a267e7b6-9ddb-454b-aba0-15c8828fd46b",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1240,
        -3460
      ]
    },
    {
      "id": "594d0c74-1ae2-4831-8c39-cc39e90312d9",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1320,
        -3740
      ],
      "parameters": {
        "width": 540,
        "height": 260,
        "content": "## | INPUT: Intake Form"
      }
    },
    {
      "id": "725b0646-af7b-4aae-9fd5-4494af2b5a72",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        400,
        -3740
      ],
      "parameters": {
        "width": 980,
        "height": 800,
        "content": "## | Step 3: Vendor Linls Review & Summary\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## 🚀 Setup Requirements\n\nTo get started with this workflow, follow these steps:\n\n1. **🔑 Configure Credentials**: Set up your API credentials f"
      }
    },
    {
      "id": "29f06597-5afa-4b89-a45a-4afe1c911f02",
      "name": "Answer risk questions",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        180,
        -3660
      ]
    },
    {
      "id": "e3f6ac89-fda7-4f0c-a073-ee8c7578e041",
      "name": "Intake form",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -1240,
        -3660
      ]
    },
    {
      "id": "22421d1c-4436-4de5-85da-57c7d7f94f9b",
      "name": "Delay1: 1 second",
      "type": "n8n-nodes-base.wait",
      "position": [
        -520,
        -3660
      ]
    },
    {
      "id": "df5a13bc-e717-4bb1-9cc5-eadc9ad5f42f",
      "name": "Delay2: 1 second",
      "type": "n8n-nodes-base.wait",
      "position": [
        -40,
        -3660
      ]
    },
    {
      "id": "25ace280-8fe4-405c-a547-ca36d4baf886",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1320,
        -3420
      ],
      "parameters": {
        "width": 960,
        "height": 480,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## | Step 4: Vendor Risk Assessment"
      }
    },
    {
      "id": "690c94ee-3ab2-48be-a913-8f72168cc801",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -320,
        -3420
      ],
      "parameters": {
        "width": 680,
        "height": 480,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## | Step 5 - Export Results"
      }
    },
    {
      "id": "fc9c0965-1012-4e7d-b682-bae874c3ee27",
      "name": "Build Research Prompts",
      "type": "n8n-nodes-base.set",
      "position": [
        -980,
        -3660
      ]
    },
    {
      "id": "8e210a6c-120b-4912-a164-db4a9a6ec4e4",
      "name": "Research Company Background",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -700,
        -3660
      ]
    },
    {
      "id": "aafd0eb9-5a1c-4261-9831-3950eda71cbd",
      "name": "Gemini - Risk Assessment",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -560,
        -3120
      ]
    },
    {
      "id": "9c70972b-958e-435d-b2a6-97394131b907",
      "name": "Gemini - Link Summarizer",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        1040,
        -3460
      ]
    },
    {
      "id": "e7eefa82-940f-4603-91b6-d013ed4dbe5b",
      "name": "Extract Reference URLs",
      "type": "n8n-nodes-base.code",
      "position": [
        480,
        -3660
      ]
    },
    {
      "id": "737c24ce-0618-41ac-bf8f-f9e96581631a",
      "name": "Fetch Web Content",
      "type": "n8n-nodes-base.jinaAi",
      "position": [
        880,
        -3680
      ]
    },
    {
      "id": "a7482557-743c-4779-8e7e-bc58c57bf1d4",
      "name": "Summarize Web Content",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1040,
        -3680
      ]
    },
    {
      "id": "fb637cbe-1d9f-4212-ac36-dd84d9b32975",
      "name": "Validate URL Extraction",
      "type": "n8n-nodes-base.if",
      "position": [
        660,
        -3660
      ]
    },
    {
      "id": "611a9e07-427e-4174-9397-32f4b70f3f66",
      "name": "Determine Vendor Classification",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -300,
        -3660
      ]
    },
    {
      "id": "574056af-a3e1-4773-9269-70ca49d8aa34",
      "name": "Calculate Risk Score",
      "type": "@n8n/n8n-nodes-langchain.informationExtractor",
      "position": [
        -660,
        -3340
      ]
    },
    {
      "id": "2df5075b-3821-4664-84f1-953ac823e105",
      "name": "Handle No URLs Found",
      "type": "n8n-nodes-base.set",
      "position": [
        -1240,
        -3340
      ]
    },
    {
      "id": "605f7937-2ff2-4d96-9519-0f42ef40a9a5",
      "name": "Merge Content Data",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        -1040,
        -3340
      ]
    },
    {
      "id": "76249732-c833-4c4b-a104-181407c7d0a5",
      "name": "Sanatize URL Data",
      "type": "n8n-nodes-base.code",
      "position": [
        -840,
        -3340
      ]
    },
    {
      "id": "375c9dbd-e3d9-43f9-b0a5-e4d8da4c7f91",
      "name": "Format Assessment Results",
      "type": "n8n-nodes-base.code",
      "position": [
        -260,
        -3340
      ]
    },
    {
      "id": "41c49d8c-8389-471b-bff2-58d79e6f203b",
      "name": "Export to Google Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -60,
        -3340
      ]
    },
    {
      "id": "e05334ad-f22a-4557-be74-dcb44c785bb5",
      "name": "Display Assessment Summary",
      "type": "n8n-nodes-base.form",
      "position": [
        140,
        -3340
      ]
    }
  ],
  "connections": {
    "Intake form": {
      "main": [
        [
          {
            "node": "Build Research Prompts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Delay1: 1 second": {
      "main": [
        [
          {
            "node": "Determine Vendor Classification",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Delay2: 1 second": {
      "main": [
        [
          {
            "node": "Answer risk questions",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Web Content": {
      "main": [
        [
          {
            "node": "Summarize Web Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Sanatize URL Data": {
      "main": [
        [
          {
            "node": "Calculate Risk Score",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge Content Data": {
      "main": [
        [
          {
            "node": "Sanatize URL Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Calculate Risk Score": {
      "main": [
        [
          {
            "node": "Format Assessment Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Handle No URLs Found": {
      "main": [
        [
          {
            "node": "Merge Content Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Answer risk questions": {
      "main": [
        [
          {
            "node": "Extract Reference URLs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Summarize Web Content": {
      "main": [
        [
          {
            "node": "Merge Content Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build Research Prompts": {
      "main": [
        [
          {
            "node": "Research Company Background",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Export to Google Sheet": {
      "main": [
        [
          {
            "node": "Display Assessment Summary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Reference URLs": {
      "main": [
        [
          {
            "node": "Validate URL Extraction",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Validate URL Extraction": {
      "main": [
        [
          {
            "node": "Fetch Web Content",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Handle No URLs Found",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gemini - Link Summarizer": {
      "ai_languageModel": [
        [
          {
            "node": "Summarize Web Content",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Gemini - Risk Assessment": {
      "ai_languageModel": [
        [
          {
            "node": "Calculate Risk Score",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Summarize Web Content",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Format Assessment Results": {
      "main": [
        [
          {
            "node": "Export to Google Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Research Company Background": {
      "main": [
        [
          {
            "node": "Delay1: 1 second",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Determine Vendor Classification": {
      "main": [
        [
          {
            "node": "Delay2: 1 second",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}