Struggling to script BTT from Touch Portal using URLs

Hi there!

I am currently trying to implement some remote control of Ableton Live via Touch portal. The Idea is to change a BTT Variable and then trigger a Named Trigger in BTT by pressing a button on Touch Portal. Touch Portal has "open url" actions, which I use. But everything foes not work as expected:

open "btt://trigger_named/?trigger_name=TriggerName"

Just opens the selected trigger configuration window.

open "btt://set_string_variable/?variableName=test&to=12345"

Just opens the settings window with the list of variables. And the new Variable does not show up in the list.

What am I doing wrong here?

Hi,
I had a similar situation in the past, where I used the StreamDeck App (on iPad) to trigger actions on the Mac (also for Ableton) via a Http (use Get) open request on StreamDeck to the internal BTT Webserver .
Check docs here:

Have fun,
Christian

Thanks for the input, Christian!
I appreciate it a lot.
Regards, Oleg