{
  "name": "Telegram user registration workflow",
  "nodes": [
    {
      "id": "b1ed4be7-c126-48f8-88d6-0b259f964f14",
      "name": "Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        380,
        240
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "78854242-2668-4eb8-b6da-8ec0e1651845",
      "name": "Trigger Start",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        420,
        860
      ]
    },
    {
      "id": "00a0b352-c773-4138-a7b3-8920b6133db1",
      "name": "Trigger_Data",
      "type": "n8n-nodes-base.set",
      "position": [
        580,
        860
      ]
    },
    {
      "id": "597c5410-599a-4be5-8e31-a4921e298f31",
      "name": "Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        380,
        780
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "8cc446b7-c6d8-460b-96d5-d461567dbdfd",
      "name": "Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1560,
        780
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "4ad63cc5-15f3-43a1-8a31-d49ffc45a5a7",
      "name": "Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        860,
        780
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "0aba631e-50a0-435e-b2c3-ef445402e65f",
      "name": "Find User",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        900,
        860
      ]
    },
    {
      "id": "debb258f-9c1b-4a7f-a04b-7616b46f425e",
      "name": "Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1380,
        1200
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "0972e590-2db8-4199-9803-4a295555394f",
      "name": "Data to Save",
      "type": "n8n-nodes-base.set",
      "position": [
        1040,
        860
      ]
    },
    {
      "id": "dbd93fe7-07fa-4f24-ad69-3054efa68519",
      "name": "Write to Data Base",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1660,
        840
      ]
    },
    {
      "id": "ac26bac6-ac05-431b-b542-398933bb20d4",
      "name": "Welcome message",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1860,
        840
      ]
    },
    {
      "id": "79d81534-f016-4bb6-8631-69484bbd0ff9",
      "name": "Welcome back",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1600,
        1280
      ]
    },
    {
      "id": "ae302ba0-1802-465d-849a-08d371a3013b",
      "name": "New?",
      "type": "n8n-nodes-base.if",
      "position": [
        1180,
        860
      ]
    },
    {
      "id": "25708e4e-f941-4911-8c4e-af9aafa92027",
      "name": "Update status",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1440,
        1280
      ]
    },
    {
      "id": "e4ab92b1-2b03-40ef-ad34-064bad8108a6",
      "name": "Data Example",
      "type": "n8n-nodes-base.set",
      "position": [
        400,
        500
      ]
    }
  ],
  "connections": {
    "New?": {
      "main": [
        [
          {
            "node": "Write to Data Base",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Update status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Find User": {
      "main": [
        [
          {
            "node": "Data to Save",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Data to Save": {
      "main": [
        [
          {
            "node": "New?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Trigger_Data": {
      "main": [
        [
          {
            "node": "Find User",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Trigger Start": {
      "main": [
        [
          {
            "node": "Trigger_Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update status": {
      "main": [
        [
          {
            "node": "Welcome back",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Write to Data Base": {
      "main": [
        [
          {
            "node": "Welcome message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}