Gpio 36 don't have any internal pullup, so code generated in uiflow may fail and throw error (try to set non existing internall pullup or pulldown). You should connect to device by serial terminal and observe the messages. You also should use a resistor with values in kilo ohms eg. 4.7kohm or 10kohm