Skip to content

Fetch google nlp classify text

NLP · text · 3rd party API · integration · model · topic

Detect topics in text content using Google Cloud's text classification API.

To learn more about the resulting categories and the process see Google's documentation. The list of possible categories is available here.

API integration

To use this step your team needs to have the Google NLP integration configured in Graphext. The corresponding credentials are required to connect to a third-party API. See our help center for details on how to configure your team's integrations.

To enable the Google NLP integration in particular you will need access to Google's NLP service. Follow the instructions here to create the required API key.


The step has no parameters, so simply use

fetch_google_nlp_classify_text(ds.text_column) -> (ds.categories)


The following are the step's expected inputs and outputs and their specific types.

fetch_google_nlp_classify_text(text_column: text) -> (categories: list[category])


text_column: column:text

Column containing the texts to analyze. Texts must be in English and contain at least 20 words, or otherwise will be ignored.


categories: column:list[category]

One or more categories assigned to each text. For possible categories see here.