Having trouble extracting classified category into Output for Evaluations

Describe the problem/error/question:

I want to use the evaluations setOutput node on a dataset within Google Sheets.

Please see screenshot for my current flow.

The 1st “Action Classifier” node classifies if the incoming email is categorized into “Action” or "No Action.

The 2nd (Category Classifier (Action)) and 3rd {Category Classifier (No Action) further categorize the incoming email into 1 of 10 categories.

I can see the node selected: “Order Placement / PO Submission” branch. Although I do not see this key: value pair in the Output JSON. See screenshot.

Although I am able to see the selected category if I click 'Logs" and scroll to “Output”.

Below is a screenshot of output if I click ‘OpenAI Chat Model 2’ node.

How do I set or extract this? Quite frustrating.

The goal is to the upsert the actual answer into Google Sheets. See attached screenshot for GS columns.

I realize this is a new feature, but what am I missing?

Information on your n8n setup

  • n8n version: 1.101.1
  • Database (default: SQLite): None
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): n8n cloud
  • Operating system: Mac

I’m having a similar problem too… there seems to be a document referencing the solution but it just simply doesn’t work. There does not see to be a way to get the category as output. I hope there is a fix for this soon.

I had to change my approach.

I switched classification nodes to AI agent nodes, added a switch node and a wait node.

I don’t know why, but adding a 1 second wait node allows you to access outputs as inputs in downstream nodes to avoid this problem.

It’s working for me now.

1 Like

Dang I literally switched from an AI Agent to the text classifier because I thought that would be best practice, but I guess the node is just broken…

Regardless, I appreciate the help!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.