Calling enviroment Variable

Hey there, Good Day.

I am planing to save critical data on the VM that Hosts rapid7 as an environment variable, and would like to call it in a workflow.
I am using python to call env variable when i run workflow it says unexpected error occurred and a page refresh is required.