Add the WayScript action to your Google Assistant account. Get the WayScript Trigger action.
You can supply an easy-to-understand alias for your program.
Useful when your program name is long or difficult for the Google Assistant to understand
To pass the input in your voice command, add "with [Variable Value]" to your Google Assistant phrase.
You can pass an argument to your Google Assistant-Triggered program by enabling the "Spoken Input" variable in the Outputs panel.
Suppose your program is called 'Stocks' and takes a single input called [Symbol] as input, you could then speak the following phrase to the Google Assistant:
"Hey Google, ask WayScript Trigger to run 'Stocks' with AAPL."
Once you have added the Google Assistant Trigger to a program, you can include the Google Assistant module, which will allow the Google Assistant to speak to you while your program is running.
You can reference variables that were created earlier in the program and insert them into an Google Assistant Phrase. See the Google Assistant module documentation for more details.
For a brief tutorial on how to use the Google Assistant Trigger, see Run a Python Script with a Google Assistant Voice Command.