{
  "name": "Get actionable Gmail alerts on Telegram with OpenAI",
  "nodes": [
    {
      "id": "fc137a8e-978b-4451-8343-6f70023cd964",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -336,
        -592
      ],
      "parameters": {
        "width": 368,
        "height": 752,
        "content": "# 📬 AI Email Assistant: Get Actionable Gmail Alerts on Telegram\n\n**Flux:** Schedule (3x/jour) → Gmail → AI Analysis → Telegram\n\n### Who is this for?\nThis template is designed for **busy professionals,"
      }
    },
    {
      "id": "f32e6773-a8fe-49a3-9ef4-553e47e6f2ab",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        64,
        -592
      ],
      "parameters": {
        "width": 448,
        "height": 752,
        "content": "### What this workflow does\n- Monitors your **Gmail inbox** for new emails.\n- Uses **AI (OpenAI)** to analyze and classify each email.\n- Extracts key information such as:\n  - Urgency level  \n  - Requi"
      }
    },
    {
      "id": "6dc196c1-3d5c-4299-ad84-4fdf41450545",
      "name": "Schedule 3x Daily Check",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -336,
        368
      ]
    },
    {
      "id": "444dbdf9-049a-4c4f-8922-c7cf4bb04da5",
      "name": "Gmail – Fetch Unread Emails",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -80,
        368
      ]
    },
    {
      "id": "3167cfec-7bb3-42d8-999a-ae26bf4c8bd8",
      "name": "Unread Emails Found?",
      "type": "n8n-nodes-base.if",
      "position": [
        144,
        368
      ]
    },
    {
      "id": "1d2d4fb0-a912-477f-bcd0-db71ea2a279c",
      "name": "Prepare Email Data",
      "type": "n8n-nodes-base.code",
      "position": [
        352,
        272
      ]
    },
    {
      "id": "a79db98d-3176-406b-acb5-84d629962585",
      "name": "AI – Analyze & Classify Emails",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        544,
        272
      ]
    },
    {
      "id": "50ede624-8c42-4d7d-a371-13a0deec38d0",
      "name": "Format Telegram Alert",
      "type": "n8n-nodes-base.code",
      "position": [
        832,
        272
      ]
    },
    {
      "id": "fca71dee-65af-477d-9b2d-5595fa9f1471",
      "name": "Action Required?",
      "type": "n8n-nodes-base.if",
      "position": [
        1040,
        272
      ]
    },
    {
      "id": "bc372741-e965-4c14-831e-ca5b6b0e8c79",
      "name": "Telegram – Send Smart Summary",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1312,
        176
      ]
    }
  ],
  "connections": {
    "Action Required?": {
      "main": [
        [
          {
            "node": "Telegram – Send Smart Summary",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "Prepare Email Data": {
      "main": [
        [
          {
            "node": "AI – Analyze & Classify Emails",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Unread Emails Found?": {
      "main": [
        [
          {
            "node": "Prepare Email Data",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "Format Telegram Alert": {
      "main": [
        [
          {
            "node": "Action Required?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule 3x Daily Check": {
      "main": [
        [
          {
            "node": "Gmail – Fetch Unread Emails",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gmail – Fetch Unread Emails": {
      "main": [
        [
          {
            "node": "Unread Emails Found?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI – Analyze & Classify Emails": {
      "main": [
        [
          {
            "node": "Format Telegram Alert",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}