Deepgram - Analyze text action ​

The Analyze text action analyzes plain text or the text at a URL in Deepgram. Optionally summarize the text and detect topics, intents, and sentiment.

Input ​

Input fields dynamically generate based on the Text source you select. The following are a representative set of input fields. Refer to the Deepgram API documentation for more information on available input fields.

Input fieldDescription
Text sourceSelect Text to send plain text, or Text URL to send a hosted file.
TextEnter the plain text to analyze. Summaries require more than 50 words. The Text field is only available when Text source is Text.
Text URLEnter the publicly reachable URL of the text to analyze. The Text URL field is only available when Text source is Text URL.
LanguageOptional. Select the language of the text. Deepgram text analysis supports English only. Defaults to English (en) if left blank.
SummarizeOptional. Select Yes to summarize the text. Leave blank to return no summary.
TopicsOptional. Select Yes to detect the topics in the text. Leave blank to skip topic detection.
IntentsOptional. Select Yes to detect the intents in the text. Leave blank to skip intent detection.
SentimentOptional. Select Yes to analyze the sentiment of the text. Leave blank to skip sentiment analysis.
TagsOptional. Enter comma-separated labels to attach to the request for usage reporting. Leave blank to send no tags.
Callback URLOptional. Enter the URL where Deepgram sends the result when processing finishes. The action returns only the Request ID when you set a callback URL. Leave blank to return the result in the action output.

Output ​

The following are a representative set of output fields. Refer to the Deepgram API documentation for more information on available output fields.

Output fieldDescription
Request IDThe unique ID of the request.
MetadataInformation about the request. The Metadata field is only available when Callback URL is blank.
Created (Metadata)The date and time Deepgram processed the request.
Language (Metadata)The language of the analyzed text.
ResultsThe analysis results. The Results field is only available when Callback URL is blank.
Summary (Results)The summary of the text. The Summary field is only available when Summarize is Yes.
Text (Summary)The text of the summary.
Topics (Results)The topics detected in each segment of the text. The Topics field is only available when Topics is Yes.
Intents (Results)The intents detected in each segment of the text. The Intents field is only available when Intents is Yes.
Sentiments (Results)The sentiment of each segment and the average sentiment of the text. The Sentiments field is only available when Sentiment is Yes.

Last updated: