Writing a checkbox to database

When a user clicks a checkbox from a list of options, how do I write the text associated with the checkbox to their user profile in a database?

One way to do it is create a new Do when condition is true workflow. Make sure to change Run this to Every Time instead of Just Once. And define the conditional “When checkbox is checked”. Add actions inside the workflow.

Do the same with “When checkbox is unchecked” conditional.

Not sure if this is the best way of doing it though. When I have to use checkbox in the UI I always create combination of a group (empty box icon + text) and a custom state. When group is clicked I add the item to custom state. I change icon from empty to checked when the item is in the custom state.

You can use DB right away. However it takes a second for the UI to catchup.

Hope this helps.

Makes changes to Thing

Field = checkbox’s is checked:formatted as text

When yes, put the checkbox’s text. When no, leave empty