{
  "name": "Process audio with ElevenLabs via KIE.AI: transcribe, TTS, and isolate audio",
  "nodes": [
    {
      "id": "3445c066-065e-4777-8903-6a1159ec7988",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1568,
        432
      ],
      "parameters": {
        "width": 528,
        "height": 640,
        "content": "## Muhammad Farooq Iqbal - Automation Expert & n8n Creator\n\nI am a passionate automation expert and recognized n8n Creator specializing in intelligent workflow automation. With extensive experience in"
      }
    },
    {
      "id": "f129262b-f077-4fad-837d-8bca2c05b214",
      "name": "Set Audio URL 1",
      "type": "n8n-nodes-base.set",
      "position": [
        16,
        1744
      ]
    },
    {
      "id": "a706b333-84f7-43b3-99b6-8498cfd290b0",
      "name": "Audio Isolation Section",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -320,
        1536
      ],
      "parameters": {
        "width": 1600,
        "height": 512,
        "content": "## Audio Isolation Section\n\nRemoves background noise from audio files using ElevenLabs. Set your audio URL, submit for processing, and the workflow extracts the isolated audio when ready."
      }
    },
    {
      "id": "0f5f76e9-2fa1-4e14-aec1-1891b8029d31",
      "name": "Wait for Isolation",
      "type": "n8n-nodes-base.wait",
      "position": [
        448,
        1744
      ]
    },
    {
      "id": "e60ddc63-876f-4306-a005-5bde24512dd1",
      "name": "Check Isolation Status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        608,
        1744
      ]
    },
    {
      "id": "f81b4409-7501-4dad-b5c8-60ea2cef4889",
      "name": "Switch Isolation Status",
      "type": "n8n-nodes-base.switch",
      "position": [
        832,
        1696
      ]
    },
    {
      "id": "7e6d527f-851c-49fc-a320-9e4c6b41e914",
      "name": "Extract Isolated Audio URL",
      "type": "n8n-nodes-base.code",
      "position": [
        1072,
        1712
      ]
    },
    {
      "id": "d2ec398f-fb87-42ac-9ff5-7defb1cf266c",
      "name": "Submit Audio for Isolation",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        272,
        1744
      ]
    },
    {
      "id": "e21cf980-78a6-49fa-b420-560d301704b5",
      "name": "Text-to-Speech Section",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -320,
        976
      ],
      "parameters": {
        "width": 1600,
        "height": 512,
        "content": "## Text-to-Speech Section\n\nConverts text to natural-sounding speech using ElevenLabs. Set your text, submit for processing, and the workflow extracts the generated audio URL when ready."
      }
    },
    {
      "id": "370edff4-7f76-4139-97da-67c2d2e8a1fa",
      "name": "Set Text Input",
      "type": "n8n-nodes-base.set",
      "position": [
        80,
        1152
      ]
    },
    {
      "id": "78328535-d3a5-42bb-9874-ac393a08d753",
      "name": "Wait for Speech Generation",
      "type": "n8n-nodes-base.wait",
      "position": [
        480,
        1152
      ]
    },
    {
      "id": "a9e6217a-b3a8-414c-b064-1f3b485e562f",
      "name": "Check Speech Generation Status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        640,
        1152
      ]
    },
    {
      "id": "c78cb844-630a-42b8-9ed8-f38469c02704",
      "name": "Switch Speech Generation Status",
      "type": "n8n-nodes-base.switch",
      "position": [
        816,
        1104
      ]
    },
    {
      "id": "20c868d2-d894-4879-94e2-73e0ef45778d",
      "name": "Extract Audio URL",
      "type": "n8n-nodes-base.code",
      "position": [
        1008,
        1120
      ]
    },
    {
      "id": "e988afc7-1721-423d-a731-15b95fa5751f",
      "name": "Submit Text for Speech Generation",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        288,
        1152
      ]
    },
    {
      "id": "044cf670-e13f-4506-aef8-6df7906c5cea",
      "name": "Transcription Section",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -320,
        432
      ],
      "parameters": {
        "width": 1600,
        "height": 512,
        "content": "## Transcription Section\n\nConverts audio files to text using ElevenLabs. Set your audio URL, submit for processing, and the workflow extracts the transcribed text when ready."
      }
    },
    {
      "id": "8925b5f0-bdcf-4d2b-a30b-1eceab9d8923",
      "name": "When clicking ‘Execute workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -192,
        624
      ]
    },
    {
      "id": "e73d26f8-1f83-4ce2-b1e4-335e2fa6a367",
      "name": "Wait for Transcription",
      "type": "n8n-nodes-base.wait",
      "position": [
        464,
        624
      ]
    },
    {
      "id": "d118f55b-5405-40ff-a586-02063a3f4089",
      "name": "Check Transcription Status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        624,
        624
      ]
    },
    {
      "id": "ec7ac020-cf02-4ae6-819d-1a7a6bbeff9f",
      "name": "Switch Transcription Status",
      "type": "n8n-nodes-base.switch",
      "position": [
        816,
        576
      ]
    },
    {
      "id": "cead56a4-2de3-4b9a-a8c9-9b9fe29f86f0",
      "name": "Set Audio URL",
      "type": "n8n-nodes-base.set",
      "position": [
        48,
        624
      ]
    },
    {
      "id": "bd544a41-c85d-4673-be25-ffd1bf6b8252",
      "name": "Extract Transcription Text",
      "type": "n8n-nodes-base.code",
      "position": [
        1072,
        592
      ]
    },
    {
      "id": "bee09852-9275-4114-90d1-f948f21b0aa7",
      "name": "Submit Audio for Transcription",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        288,
        624
      ]
    },
    {
      "id": "c748f148-9420-4681-aba0-e9bc73b98d40",
      "name": "Main Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1008,
        432
      ],
      "parameters": {
        "width": 640,
        "height": 432,
        "content": "## How it works\n\nThis workflow provides three independent ElevenLabs audio processing capabilities via KIE.AI API: speech-to-text transcription (converts audio to text), text-to-speech generation (con"
      }
    }
  ],
  "connections": {
    "Set Audio URL": {
      "main": [
        [
          {
            "node": "Submit Audio for Transcription",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Text Input": {
      "main": [
        [
          {
            "node": "Submit Text for Speech Generation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Audio URL 1": {
      "main": [
        [
          {
            "node": "Submit Audio for Isolation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait for Isolation": {
      "main": [
        [
          {
            "node": "Check Isolation Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Isolation Status": {
      "main": [
        [
          {
            "node": "Switch Isolation Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait for Transcription": {
      "main": [
        [
          {
            "node": "Check Transcription Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch Isolation Status": {
      "main": [
        [
          {
            "node": "Submit Audio for Isolation",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Extract Isolated Audio URL",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait for Isolation",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait for Isolation",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait for Isolation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Transcription Status": {
      "main": [
        [
          {
            "node": "Switch Transcription Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Submit Audio for Isolation": {
      "main": [
        [
          {
            "node": "Wait for Isolation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait for Speech Generation": {
      "main": [
        [
          {
            "node": "Check Speech Generation Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch Transcription Status": {
      "main": [
        [
          {
            "node": "Submit Audio for Transcription",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Extract Transcription Text",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait for Transcription",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait for Transcription",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait for Transcription",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Speech Generation Status": {
      "main": [
        [
          {
            "node": "Switch Speech Generation Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Submit Audio for Transcription": {
      "main": [
        [
          {
            "node": "Wait for Transcription",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch Speech Generation Status": {
      "main": [
        [
          {
            "node": "Submit Text for Speech Generation",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Extract Audio URL",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait for Speech Generation",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait for Speech Generation",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait for Speech Generation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Submit Text for Speech Generation": {
      "main": [
        [
          {
            "node": "Wait for Speech Generation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Set Audio URL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}