Skip to content

Google Cloud Natural Language

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

Credentials

googleCloudNaturalLanguageOAuth2Api (alias: @google)

CREDENTIAL @google = googleCloudNaturalLanguageOAuth2Api "My Google Cloud Natural Language"

Operations

Resource: document

analyzeSentiment

No additional parameters.

Parameter Details

options children:

Parameter Type Default Details
documentType options "PLAIN_TEXT" HTML, PLAIN_TEXT
encodingType options "UTF16" NONE, UTF8, UTF16, UTF32
language options "en" ar, zh, zh-Hant, nl, en, fr, de, id, ... (16 total)

Example

NODE "googleCloudNaturalLanguage" @google AS "Google Cloud Natural Language" {
  resource: "document",
  operation: "analyzeSentiment",
  content: {{ $json.content }},
  gcsContentUri: {{ $json.gcsContentUri }}
}