Communik.io : Site & App builder
communik.io

Show a block variable and change it on click

Bind a welcome message to a heading and update it when the visitor uses a button.
Published on 11/15/2026

1. Create the starting value

Open a workflow on a button in the block and go to Block context. Add a text variable named message with the default Welcome to Willow Studio. Save before using it in a workflow. Keep the heading and the button in the same block.

The variable name, type, description and default.
The types offered for a block variable.
The translation switch on a saved text variable.

See also Choose a type and default for a block variable.

2. Link a click to the change

In the button’s click workflow, choose Add node > Variables / State > Variable Change. Select message, set the value to Your workshop is waiting, and join the Event output to the Variable input. Close the graph and save.

Variable Change connected to the button click.

3. Show the variable in your heading

Select the heading. In the Content editor, type @ and choose message from the available data. When you replace existing text, check that the heading shows the variable’s default value in the preview. Save again.

The variable inserted into the selected text.

4. Test the change as a visitor

Publish to a private preview. Before clicking, check the default heading. Click Update the welcome and check the new heading. Reload and confirm that the default returns. The example is page behaviour. Use a suitable storage feature when a change needs to survive a reload.

The heading displays the new value after the click.