{
  "name": "Personalized evening wind-down system with mood tracking via Telegram, Notion & Email",
  "nodes": [
    {
      "id": null,
      "name": "Note: Overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -200,
        -260
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": null,
      "name": "Note: Setup",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -200,
        -120
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": null,
      "name": "Note: Compliance",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -200,
        20
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": null,
      "name": "Set: User Config (Cron Path)",
      "type": "n8n-nodes-base.set",
      "position": [
        80,
        -220
      ]
    },
    {
      "id": null,
      "name": "Cron: 9PM Daily",
      "type": "n8n-nodes-base.cron",
      "position": [
        -80,
        -220
      ]
    },
    {
      "id": null,
      "name": "Telegram: Ask Mood",
      "type": "n8n-nodes-base.telegram",
      "position": [
        300,
        -220
      ]
    },
    {
      "id": null,
      "name": "Telegram Trigger: Button Tap",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -80,
        220
      ]
    },
    {
      "id": null,
      "name": "Set: User Config (Trigger Path)",
      "type": "n8n-nodes-base.set",
      "position": [
        120,
        220
      ]
    },
    {
      "id": null,
      "name": "Set: Mood Parse",
      "type": "n8n-nodes-base.set",
      "position": [
        320,
        220
      ]
    },
    {
      "id": null,
      "name": "IF: Tired?",
      "type": "n8n-nodes-base.if",
      "position": [
        540,
        220
      ]
    },
    {
      "id": null,
      "name": "Telegram: Send Meditation",
      "type": "n8n-nodes-base.telegram",
      "position": [
        760,
        100
      ]
    },
    {
      "id": null,
      "name": "GPT: Reflection Prompt (optional)",
      "type": "n8n-nodes-base.openAi",
      "position": [
        980,
        100
      ]
    },
    {
      "id": null,
      "name": "IF: GPT Enabled?",
      "type": "n8n-nodes-base.if",
      "position": [
        1200,
        100
      ]
    },
    {
      "id": null,
      "name": "Set: Notion Entry (Tired)",
      "type": "n8n-nodes-base.set",
      "position": [
        1420,
        20
      ]
    },
    {
      "id": null,
      "name": "Code: Pick Affirmation",
      "type": "n8n-nodes-base.code",
      "position": [
        1200,
        220
      ]
    },
    {
      "id": null,
      "name": "Notion: Log Entry (Tired)",
      "type": "n8n-nodes-base.notion",
      "position": [
        1640,
        20
      ]
    },
    {
      "id": null,
      "name": "Email: Goodnight (Tired)",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        1860,
        20
      ]
    },
    {
      "id": null,
      "name": "Telegram: Celebrate Win",
      "type": "n8n-nodes-base.telegram",
      "position": [
        760,
        360
      ]
    },
    {
      "id": null,
      "name": "Code: Pick Affirmation (Great)",
      "type": "n8n-nodes-base.code",
      "position": [
        980,
        360
      ]
    },
    {
      "id": null,
      "name": "Set: Notion Entry (Great)",
      "type": "n8n-nodes-base.set",
      "position": [
        1200,
        360
      ]
    },
    {
      "id": null,
      "name": "Notion: Log Entry (Great)",
      "type": "n8n-nodes-base.notion",
      "position": [
        1420,
        360
      ]
    },
    {
      "id": null,
      "name": "Email: Goodnight (Great)",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        1640,
        360
      ]
    }
  ],
  "connections": {
    "IF: Tired?": {
      "main": [
        [
          {
            "node": "Telegram: Send Meditation",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Telegram: Celebrate Win",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Cron: 9PM Daily": {
      "main": [
        [
          {
            "node": "Set: User Config (Cron Path)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set: Mood Parse": {
      "main": [
        [
          {
            "node": "IF: Tired?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IF: GPT Enabled?": {
      "main": [
        [
          {
            "node": "Set: Notion Entry (Tired)",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Set: Notion Entry (Tired)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code: Pick Affirmation": {
      "main": [
        [
          {
            "node": "GPT: Reflection Prompt (optional)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram: Celebrate Win": {
      "main": [
        [
          {
            "node": "Code: Pick Affirmation (Great)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IF: GPT Enabled?@main->0": {},
    "Notion: Log Entry (Great)": {
      "main": [
        [
          {
            "node": "Email: Goodnight (Great)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Notion: Log Entry (Tired)": {
      "main": [
        [
          {
            "node": "Email: Goodnight (Tired)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set: Notion Entry (Great)": {
      "main": [
        [
          {
            "node": "Notion: Log Entry (Great)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set: Notion Entry (Tired)": {
      "main": [
        [
          {
            "node": "Notion: Log Entry (Tired)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram: Send Meditation": {
      "main": [
        [
          {
            "node": "GPT: Reflection Prompt (optional)",
            "type": "main",
            "index": 0
          },
          {
            "node": "Code: Pick Affirmation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set: User Config (Cron Path)": {
      "main": [
        [
          {
            "node": "Telegram: Ask Mood",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger: Button Tap": {
      "main": [
        [
          {
            "node": "Set: User Config (Trigger Path)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code: Pick Affirmation (Great)": {
      "main": [
        [
          {
            "node": "Set: Notion Entry (Great)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set: User Config (Trigger Path)": {
      "main": [
        [
          {
            "node": "Set: Mood Parse",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GPT: Reflection Prompt (optional)": {
      "main": [
        [
          {
            "node": "IF: GPT Enabled?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}