I want to add a trigger to capture text in some pattern and pass it to a Python script.
My script is:
async def main(connection):
async def myfunc(captured_text):
I tried to set Parameters with "myfunc(captured_text: trigger.captured_strings)" in the trigger setting, it didn't work and "Reference to undefined variable “trigger.captured_strings” error was reported.
Thanks in advance.