Automation Bitwig -> OSC. Throttling?

I'm using a custom-module JS script to trigger a 'tap' button in Open Stage from Bitwig automation.

Here's my Bitwig automation:

and the JS script:

if (address == '/user/0499' && args[0].value == 1023) {
            receive('/SET', 'Tribble-Rig-AShaperInc', 1 )
            return
        }

Trouble is - it insists on either missing the trigger or triggering twice. What's the best way to trigger this ONCE reliably from Bitwig?

I guess not. Maybe a MIDI CC instead?

Just stumbled across this old unanswered topic... /SET might reach multiple client and thus result in multiple messages being sent by OSC, it could be avoided either by specifying a client id to the receive function, or by calling send to send that one message directly from the module instead.