Welcome @john_gronska.
Use triggeredById.
https://docs.retool.com/docs/scripting-retool#retrieving-source-of-query-trigger