{
  "name": "Google Patents Prior Art Radar via DataToll MCP",
  "nodes": [
    {
      "parameters": {
        "content": "## Google Patents Prior Art Radar\n\nEdit the query in Patent Search. Inspect claims, publication dates and citations for the earliest matching documents.\n\nClick Execute Workflow to run the free MCP lookup. No API key is needed. All eight data sources share 20 calls per IP per rolling 24 hours.",
        "height": 340,
        "width": 440,
        "color": 4
      },
      "id": "9dee8814-ba2d-4807-9313-b203bca2d9d4",
      "name": "Sticky Note - Zero-Setup Guide",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -260,
        160
      ]
    },
    {
      "parameters": {},
      "id": "6f7bec36-3c8b-43e1-ac60-65c398fbf7f8",
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        220,
        300
      ]
    },
    {
      "parameters": {
        "jsCode": "return [{ json: {\n  \"query\": \"solid state battery\",\n  \"sort\": \"old\",\n  \"include_details\": true\n} }];"
      },
      "id": "f631f1d7-960c-4974-8ec1-b05e32acaf74",
      "name": "Patent Search",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        440,
        300
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://datatoll.app/mcp",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Accept",
              "value": "application/json"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{ JSON.stringify({ jsonrpc: '2.0', id: $itemIndex + 1, method: 'tools/call', params: { name: 'extract_google_patents_intel', arguments: $json } } ) }}",
        "options": {
          "timeout": 45000
        }
      },
      "id": "378f6580-dc06-4004-b4f8-03abcccba757",
      "name": "Call DataToll MCP (/mcp)",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        680,
        300
      ]
    },
    {
      "parameters": {
        "jsCode": "return $input.all().flatMap(({ json }) => {\n  if (json.error) throw new Error(json.error.message);\n  if (json.result.isError) throw new Error(json.result.content[0].text);\n  return json.result.structuredContent.items.map(row => ({ json: row }));\n});"
      },
      "id": "a09ffc77-d931-4d83-a1c1-0a316ebad06c",
      "name": "Patent Documents",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        940,
        300
      ]
    }
  ],
  "connections": {
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "Patent Search",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Patent Search": {
      "main": [
        [
          {
            "node": "Call DataToll MCP (/mcp)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Call DataToll MCP (/mcp)": {
      "main": [
        [
          {
            "node": "Patent Documents",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  }
}
