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?