Checkboxes to execute APIs

I have a Mattermost install with about 20 Teams. I’ve set up and tested incoming webhooks from Appsmith to post a message to a Town Square.

Ideally, I’d like to be able to have one input for the message and check the destinations that I’d like to run the API posts with the message.

Is there some method for checkbox selections that would then execute the actions for the selected/targeted APIs?

In the short term I’ve simply create a bunch of Submit buttons. Not that elegant, but it works.

@jo-cpa I’m not sure I understand your query correctly. There is an onCheckChange
listener for the checkbox that can fire the query when it is checked. You can also use a checkbox group and onSelectionChange refer to the {{CheckboxGroup1.selectedValues}}
Does that answer your question?