ngrok provides a set of variables that you can use in Traffic Policy to:

Available Variables: