Text Classifier Output is Missing Key Things!

Describe the problem/error/question

The Text Classifier Node does not output the category at all

What is the error message (if any)?

See above

Please share your workflow

Share the output returned by the last node

The output for the text classifier (urgency level) is “THIS IS URGENT”, which is basically the fake text I triggered. However, it SHOULD allow me to output “urgent”, as in the actual category. In the logs I can see “urgent” but there does not seem to be a way to reference it AT ALL. I’ve tried many different things including:

  1. {{ $(“Text Classifier (Urgency Level)”).item.json.category }}
  2. {{$json.response.category}}
  3. {{$json.category}}

There doesn’t seem to be a way to reference the category? Why is that?

Information on your n8n setup

  • n8n version: [email protected]
  • Database (default: SQLite):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): N8N Cloud
  • Operating system: Windows 11

You can set your own level based on the output leg of the clasifier:

This way the last node outputs the following: