Sentor Sentiment Analysis icon

Sentor Sentiment Analysis

AI-powered sentiment analysis for text documents

Document → Generate Topic Name

AI-generated

Summary

Generate a descriptive name for each cluster by sending its ID, documents, language, and optional entities and top words to the Sentor API. Optionally include a Google Gemini API key, which the node forwards when configured.

Inputs

  • Environment — Select Production (default) or Development to choose the Sentor API endpoint.
  • Language — Document language: English (default) or Dutch.
  • Cluster ID (required) — Numeric ID of the cluster to name.
  • Documents (JSON) (required) — Array of documents in the cluster. Enter valid JSON; malformed JSON is treated as an empty array.
  • Entities (JSON) — Optional list of entities associated with the cluster; defaults to an empty array. Malformed JSON is treated as an empty array.
  • Top Words (JSON) — Optional list of the cluster’s top words; defaults to an empty array. Malformed JSON is treated as an empty array.
  • Sentor API credentials (required) — Authenticates the request to Sentor.
  • Google Gemini API credentials — If configured with an API key, it is sent in the X-Google-API-Key header.

Output shape

One output item per incoming item, each containing the Sentor API response as its JSON body.

The operation sends a POST request to Sentor’s topic-name endpoint for each input item. The response fields depend on the API response.

Links

Discussion