The intent cards can transition to other nodes. So you can transition them to a node that has an execute code card that saves the desired text to a variables. Like: workflow.intent = 'Electronics'
It might be saved in some variable, I just don't know which one