Hey, as you can see in the image, the text classifier node output more than 1 category, how can I change that so it can MAX output 1?
THANKS!
THANKS!
You should make the Text Classifier return only one category, then use a Switch node to send that single output to the appropriate stream.
Stream Structure
Gmail Trigger
Text Classifier (returns multiple)
Function Node (filters only the top 1)
Switch Node (based on category)
Edit Fields 1 Edit 2 Edit 3
If you have more than 8–10 conditions, consider using a Function node with more controlled routing logic.
Another option: split the conditions into multiple Switch nodes if they are different or nested logic.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.