{
  "name": "Daily Google Tasks briefing in Slack with Ollama-powered summaries",
  "nodes": [
    {
      "id": "3ffa1295-e39b-4610-9f65-3512e48e04a4",
      "name": "Code (Build LLM Prompt)",
      "type": "n8n-nodes-base.code",
      "position": [
        720,
        432
      ]
    },
    {
      "id": "482aa3f0-0adc-41ad-8109-35e5c44be974",
      "name": "Get many tasks",
      "type": "n8n-nodes-base.googleTasks",
      "position": [
        -176,
        672
      ]
    },
    {
      "id": "5f38a733-4ea4-48a5-9d51-a310b20a2399",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        256,
        672
      ]
    },
    {
      "id": "0b43a198-7f5b-4832-961c-b141f098382d",
      "name": "Basic LLM Chain1",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        928,
        432
      ]
    },
    {
      "id": "9e33de10-085c-4658-9bc2-cff7aa5d0a5d",
      "name": "Ollama Model1",
      "type": "@n8n/n8n-nodes-langchain.lmOllama",
      "position": [
        736,
        672
      ]
    },
    {
      "id": "c8f712cd-3810-4bf1-98cb-8deba4dee8b7",
      "name": "Send a message1",
      "type": "n8n-nodes-base.slack",
      "position": [
        1344,
        656
      ]
    },
    {
      "id": "82d65a9d-f437-4739-aa71-df8c25f0a930",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        992,
        656
      ]
    },
    {
      "id": "fb99dd91-1b64-4ef5-9c1c-1ec840a732e1",
      "name": "Code (Filter Due Today)",
      "type": "n8n-nodes-base.code",
      "position": [
        64,
        672
      ]
    },
    {
      "id": "aaccef83-3d04-4d61-ab2d-3177003e85cf",
      "name": "Slack1",
      "type": "n8n-nodes-base.slack",
      "position": [
        464,
        688
      ]
    },
    {
      "id": "567f37f5-2267-4576-ba02-1385fe9ad4a4",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -320,
        336
      ],
      "parameters": {
        "width": 304,
        "height": 512,
        "content": "## Scheduled Trigger\nEvery Morning at 7 AM Fetch all the tasks"
      }
    },
    {
      "id": "a7560047-6b24-46ae-a7cf-4315b32d19fe",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        16,
        560
      ],
      "parameters": {
        "width": 576,
        "height": 288,
        "content": "## Filter Tasks\nSend tasks due today to LLM or notify user that there are no tasks scheduled today"
      }
    },
    {
      "id": "f10cdca4-b703-4606-812c-8e2a823779dc",
      "name": "Trigger at Morning",
      "type": "n8n-nodes-base.cron",
      "position": [
        -224,
        448
      ]
    },
    {
      "id": "ad6b3cde-4e0b-44d4-aca5-03b51356a3da",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        624,
        336
      ],
      "parameters": {
        "width": 608,
        "height": 512,
        "content": "## Process Tasks Briefing\nProduce a solid briefing for the user with LLM and clean the output removing the Think tags"
      }
    },
    {
      "id": "6d980e56-2085-4ddb-bce6-f2d1601c0446",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1264,
        560
      ],
      "parameters": {
        "width": 320,
        "height": 288,
        "content": "## Notify in Slack\nSend the task briefing as a slack message"
      }
    },
    {
      "id": "ddedc07a-1434-45f9-acf8-b1c8d41ef3e1",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -896,
        -384
      ],
      "parameters": {
        "width": 512,
        "height": 2016,
        "content": "## Tasks Briefing\n\nThis template posts a clean, Slack-ready **morning summary of your Google Tasks due today**. It fetches tasks, filters only those due “today” in your timezone, asks a local **LLM (v"
      }
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Code (Build LLM Prompt)",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Slack1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code": {
      "main": [
        [
          {
            "node": "Send a message1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Ollama Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Basic LLM Chain1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Get many tasks": {
      "main": [
        [
          {
            "node": "Code (Filter Due Today)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Basic LLM Chain1": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Trigger at Morning": {
      "main": [
        [
          {
            "node": "Get many tasks",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code (Build LLM Prompt)": {
      "main": [
        [
          {
            "node": "Basic LLM Chain1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code (Filter Due Today)": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}