Look at where you store the sentiment. And look at the switch - you check payload contains a string value but payload was set to an object in the function.
Attach debug nodes to before the switch and after. You should see the message doesn't get past the switch.
Note, some of what I say is guess work as you haven't posted any debug data nor have you posted your flow.