There is a thread on using Google Doc and a script to read Spark.variables().
Is this what you want to do?