AutomationFlowsGeneral › Perform Speech To Text On Recorded Audio Clips Using Wit Ai

Perform Speech To Text On Recorded Audio Clips Using Wit Ai

Perform Speech To Text On Recorded Audio Clips Using Wit Ai. Uses readBinaryFile, httpRequest. Manual trigger; 2 nodes.

Manual trigger★☆☆☆☆ complexity2 nodesRead Binary FileHttp Request
General Trigger: Manual Nodes: 2 Complexity: ★☆☆☆☆

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "nodes": [
    {
      "name": "Read Binary File",
      "type": "n8n-nodes-base.readBinaryFile",
      "position": [
        450,
        300
      ],
      "parameters": {
        "filePath": "/data/demo1.wav"
      },
      "typeVersion": 1
    },
    {
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        650,
        300
      ],
      "parameters": {
        "url": "https://api.wit.ai/speech?v=20200513",
        "options": {
          "bodyContentType": "raw"
        },
        "requestMethod": "POST",
        "jsonParameters": true,
        "sendBinaryData": true,
        "headerParametersJson": "={{JSON.parse('{\"Authorization\":\"Bearer {your_token_goes_here}\", \"Content-Type\":\"audio/wav\"}')}}"
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "Read Binary File": {
      "main": [
        [
          {
            "node": "HTTP Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

About this workflow

Perform Speech To Text On Recorded Audio Clips Using Wit Ai. Uses readBinaryFile, httpRequest. Manual trigger; 2 nodes.

Source: https://github.com/Zie619/n8n-workflows — original creator credit. Request a take-down →

More General workflows → · Browse all categories →