Long Running Recognize
speech_to_text.long_running_recognize
ActionGoogle Cloudconnection required
Calls the Speech-to-Text API POST /v1/speech:longrunningrecognize.
Start an async transcription of audio stored in Cloud Storage.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Google Speech-to-Text
- Secret shape
- {"client_id", "client_secret", "refresh_token"}
- Config it needs
- project_id
- Resolved by
- config.connection_id, else node.connection_id
Configuration
5 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
audio_uri gs://bucket/path.flac audio URI. | string | Yes | — | matches gs://.+ | — |
encoding Audio encoding (leave unspecified for FLAC/WAV headers). | string | No | ENCODING_UNSPECIFIED | one of "ENCODING_UNSPECIFIED", "LINEAR16", "FLAC", "MP3", "OGG_OPUS", "WEBM_OPUS" | — |
sample_rate_hertz Sample rate in Hz (e.g. 16000). Required for raw LINEAR16. | number | No | — | ≥ 1 | — |
language_code BCP-47 language code. | string | No | en-US | — | — |
enable_automatic_punctuation Add punctuation to the transcript. | boolean | No | false | — | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"enable_automatic_punctuation": false,
"encoding": "ENCODING_UNSPECIFIED",
"language_code": "en-US"
}Output
One shape.
operation
| Field | Type | Example |
|---|---|---|
ok | boolean | — |
operation Operation name to pass to Get Operation. | string | — |
done | boolean | — |
{
"done": false,
"ok": false,
"operation": ""
}Notes
- The node does not poll; wire Get Operation (with a Wait) to fetch the result.
Related Google Speech-to-Text nodes
See Long Running Recognize run in a workflow.
In a technical demo we add the Google Speech-to-Text connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.