{
  "name": "Multi-tool research agent for animal advocacy with OpenRouter, Serper & Open Paws DB",
  "nodes": [
    {
      "id": "02b995de-4739-4c8a-9f2f-152f4a8656d6",
      "name": "Serper API",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        -1060,
        560
      ]
    },
    {
      "id": "b625669a-961a-4170-802b-42f75ea0d8cf",
      "name": "OpenRouter Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        -1560,
        560
      ]
    },
    {
      "id": "2d88ad3b-b3d4-454a-97f4-8370f0704884",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -840,
        200
      ]
    },
    {
      "id": "375ca21b-5a5c-4cb0-8f51-45616cf9f1ce",
      "name": "Database Retrieval",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        -260,
        560
      ]
    },
    {
      "id": "bc40426c-f42c-406a-a89d-75a148a2f2e1",
      "name": "When Executed by Another Workflow",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        -1600,
        260
      ]
    },
    {
      "id": "71a5d7be-fac3-44cc-a797-ef3561e08ec2",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -1600,
        100
      ]
    },
    {
      "id": "b6743581-4876-43e4-a493-0abd4d269b1b",
      "name": "Think",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "position": [
        320,
        560
      ]
    },
    {
      "id": "6ae6f433-8b93-4210-a77c-a43d4e65090c",
      "name": "Email Finder",
      "type": "n8n-nodes-base.hunterTool",
      "position": [
        20,
        560
      ]
    },
    {
      "id": "a9409f05-b490-4174-b33b-11afbaf923c2",
      "name": "Email Verifier",
      "type": "n8n-nodes-base.hunterTool",
      "position": [
        160,
        560
      ]
    },
    {
      "id": "8356f0fe-90a1-4b55-9e43-28d63c171b27",
      "name": "Set Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        -1180,
        200
      ]
    },
    {
      "id": "984b3ffa-cc22-4f10-982e-9259a56b8a20",
      "name": "Web Scraper Tool",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        -1240,
        560
      ]
    },
    {
      "id": "15e9f6d7-9ffd-4b61-b1e9-7abe7188004a",
      "name": "Twitter Post Scraper",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        -580,
        560
      ]
    },
    {
      "id": "ea6b3d32-7940-446c-b771-06d60a1ef95f",
      "name": "Twitter Profile Scraper",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        -420,
        560
      ]
    },
    {
      "id": "7ce0ac0a-bc42-41ab-8c57-d6ed95abf589",
      "name": "Instagram Profile Scraper",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        -740,
        560
      ]
    },
    {
      "id": "cd6862d4-f166-4e1d-aaae-fab2011e552e",
      "name": "Linkedin Person and Company Scraper",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        -900,
        560
      ]
    },
    {
      "id": "c2cafe36-be30-44ae-b33a-742c4cdaf745",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        -440,
        200
      ]
    },
    {
      "id": "4d73d3b3-0c4e-4b49-81d5-9245ee91dd11",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -1400,
        560
      ]
    },
    {
      "id": "85e1bb7b-a5ad-4e04-acef-e03f2ae343bf",
      "name": "Fix Empty Response",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -240,
        -60
      ]
    },
    {
      "id": "15b1725b-039e-4c46-a4ef-03534b2ada72",
      "name": "OpenRouter Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        -160,
        100
      ]
    },
    {
      "id": "f8b14ca6-cbdf-4fe3-b44a-bcf8cc4a3917",
      "name": "Set Output (If Empty)",
      "type": "n8n-nodes-base.set",
      "position": [
        200,
        -60
      ]
    },
    {
      "id": "466ecf97-402f-4bd8-aad8-1f5c88652827",
      "name": "Set Output (If Not Empty)",
      "type": "n8n-nodes-base.set",
      "position": [
        200,
        220
      ]
    },
    {
      "id": "ebdbe9bf-47f9-42c4-ade4-0853d599b60b",
      "name": "Score Text",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        -120,
        560
      ]
    },
    {
      "id": "56ad85a3-0ef6-407b-a2e9-72f7870ddb96",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2260,
        -780
      ],
      "parameters": {
        "width": 560,
        "height": 1520,
        "content": "## Set Up\n\n* Upload the **[\"Score Text\" sub-workflow](https://github.com/Open-Paws/Open-Paws-Documentation/blob/main/Automation/Scoring_Text_Sub_Workflow.json)** to your n8n instance.\n\n* Get API keys "
      }
    },
    {
      "id": "0e2bdc48-1526-43dc-bff0-a78299d915ea",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1640,
        -780
      ],
      "parameters": {
        "width": 700,
        "height": 800,
        "content": "## Overview\n\nThis workflow functions as a foundational sub-agent designed to be reused across advanced and multi-agentic automations. It is the base agent used in most Open Paws workflows, enabling ot"
      }
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Fix Empty Response",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Set Output (If Not Empty)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Think": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Score Text": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Serper API": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Set Fields": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Email Finder": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Email Verifier": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Web Scraper Tool": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Database Retrieval": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Fix Empty Response": {
      "main": [
        [
          {
            "node": "Set Output (If Empty)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Twitter Post Scraper": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Fix Empty Response",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Twitter Profile Scraper": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Instagram Profile Scraper": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "Set Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When Executed by Another Workflow": {
      "main": [
        [
          {
            "node": "Set Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Linkedin Person and Company Scraper": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}