{
  "name": "Send Jira task notifications to Telegram user via Bot",
  "nodes": [
    {
      "id": "e10615ff-41dc-4ea6-981a-d8e949e2e386",
      "name": "telegram account",
      "type": "n8n-nodes-base.code",
      "position": [
        -220,
        0
      ]
    },
    {
      "id": "a0effbdb-8f99-4248-9a98-aba34ff67690",
      "name": "check tg account exists",
      "type": "n8n-nodes-base.if",
      "position": [
        40,
        120
      ]
    },
    {
      "id": "71d58c37-9934-4b10-8aed-d66175a1bc3a",
      "name": "check type",
      "type": "n8n-nodes-base.switch",
      "position": [
        300,
        0
      ]
    },
    {
      "id": "251f6e9b-439a-46f6-bb7d-be04e722a494",
      "name": "Send Update",
      "type": "n8n-nodes-base.telegram",
      "position": [
        580,
        0
      ]
    },
    {
      "id": "8efbed55-8642-440c-9ec7-8b93256a27f5",
      "name": "Send Create",
      "type": "n8n-nodes-base.telegram",
      "position": [
        580,
        -180
      ]
    },
    {
      "id": "9c2889e7-7c9c-490c-8293-fed3c255f086",
      "name": "Send Assign Alert",
      "type": "n8n-nodes-base.telegram",
      "position": [
        580,
        180
      ]
    },
    {
      "id": "f660857d-ff24-4c08-bb13-e2461da950d6",
      "name": "check issue body, assignee and hook type",
      "type": "n8n-nodes-base.if",
      "position": [
        -480,
        120
      ]
    },
    {
      "id": "6ed72f04-7b15-4fb4-8699-0691beac69c0",
      "name": "jira-webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -740,
        0
      ]
    }
  ],
  "connections": {
    "check type": {
      "main": [
        [
          {
            "node": "Send Create",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Send Update",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Send Assign Alert",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "jira-webhook": {
      "main": [
        [
          {
            "node": "check issue body, assignee and hook type",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "telegram account": {
      "main": [
        [
          {
            "node": "check tg account exists",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "check tg account exists": {
      "main": [
        [
          {
            "node": "check type",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "check issue body, assignee and hook type": {
      "main": [
        [
          {
            "node": "telegram account",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}