{
  "name": "Transcribe audio files with Google Gemini and Telegram",
  "nodes": [
    {
      "id": "37944c66-0d78-4394-ac27-726f269af495",
      "name": "Switch",
      "type": "n8n-nodes-base.switch",
      "position": [
        1660,
        -20
      ]
    },
    {
      "id": "57adc6af-843d-49bd-a959-c9a8e1689c08",
      "name": "Telegram3",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1940,
        -100
      ]
    },
    {
      "id": "3dc68aa7-8b64-4b5d-b6a8-75173e1c2a93",
      "name": "Telegram Trigger1",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        1440,
        -20
      ]
    },
    {
      "id": "dab2d354-1607-430e-a573-80638de6c4ba",
      "name": "initialize upload session",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2140,
        -220
      ]
    },
    {
      "id": "6c5aa9b7-9635-4329-8bf2-e94235a36992",
      "name": "Upload file",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2580,
        -120
      ]
    },
    {
      "id": "6069294d-bbee-4ec0-a973-4fc3bab16620",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        2380,
        -120
      ]
    },
    {
      "id": "356d0e7a-da4f-4be1-80db-2c381fb837bc",
      "name": "Ask Gemini to transcribe",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2820,
        -120
      ]
    },
    {
      "id": "bbee09bd-6dbe-4f39-a4aa-9c608d00cdeb",
      "name": "Reply in Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        3040,
        -120
      ]
    },
    {
      "id": "642dc0b5-297c-4b72-9311-d8c11b106b7c",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2300,
        -360
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "2696d81d-644d-4b16-aab4-afd53fba4c67",
      "name": "Text messages go this way",
      "type": "n8n-nodes-base.noOp",
      "position": [
        1940,
        120
      ]
    },
    {
      "id": "5fe90735-0c8d-45e6-8d96-9bce12557977",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        900,
        -240
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "79c3e98b-1880-4e8b-84de-2e53b241b4de",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        900,
        380
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "429dd7d6-5680-4c68-a448-2c1ca1dc6483",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        500,
        -80
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "c291969b-709b-4594-9ca6-fe4d150805f4",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        500,
        -240
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "1533b628-a959-46d2-bf39-42b7ac483aec",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1400,
        -240
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "05e5eeb3-c9c2-44ee-b33d-9461d1306b91",
      "name": "Read Files from Disk",
      "type": "n8n-nodes-base.readWriteFile",
      "position": [
        1680,
        380
      ]
    },
    {
      "id": "981f58ce-4e1a-411e-932b-f097137cd399",
      "name": "Download file from URL",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1880,
        380
      ]
    },
    {
      "id": "79bcb7f2-af5e-4e4e-a91c-c16a80ce77ca",
      "name": "Download file from Google Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1460,
        580
      ]
    },
    {
      "id": "5d6501fa-a53e-44b6-b14a-0d41e470eb36",
      "name": "Process every uploaded file in a folder",
      "type": "n8n-nodes-base.googleDriveTrigger",
      "position": [
        1680,
        580
      ]
    },
    {
      "id": "9bc0a6d7-c212-4c56-a31a-48f0b64641fc",
      "name": "Receive using webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        1460,
        380
      ]
    },
    {
      "id": "720507a9-f6c5-4b79-a25c-63cbd6794e6f",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1400,
        320
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "Merge": {
      "main": [
        [
          {
            "node": "Upload file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch": {
      "main": [
        [
          {
            "node": "Telegram3",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Text messages go this way",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram3": {
      "main": [
        [
          {
            "node": "initialize upload session",
            "type": "main",
            "index": 0
          },
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Upload file": {
      "main": [
        [
          {
            "node": "Ask Gemini to transcribe",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger1": {
      "main": [
        [
          {
            "node": "Switch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Ask Gemini to transcribe": {
      "main": [
        [
          {
            "node": "Reply in Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "initialize upload session": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}