Skip to content

Google Perspective

Node: googlePerspective · Full type: n8n-nodes-base.googlePerspective · Version: 1

Credentials

googlePerspectiveOAuth2Api (alias: @google)

CREDENTIAL @google = googlePerspectiveOAuth2Api "My Google Perspective"

Operations

analyzeComment

Parameter Type Default Details
text string "" required
requestedAttributesUi fixedCollection {} required; groups: requestedAttributesValues
options collection {} keys: languages

Parameter Details

requestedAttributesUi children:

requestedAttributesValues group:

Parameter Type Default Details
attributeName options "flirtation" flirtation, identity_attack, insult, profanity, severe_toxicity, sexually_explicit, threat, toxicity
scoreThreshold number 0

options children:

Parameter Type Default Details
languages options ""

Example

NODE "googlePerspective" @google AS "Google Perspective" {
  operation: "analyzeComment",
  text: {{ $json.text }}
}