Skip to main content

Summarize A Single Document

Generate an AI summary of a single requested document.

Note, this action belongs to Glean Chat API, therefore requires using either the Global Client Token or the User Client Token connection methods.

External Documentation

To learn more, visit the Glean documentation.

Parameters

ParameterDescription
Content IDThe ID for user-generated content.
Content TypeThe type of the user-generated content.
Document IDThe ID of the document.
Document Specification TypeSelect one of the document specification types to insert.
Document URLThe URL of the document.
Preferred Summary LengthLength of summary output.
QueryA query that the summary should be about.
TimestampA timestamp associated with the client request.
Tracking TokenAn opaque token that represents this particular result.
UGC TypeThe type of the User-Generated content source.

Example Output

{
"error": {
"message": "string"
},
"summary": {
"text": "string",
"followUpPrompts": [
"string"
]
},
"trackingToken": "string"
}

Workflow Library Example

Summarize a Single Document with Glean and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop