This is what I eventually settled on to pass triggers to scripts. Not sure if it’s still helpful:
I setup a template field that took {{ trigger.id }} and passed it through. Then I could use it as a variable instead. Bad part is I had to do templates for conditions like if variable === "Trigger Name" rather than the native trigger control.