You can do that on the onMessage function on the if statements, like this: https://gist.github.com/sarasantos/c00e585f557e8e2f25ec058069323b71 I hope this helps. Regards, Sara Reply Jeff November 23, 2020 at 2:28 pm Sara – Can you also change the button text using onMessage?