{
  "name": "Automated daily news summaries with OpenRouter AI & Gmail delivery",
  "nodes": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        224,
        304
      ]
    },
    {
      "id": "note1-2345-6789-abcd-ef1234567890",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        208,
        -16
      ],
      "parameters": {
        "width": 320,
        "height": 280,
        "content": "## Daily AI News Summary to Gmail\nThis workflow runs on a schedule to gather the latest news, summarize it using an AI agent, and deliver it as a formatted email via Gmail.\n\n**Required Setup:**\n1. Con"
      }
    },
    {
      "id": "agent123-4567-8901-2345-678901234567",
      "name": "AI News Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        704,
        304
      ]
    },
    {
      "id": "model456-7890-1234-5678-901234567890",
      "name": "OpenRouter Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        624,
        512
      ]
    },
    {
      "id": "tavily789-0123-4567-8901-234567890123",
      "name": "Tavily News Search",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        800,
        512
      ]
    },
    {
      "id": "parser012-3456-7890-1234-567890123456",
      "name": "News Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        976,
        512
      ]
    },
    {
      "id": "note2-3456-7890-1234-567890123456",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        704,
        -16
      ],
      "parameters": {
        "width": 368,
        "height": 240,
        "content": "## AI News Agent Configuration\nThe core of this workflow is the AI Agent, which is configured to:\n- Search for news across key topics (Tech, Business, World Events, etc.).\n- Use the **Tavily API** for"
      }
    },
    {
      "id": "code345-6789-0123-4567-890123456789",
      "name": "Prepare News Query",
      "type": "n8n-nodes-base.code",
      "position": [
        464,
        304
      ]
    },
    {
      "id": "note3-4567-8901-2345-678901234567",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1152,
        -16
      ],
      "parameters": {
        "width": 336,
        "height": 272,
        "content": "## Gmail Delivery Setup\n**Required Configuration:**\n1. Add your **Gmail OAuth2 credentials** to the final node.\n2. Set the recipient's email address in the \"Send a message\" node.\n3. The \"Format for Gm"
      }
    },
    {
      "id": "675a14e9-0472-42f5-8828-6dceb7547dbe",
      "name": "Send a message",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1344,
        304
      ]
    },
    {
      "id": "format901-2345-6789-0123-456789012345",
      "name": "Format for Gmail",
      "type": "n8n-nodes-base.code",
      "position": [
        1088,
        304
      ]
    }
  ],
  "connections": {
    "AI News Agent": {
      "main": [
        [
          {
            "node": "Format for Gmail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format for Gmail": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Prepare News Query",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "News Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "AI News Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Prepare News Query": {
      "main": [
        [
          {
            "node": "AI News Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Tavily News Search": {
      "ai_tool": [
        [
          {
            "node": "AI News Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI News Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}