{
  "name": "Generate automated daily email digests with Gmail and GPT-3.5 via OpenRouter",
  "nodes": [
    {
      "id": "46d63134-365b-4bc5-a657-e0a3743f5cf7",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        640,
        352
      ]
    },
    {
      "id": "6c1b4568-6665-44d1-b6bc-6bdd846cdd69",
      "name": "Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1280,
        352
      ]
    },
    {
      "id": "5f7ac7f7-a583-411f-8868-f6f0f94a053d",
      "name": "OpenRouter Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        1504,
        512
      ]
    },
    {
      "id": "35906c87-a40f-4813-be44-8176c841dcfa",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "width": 2080,
        "height": 800,
        "content": "## Daily Email Digest - Workflow Overview\nThis workflow automates sending a daily summary email digest based on Gmail messages matching a specific query.\n\n## How it works:\n- Schedule Trigger fires eve"
      }
    },
    {
      "id": "1c67630d-b1a1-49b6-bf3e-296671ea69d3",
      "name": "Fetch Email Which is Unread",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1072,
        352
      ]
    },
    {
      "id": "490e099b-77af-4fdc-8b0f-6119e8858cda",
      "name": "Summary",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1504,
        352
      ]
    },
    {
      "id": "c5895989-9d5f-4337-b5fb-83abeb05be8e",
      "name": "Send A email of Summary",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1872,
        352
      ]
    },
    {
      "id": "ae322ead-35fd-458e-ba37-263ee2f37e32",
      "name": "Fetch Yeasterday's Date",
      "type": "n8n-nodes-base.code",
      "position": [
        848,
        352
      ]
    }
  ],
  "connections": {
    "Summary": {
      "main": [
        [
          {
            "node": "Send A email of Summary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "Summary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Fetch Yeasterday's Date",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Summary",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Yeasterday's Date": {
      "main": [
        [
          {
            "node": "Fetch Email Which is Unread",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Email Which is Unread": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}