I need help to understand why slot_was_set is not working

Hi @filipedfs

I also strongly recommend to try the conditional response variation feature based on different values of your slot to avoid story duplication - your 3 bot utterances (utter_teste_null, utter_teste_false, utter_teste_true) can be combined in one utterance with conditions as described in the documentation.