Only send a message if I press a button

Use a change node to store the value in a flow or context variable.

Then when the button is pressed, grab the value you stored early.

See the docs (read up on context)