{
  "name": "Monitor lead response time SLA breaches with Google Sheets & Telegram alerts",
  "nodes": [
    {
      "id": "fa7fabe9-ef90-43ec-be27-967d0c799f66",
      "name": "Every 5 Minutes",
      "type": "n8n-nodes-base.cron",
      "position": [
        -1456,
        112
      ]
    },
    {
      "id": "2d70b5ab-2d7d-42ae-a29f-bfe28e8755f2",
      "name": "SLA Breach Check",
      "type": "n8n-nodes-base.if",
      "position": [
        -976,
        112
      ]
    },
    {
      "id": "d3ba740b-efee-4bf5-bdb1-f7e84925460b",
      "name": "Get row(s) in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -1216,
        112
      ]
    },
    {
      "id": "66afc02d-a12f-4db6-9528-3cf5b621ee1e",
      "name": "Send a text message",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -432,
        96
      ]
    },
    {
      "id": "3dda9d02-7920-432e-bf43-ecaa8a8a94ab",
      "name": "Code1",
      "type": "n8n-nodes-base.code",
      "position": [
        -688,
        96
      ]
    },
    {
      "id": "9d5033e4-5b03-4c86-985e-d686f48bf030",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -464,
        272
      ],
      "parameters": {
        "width": null,
        "height": 192,
        "content": "This node sends a Telegram notification whenever an SLA breach is detected. The message includes the lead’s personal details and a clickable Google Sheet link. This helps the team act fast, preventing"
      }
    },
    {
      "id": "e8113032-96c0-4fd5-9a24-e8ee72fb19c6",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -752,
        -112
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": "This node enriches the output by adding a direct link to the Google Sheet row. This ensures that when the alert is sent, the recipient can quickly open the sheet and view all the lead details in one c"
      }
    },
    {
      "id": "2b731ed5-8d37-4df6-b708-9db6f105a36c",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1040,
        272
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": "This node applies the condition to filter leads that remain “Unreplied” for more than 15 minutes. If the condition is true, it passes them to the next step for escalation."
      }
    },
    {
      "id": "3f2dd2cd-4fcc-4da2-85ae-5ba4d06ab20c",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1296,
        -96
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": "This node fetches all lead data from Google Sheets. It acts as the data source where information like lead status, contact details, and timestamps are retrieved and passed forward."
      }
    }
  ],
  "connections": {
    "Code1": {
      "main": [
        [
          {
            "node": "Send a text message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Every 5 Minutes": {
      "main": [
        [
          {
            "node": "Get row(s) in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SLA Breach Check": {
      "main": [
        [
          {
            "node": "Code1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get row(s) in sheet": {
      "main": [
        [
          {
            "node": "SLA Breach Check",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send a text message": {
      "main": [
        []
      ]
    }
  }
}