Deepgram
connector.deepgram · connector.deepgram_trigger · ai
Transcribe audio, synthesize speech, analyze text and inspect usage with Deepgram.
Vendor API documentation: https://developers.deepgram.com/reference/deepgram-api-overview
Authentication
| Method | Credential kind | Auth kind | Fields | Test request |
|---|---|---|---|---|
| API key | deepgram/api_key | api_key | api_key (secret) | yes |
| Temporary access token (JWT) | deepgram/access_token | bearer | token (secret) |
Actions
Node type connector.deepgram. Choose a resource and an operation; each operation has its own parameters.
Transcription
Speech to text for pre-recorded audio.
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Transcribe audio from a URL | transcription.transcribe_url | writes | 3 | |
| Transcribe an audio file | transcription.transcribe_binary | writes | 1 |
Transcribe audio from a URL
Operation transcription.transcribe_url.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
url | string | yes | Audio URL. | ||
model | resource_locator | "nova-3" | Values from lookup stt_models. | ||
options | collection | ||||
options.language | string | Language (BCP-47). | |||
options.detect_language | boolean | false | |||
options.smart_format | boolean | true | Smart formatting. | ||
options.punctuate | boolean | false | Punctuation. | ||
options.paragraphs | boolean | false | |||
options.utterances | boolean | false | |||
options.utt_split | number | Utterance split (seconds). | |||
options.diarize | boolean | false | Speaker diarization. | ||
options.multichannel | boolean | false | |||
options.numerals | boolean | false | |||
options.profanity_filter | boolean | false | |||
options.filler_words | boolean | false | |||
options.measurements | boolean | false | |||
options.dictation | boolean | false | Dictation commands. | ||
options.redact | multi_options | One of pci, pii, numbers. | |||
options.keyterm | string | Key terms (Nova-3). Comma-separated terms to boost. | |||
options.keywords | string | Keywords (older models). Comma-separated, optionally with intensifiers such as word:2. | |||
options.search | string | Search terms. Comma-separated. | |||
options.replace | string | Replacements. Comma-separated find:replace pairs. | |||
options.summarize | boolean | false | |||
options.topics | boolean | false | |||
options.intents | boolean | false | |||
options.sentiment | boolean | false | |||
options.detect_entities | boolean | false | Entities. | ||
options.tag | string | Usage tag. | |||
options.callback | string | Callback URL. Process asynchronously and POST the result here (for example the Deepgram trigger URL). | |||
options.callback_secret | string | Echoed back in metadata.extra.callback_secret so the receiver can check it. | |||
options.mip_opt_out | boolean | false | Opt out of model improvement. | ||
simplify | boolean | true | Simplify output. Return transcript, confidence, words and analysis results only. |
Transcribe an audio file
Operation transcription.transcribe_binary.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
binary_property | binary_property | "data" | yes | Input binary field. | |
model | resource_locator | "nova-3" | Values from lookup stt_models. | ||
options | collection | ||||
options.language | string | Language (BCP-47). | |||
options.detect_language | boolean | false | |||
options.smart_format | boolean | true | Smart formatting. | ||
options.punctuate | boolean | false | Punctuation. | ||
options.paragraphs | boolean | false | |||
options.utterances | boolean | false | |||
options.utt_split | number | Utterance split (seconds). | |||
options.diarize | boolean | false | Speaker diarization. | ||
options.multichannel | boolean | false | |||
options.numerals | boolean | false | |||
options.profanity_filter | boolean | false | |||
options.filler_words | boolean | false | |||
options.measurements | boolean | false | |||
options.dictation | boolean | false | Dictation commands. | ||
options.redact | multi_options | One of pci, pii, numbers. | |||
options.keyterm | string | Key terms (Nova-3). Comma-separated terms to boost. | |||
options.keywords | string | Keywords (older models). Comma-separated, optionally with intensifiers such as word:2. | |||
options.search | string | Search terms. Comma-separated. | |||
options.replace | string | Replacements. Comma-separated find:replace pairs. | |||
options.summarize | boolean | false | |||
options.topics | boolean | false | |||
options.intents | boolean | false | |||
options.sentiment | boolean | false | |||
options.detect_entities | boolean | false | Entities. | ||
options.tag | string | Usage tag. | |||
options.callback | string | Callback URL. Process asynchronously and POST the result here (for example the Deepgram trigger URL). | |||
options.callback_secret | string | Echoed back in metadata.extra.callback_secret so the receiver can check it. | |||
options.mip_opt_out | boolean | false | Opt out of model improvement. | ||
simplify | boolean | true | Simplify output. Return transcript, confidence, words and analysis results only. |
Speech
Text to speech with Aura voices.
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Convert text to speech | speech.synthesize | writes | 1 |
Convert text to speech
Operation speech.synthesize.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
text | string | yes | |||
model | resource_locator | "aura-2-thalia-en" | yes | Voice. Values from lookup tts_models. | |
encoding | options | "mp3" | One of mp3, linear16, flac, mulaw, alaw, opus, aac. | ||
container | options | Only for linear16/mulaw/alaw (wav) and opus (ogg). One of none, wav, ogg. | |||
sample_rate | number | ||||
bit_rate | number | ||||
speed | number | Speaking rate multiplier. | |||
output_property | string | "data" | Output binary field. |
Text intelligence
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Analyze text | text.analyze | reads | 1 |
Analyze text
Operation text.analyze. Summary, topics, intents and sentiment for a text or a URL to a text document.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
source | options | "text" | One of text, url. | ||
text | string | yes | source = text | ||
url | string | yes | source = url | URL. | |
language | string | "en" | |||
summarize | boolean | true | |||
topics | boolean | false | |||
intents | boolean | false | |||
sentiment | boolean | false |
Project
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| List projects | project.list | reads | 1 | |
| Get a project | project.get | reads | 1 | |
| Get balances | project.get_balances | reads | 1 | |
| List API keys | project.list_keys | reads | 1 |
List projects
Operation project.list.
This node has no parameters.
Get a project
Operation project.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
project_id | resource_locator | yes | Project. Values from lookup projects. |
Get balances
Operation project.get_balances.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
project_id | resource_locator | yes | Project. Values from lookup projects. |
List API keys
Operation project.list_keys.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
project_id | resource_locator | yes | Project. Values from lookup projects. |
Request log
Past API requests of a project, with their results.
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| List requests | request_log.list | reads | yes | 1 |
| Get a request | request_log.get | reads | 1 |
List requests
Operation request_log.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
project_id | resource_locator | yes | Project. Values from lookup projects. | ||
return_all | boolean | false | |||
limit | number | 50 | return_all = false | ||
start | datetime | From. | |||
end | datetime | To. | |||
status | options | One of succeeded, failed. |
Get a request
Operation request_log.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
project_id | resource_locator | yes | Project. Values from lookup projects. | ||
request_id | string | yes | Request ID. |
Model
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| List models | model.list | reads | 1 |
List models
Operation model.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
kind | options | "all" | One of all, stt, tts. | ||
include_outdated | boolean | false | Include outdated versions. |
Lookups
Lookups fill dropdowns and resource pickers in the editor from the vendor API.
| Lookup | Depends on | Search | Description |
|---|---|---|---|
projects | client-side | ||
stt_models | client-side | ||
tts_models | client-side |
Triggers
Node type connector.deepgram_trigger.
| Trigger | ID | Kind | Deduplication key | Signature | Webhook registration | Cassette tests |
|---|---|---|---|---|---|---|
| On transcription callback | transcription_callback | webhook | manual | 0 | ||
| On API request completed | request_completed | poll | {{ item.request_id }} | 0 |
Trigger: On transcription callback
Receives the result of an asynchronous transcription. Put this trigger’s URL in the Callback URL option of a transcription operation, with the same callback secret.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
callback_secret | string | Must match the secret sent with the transcription request. Leave empty to accept any callback. | |||
simplify | boolean | true | Simplify output. Return transcript, confidence, words and analysis results only. | ||
options | collection | ||||
options.multichannel | boolean | false | Multichannel output. |
Trigger: On API request completed
Polls a project’s request log and emits each finished request (for example transcriptions run elsewhere).
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
project_id | resource_locator | yes | Project. Values from lookup projects. | ||
status | options | One of succeeded, failed. |
Import
No exported node type imports to this node.
Provenance
Written from the vendor’s documentation:
- https://developers.deepgram.com/reference/deepgram-api-overview
- https://developers.deepgram.com/reference/speech-to-text/listen-pre-recorded
- https://developers.deepgram.com/docs/callback
- https://developers.deepgram.com/reference/text-to-speech/speak-request
- https://developers.deepgram.com/reference/text-intelligence-api/text-read
- https://developers.deepgram.com/reference/management-api/projects/list
- https://developers.deepgram.com/reference/management-api/models/list
- https://developers.deepgram.com/reference/management-api/balances/list
- https://developers.deepgram.com/reference/management-api/requests/list
- https://developers.deepgram.com/docs/authenticating