{
  "name": "Monitor AI research papers with Gemini-powered filtering and email summaries",
  "nodes": [
    {
      "id": "73958f40-4cd5-4f03-8114-934d5ce12545",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        16,
        368
      ]
    },
    {
      "id": "0aa97c0c-ad06-4b25-bedb-227841397983",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        208,
        368
      ]
    },
    {
      "id": "ebedeb64-aef7-462c-9915-75af9188e6f7",
      "name": "Google Gemini Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        912,
        544
      ]
    },
    {
      "id": "6a341ed5-dc00-4333-9ecb-b478784e51bb",
      "name": "Structured Output Parser1",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1088,
        544
      ]
    },
    {
      "id": "55603a10-5b27-4d3a-9105-689bb566ca03",
      "name": "Send email",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        1936,
        208
      ]
    },
    {
      "id": "48093df1-3cef-40ae-bf47-545c028779d4",
      "name": "Stop and Error",
      "type": "n8n-nodes-base.stopAndError",
      "position": [
        832,
        -160
      ]
    },
    {
      "id": "8268b7b1-0d3d-4d4d-9e09-c530d43337ec",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -160,
        -144
      ]
    },
    {
      "id": "83940444-dfd1-4b27-877e-eefa48d22d2f",
      "name": "Construct API query",
      "type": "n8n-nodes-base.code",
      "position": [
        32,
        -144
      ]
    },
    {
      "id": "b83696cc-cdd6-4f8a-a6d8-1d63751c2cdd",
      "name": "Get ArXiv Paper Data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        224,
        -144
      ]
    },
    {
      "id": "40fb033c-4a6c-4918-a186-05c638d86221",
      "name": "Convert XML Feed",
      "type": "n8n-nodes-base.xml",
      "position": [
        416,
        -144
      ]
    },
    {
      "id": "dcbf25e3-cf31-4f65-b8be-206a7b6ad288",
      "name": "Check Paper Availability",
      "type": "n8n-nodes-base.switch",
      "position": [
        624,
        -144
      ]
    },
    {
      "id": "a7b9bad7-e6d5-4828-ae2a-3c7d81f075b5",
      "name": "Paper Relevance Analyzer",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        48,
        192
      ]
    },
    {
      "id": "0764599c-9af8-409c-bf6f-9f823dbcd44f",
      "name": "Split Data Fragments",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        384,
        192
      ]
    },
    {
      "id": "a394aa60-bae7-4d73-b05e-22aabbf36442",
      "name": "Paper Summarizer",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        704,
        352
      ]
    },
    {
      "id": "dc5c97cd-4461-4d1e-aa9d-3a7261d5eb8c",
      "name": "Summary Formatter",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        928,
        352
      ]
    },
    {
      "id": "8f216c72-2bf3-400a-8b18-1151b88d11c9",
      "name": "Merge Paper Data with Summaries",
      "type": "n8n-nodes-base.merge",
      "position": [
        1408,
        208
      ]
    },
    {
      "id": "1fb697a0-74d1-432f-a743-3e0e484e4b2d",
      "name": "Create Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1584,
        208
      ]
    },
    {
      "id": "431bad28-c5b2-4653-91e0-77284b780c54",
      "name": "Create HTML Template",
      "type": "n8n-nodes-base.code",
      "position": [
        1760,
        208
      ]
    },
    {
      "id": "bbbfcf56-19da-44f6-bf73-b23aca8e3ba4",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -240,
        -288
      ],
      "parameters": {
        "width": 1248,
        "height": 384,
        "content": "## Get Paper Data from ArXiv\n- Retrieve Paper Titles and Abstracts for the current day\n- Only schedules from Tuesday to Friday, as no uploads during the weekend\n- Workflow will stop if no paper data i"
      }
    },
    {
      "id": "f646aba2-529c-4129-842c-9c5d47c187e3",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -240,
        128
      ],
      "parameters": {
        "width": 784,
        "height": 480,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## Extract paper data and analyze paper relevance via LLM Call"
      }
    },
    {
      "id": "bcdc8c1a-2401-4921-bb0c-f406458dafc2",
      "name": "Extract Relevant Data",
      "type": "n8n-nodes-base.code",
      "position": [
        -144,
        192
      ]
    },
    {
      "id": "390eb4a5-d573-46cf-b21e-9824422a265f",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        608,
        288
      ],
      "parameters": {
        "width": 656,
        "height": 448,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## Summarize & structure summary output via LLM calls"
      }
    },
    {
      "id": "7b08581f-ee25-4aa8-8eab-033201190697",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1312,
        112
      ],
      "parameters": {
        "width": 816,
        "height": 304,
        "content": "## Create output format and send via Email"
      }
    }
  ],
  "connections": {
    "Send email": {
      "main": [
        []
      ]
    },
    "Convert XML Feed": {
      "main": [
        [
          {
            "node": "Check Paper Availability",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Aggregate": {
      "main": [
        [
          {
            "node": "Create HTML Template",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Paper Summarizer": {
      "main": [
        [
          {
            "node": "Summary Formatter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Construct API query",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Summary Formatter": {
      "main": [
        [
          {
            "node": "Merge Paper Data with Summaries",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Construct API query": {
      "main": [
        [
          {
            "node": "Get ArXiv Paper Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create HTML Template": {
      "main": [
        [
          {
            "node": "Send email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get ArXiv Paper Data": {
      "main": [
        [
          {
            "node": "Convert XML Feed",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Data Fragments": {
      "main": [
        [
          {
            "node": "Merge Paper Data with Summaries",
            "type": "main",
            "index": 0
          },
          {
            "node": "Paper Summarizer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Relevant Data": {
      "main": [
        [
          {
            "node": "Paper Relevance Analyzer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Paper Availability": {
      "main": [
        [
          {
            "node": "Stop and Error",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Extract Relevant Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Paper Relevance Analyzer",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Paper Relevance Analyzer": {
      "main": [
        [
          {
            "node": "Split Data Fragments",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Paper Relevance Analyzer",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Summary Formatter",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser1": {
      "ai_outputParser": [
        [
          {
            "node": "Summary Formatter",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Merge Paper Data with Summaries": {
      "main": [
        [
          {
            "node": "Create Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}