How to create a token and use it in the "path" key to export a GIF?

Here is an older post where I mentioned how I was doing it. Where you have “path”, you would put “saveFile” from my example