{
  "openruna_format": "flow-graph-v1",
  "title": "1841_Telegram_Manual_Automate_Triggered",
  "slug": "1841-telegram-manual-automate-triggered",
  "source_filename": "1841_Telegram_Manual_Automate_Triggered.json",
  "nodes": [
    {
      "id": "Gmail Get Email",
      "name": "Gmail Get Email",
      "integration": "gmail",
      "kind": "action"
    },
    {
      "id": "When clicking ‘Test workflow’",
      "name": "When clicking ‘Test workflow’",
      "integration": "manual",
      "kind": "trigger"
    },
    {
      "id": "Google Gemini Chat Model",
      "name": "Google Gemini Chat Model",
      "integration": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "kind": "action"
    },
    {
      "id": "GmailDeleteEmail",
      "name": "GmailDeleteEmail",
      "integration": "gmail",
      "kind": "action"
    },
    {
      "id": "AI Check Email",
      "name": "AI Check Email",
      "integration": "@n8n/n8n-nodes-langchain.agent",
      "kind": "action"
    },
    {
      "id": "Unwanted Email Output Parser",
      "name": "Unwanted Email Output Parser",
      "integration": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "kind": "action"
    },
    {
      "id": "If Unwanted Marketing or Spam",
      "name": "If Unwanted Marketing or Spam",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Telegram Sent Email Deleted Notification",
      "name": "Telegram Sent Email Deleted Notification",
      "integration": "telegram",
      "kind": "action"
    },
    {
      "id": "Telegram Sent Email Not Deleted Notification",
      "name": "Telegram Sent Email Not Deleted Notification",
      "integration": "telegram",
      "kind": "action"
    },
    {
      "id": "Telegram Sent AI Error Notification",
      "name": "Telegram Sent AI Error Notification",
      "integration": "telegram",
      "kind": "action"
    },
    {
      "id": "Telegram Sent Delete Email Failed Notification",
      "name": "Telegram Sent Delete Email Failed Notification",
      "integration": "telegram",
      "kind": "action"
    },
    {
      "id": "Success",
      "name": "Success",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "Increment Loop Var",
      "name": "Increment Loop Var",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Forward Prev Page Num",
      "name": "Forward Prev Page Num",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Initialize Loop Vars",
      "name": "Initialize Loop Vars",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Aggregate",
      "name": "Aggregate",
      "integration": "aggregate",
      "kind": "logic"
    },
    {
      "id": "Gmail",
      "name": "Gmail",
      "integration": "gmail",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "Gmail",
      "to": "Telegram Sent Email Not Deleted Notification"
    },
    {
      "from": "Success",
      "to": "Aggregate"
    },
    {
      "from": "Aggregate",
      "to": "Forward Prev Page Num"
    },
    {
      "from": "AI Check Email",
      "to": "If Unwanted Marketing or Spam"
    },
    {
      "from": "AI Check Email",
      "to": "Telegram Sent AI Error Notification"
    },
    {
      "from": "Gmail Get Email",
      "to": "AI Check Email"
    },
    {
      "from": "GmailDeleteEmail",
      "to": "Telegram Sent Email Deleted Notification"
    },
    {
      "from": "GmailDeleteEmail",
      "to": "Telegram Sent Delete Email Failed Notification"
    },
    {
      "from": "Increment Loop Var",
      "to": "Gmail Get Email"
    },
    {
      "from": "Initialize Loop Vars",
      "to": "Increment Loop Var"
    },
    {
      "from": "Forward Prev Page Num",
      "to": "Initialize Loop Vars"
    },
    {
      "from": "If Unwanted Marketing or Spam",
      "to": "GmailDeleteEmail"
    },
    {
      "from": "If Unwanted Marketing or Spam",
      "to": "Gmail"
    },
    {
      "from": "When clicking ‘Test workflow’",
      "to": "Initialize Loop Vars"
    },
    {
      "from": "Telegram Sent AI Error Notification",
      "to": "Success"
    },
    {
      "from": "Telegram Sent AI Error Notification",
      "to": "Success"
    },
    {
      "from": "Telegram Sent Email Deleted Notification",
      "to": "Success"
    },
    {
      "from": "Telegram Sent Email Deleted Notification",
      "to": "Success"
    },
    {
      "from": "Telegram Sent Email Not Deleted Notification",
      "to": "Success"
    },
    {
      "from": "Telegram Sent Email Not Deleted Notification",
      "to": "Success"
    },
    {
      "from": "Telegram Sent Delete Email Failed Notification",
      "to": "Success"
    },
    {
      "from": "Telegram Sent Delete Email Failed Notification",
      "to": "Success"
    }
  ]
}