Documentation Index
Fetch the complete documentation index at: https://docs.flowx.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Speech to Text node is a workflow node that transcribes audio files into text. It reads audio from a configured source, sends it to the speech-to-text service, and returns the transcript along with language detection and confidence metadata. The node works in both standard and conversational workflows, and integrates with the FlowX Document Plugin for file storage.
Transcribe audio
Convert audio recordings to text with language detection and confidence scores
Multiple file sources
Read audio from Document Plugin, S3, or directly from chat voice input
Chat integration
Automatically processes voice messages in conversational workflows
Test files for development
Upload sample audio to validate your workflow before connecting a live source
Configuration
File Source
Where the audio file is located.
In conversational workflows, the file source is set to Chat Input automatically.
| Source | Description | Availability |
|---|---|---|
| Document Plugin | Read audio from a file stored in the FlowX Document Plugin | Standard workflows |
| S3 Protocol | Read audio from S3-compatible storage | Standard workflows |
| Chat Input | Automatically receive audio from a voice message in the chat UI | Conversational workflows only |

Upload and use a sample audio file for testing without connecting a live source. When turned on, File Path becomes a dropdown of available test files instead of a free-text input.Default: OFF
Path to the audio file. The control changes based on Use Test File:
- Use Test File OFF — free-text input. Supports
${expression}placeholders for dynamic values from workflow data. Only meaningful when File Source isDocument PluginorS3 Protocol. - Use Test File ON — dropdown labelled Select Test File, listing the test files uploaded to this node.
${inputData.audioFilePath}The key under which the transcript and metadata are stored in the workflow data.Example:
speechResultSupported audio formats
| Format | MIME Type |
|---|---|
| MP3 | audio/mpeg |
| WAV | audio/wav |
| M4A | audio/x-m4a |
| AAC | audio/aac |
| OGG | audio/ogg |
File size limits
| Workflow type | Maximum size |
|---|---|
| Conversational | 5 MB |
| Standard | 10 MB |
Output
The node writes the transcript and metadata under the configured Response Key. Standard workflows output nested under the response key:| Field | Type | Description |
|---|---|---|
transcript / userMessage | string | The transcribed text |
language | string | Detected language code (e.g., en, fr, de) |
confidence / userMessageConfidence | number | Confidence score (0.0 to 1.0) |
responseTime | number | Processing time in seconds |
audioFileName | string | Original audio file name |
Conversational workflow integration
In conversational workflows, the Speech to Text node works with the Chat component voice input feature:- A user records a voice message in the chat UI
- The audio file is sent to the workflow as a chat input
- The Speech to Text node (with Chat Input file source) transcribes the audio
- The transcript is set as the
userMessage, making it available to downstream nodes (Custom Agent, Intent Classification) as if the user had typed it
When processing chat voice input, the audio file metadata is preserved in the conversation context. This allows conversation history to reference which messages originated from voice input.
Node connections
The Speech to Text node has two output handles:| Handle | Description |
|---|---|
| Success | The transcription completed and output is available under the response key |
| Fail | The transcription failed (unsupported format, file not found, service error) |
Best practices
Match file source to workflow type
Use Chat Input for conversational workflows and Document Plugin or S3 for standard workflows.
Keep audio files within size limits
Audio files exceeding the size limit (5 MB conversational, 10 MB standard) will fail. Validate file size before reaching the node if the source is user-provided.
Use test files during development
Upload a sample audio file to validate your workflow configuration before connecting to a live source.
Handle failures
Always connect the Fail handle to a fallback path, especially when processing user-uploaded audio that may be in an unsupported format.
Related resources
Chat component
Voice input and conversational UI for chat-based workflows
Conversational workflows
Build multi-turn conversations with AI Triggers and context
AI node types
Overview of all AI workflow node types
Integration Designer
Build and manage integration workflows

