Build your own Wisprflow in Telegram

    Shared 11/17/2025

    31 views

    Visual Workflow

    JSON Code

    {
      "meta": {
        "instanceId": "f70b299d3aba1268c703f951b53a16b2f113185e65119a78e10ba5770538d50f"
      },
      "nodes": [
        {
          "id": "46a7fbfb-4fce-4da0-ac77-ea6bdcf67caf",
          "name": "Get audio file",
          "type": "n8n-nodes-base.telegram",
          "position": [
            -336,
            80
          ],
          "webhookId": "73d0d328-d75b-4bb0-a1b9-81d42a2f2bfd",
          "parameters": {
            "fileId": "={{ $json.message.voice.file_id }}",
            "resource": "file",
            "additionalFields": {}
          },
          "credentials": {
            "telegramApi": {
              "id": "",
              "name": "Telegram account"
            }
          },
          "typeVersion": 1.2
        },
        {
          "id": "7e19598c-7904-48cd-8cf9-87cf56b1f273",
          "name": "Message Trigger",
          "type": "n8n-nodes-base.telegramTrigger",
          "position": [
            -768,
            -48
          ],
          "webhookId": "d08f35d7-e003-4e77-a26a-eb110855e027",
          "parameters": {
            "updates": [
              "message"
            ],
            "additionalFields": {}
          },
          "credentials": {
            "telegramApi": {
              "id": "wsbzlykloL7G1JI4",
              "name": "Telegram account"
            }
          },
          "typeVersion": 1.2
        },
        {
          "id": "0054e9ca-b2d8-4d1a-ad1a-042ab2c5bf82",
          "name": "Send transcription message",
          "type": "n8n-nodes-base.telegram",
          "position": [
            48,
            -64
          ],
          "webhookId": "5c6997c0-948a-49bb-a542-10c8bf130fdd",
          "parameters": {
            "text": "={{ $json.message.text }}\n{{ $json.text }}",
            "chatId": "={{ $('Message Trigger').item.json.message.chat.id }}",
            "additionalFields": {
              "appendAttribution": false
            }
          },
          "credentials": {
            "telegramApi": {
              "id": "wsbzlykloL7G1JI4",
              "name": "Telegram account"
            }
          },
          "typeVersion": 1.2
        },
        {
          "id": "a84778ed-020b-468d-b9a5-333892dd2dd5",
          "name": "Route Chat Input",
          "type": "n8n-nodes-base.switch",
          "position": [
            -528,
            -48
          ],
          "parameters": {
            "rules": {
              "values": [
                {
                  "outputKey": "text",
                  "conditions": {
                    "options": {
                      "version": 2,
                      "leftValue": "",
                      "caseSensitive": true,
                      "typeValidation": "strict"
                    },
                    "combinator": "and",
                    "conditions": [
                      {
                        "id": "a561aab7-4c3b-4c96-9bb7-078281b5c7d5",
                        "operator": {
                          "type": "string",
                          "operation": "exists",
                          "singleValue": true
                        },
                        "leftValue": "={{ $json.message.text }}",
                        "rightValue": ""
                      }
                    ]
                  },
                  "renameOutput": true
                },
                {
                  "outputKey": "voice",
                  "conditions": {
                    "options": {
                      "version": 2,
                      "leftValue": "",
                      "caseSensitive": true,
                      "typeValidation": "strict"
                    },
                    "combinator": "and",
                    "conditions": [
                      {
                        "id": "b7f1055d-6651-416f-b0cd-c46e003d4f3a",
                        "operator": {
                          "type": "object",
                          "operation": "exists",
                          "singleValue": true
                        },
                        "leftValue": "={{ $json.message.voice }}",
                        "rightValue": ""
                      }
                    ]
                  },
                  "renameOutput": true
                }
              ]
            },
            "options": {}
          },
          "typeVersion": 3.2
        },
        {
          "id": "3a990efc-427f-47b0-b602-8cd02f1c2016",
          "name": "HTTP Request",
          "type": "n8n-nodes-base.httpRequest",
          "position": [
            -176,
            80
          ],
          "parameters": {
            "url": "https://mantra-backend-app.azurewebsites.net/api/blipai/transcribe",
            "method": "POST",
            "options": {},
            "sendBody": true,
            "contentType": "multipart-form-data",
            "sendHeaders": true,
            "bodyParameters": {
              "parameters": [
                {
                  "name": "audio",
                  "parameterType": "formBinaryData",
                  "inputDataFieldName": "data"
                }
              ]
            },
            "headerParameters": {
              "parameters": [
                {
                  "name": "Authorization",
                  "value": "Bearer ID"
                }
              ]
            }
          },
          "typeVersion": 4.3
        },
        {
          "id": "d567b1bd-535d-4079-ba6d-ea5991f2ed5e",
          "name": "Sticky Note",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -784,
            112
          ],
          "parameters": {
            "height": 80,
            "content": "Setup The Bot from Botfather on Telegram "
          },
          "typeVersion": 1
        },
        {
          "id": "b930cfb8-e02b-4471-a770-44a5afa17fad",
          "name": "Sticky Note1",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -320,
            240
          ],
          "parameters": {
            "height": 80,
            "content": "Visit https://www.blipai.app/ to get api keys"
          },
          "typeVersion": 1
        }
      ],
      "pinData": {},
      "connections": {
        "HTTP Request": {
          "main": [
            [
              {
                "node": "Send transcription message",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Get audio file": {
          "main": [
            [
              {
                "node": "HTTP Request",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Message Trigger": {
          "main": [
            [
              {
                "node": "Route Chat Input",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Route Chat Input": {
          "main": [
            [
              {
                "node": "Send transcription message",
                "type": "main",
                "index": 0
              }
            ],
            [
              {
                "node": "Get audio file",
                "type": "main",
                "index": 0
              }
            ]
          ]
        }
      }
    }