Get Operation

speech_to_text.get_operation
ActionGoogle Cloudconnection required

Calls the Speech-to-Text API GET /v1/operations/{name}.

Check a long-running transcription; returns the transcript when done.

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

1 field, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
operation
Operation name from Long Running Recognize.
stringNo———

Input

FieldTypeExample
operation
string—

Output

One shape.

result

FieldTypeExample
ok
boolean—
operation
string—
done
boolean—
transcript
All top alternatives joined with spaces.
string—
confidence
Mean confidence of the top alternatives.
number—
alternatives[].transcript
string—
alternatives[].confidence
number—
{
  "alternatives": [
    {
      "confidence": 0,
      "transcript": ""
    }
  ],
  "confidence": 0,
  "done": false,
  "ok": false,
  "operation": "",
  "transcript": ""
}

Related Google Speech-to-Text nodes

See Get Operation 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.