n8n
Workflow
Perform Speech To Text On Recorded Audio Clips Using Wit Ai
This n8n workflow automates tasks and integrates with various services. Perform Speech To Text On Recorded Audio Clips Using Wit Ai - ready to import and run in your n8n instance.
n8n
workflow.json
About This Script
This n8n workflow automates tasks and integrates with various services. Perform Speech To Text On Recorded Audio Clips Using Wit Ai - ready to import and run in your n8n instance.
Features:
- Makes HTTP requests to external APIs
Source Code
{
"nodes": [
{
"name": "Read Binary File",
"type": "n8n-nodes-base.readBinaryFile",
"position": [
450,
300
],
"parameters": {
"filePath": "/data/demo1.wav"
},
"typeVersion": 1,
"id": "c800b83a-bf7d-4a9d-a5ae-aee30d87b21d"
},
{
"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,
"id": "a6e74e19-38ae-4d6e-bc37-2b264ae2ee72"
}
],
"connections": {
"Read Binary File": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
}
},
"n8n_version": "1.5.0"
}
Requirements
n8n instance, API credentials for connected services
Tags
#n8n
#automation
#workflow