Hello,
Thank you both for getting back to me.
Took me a while to come back with an answer because I first had to learn to enter credentials on the ‘OL Connect Proxy Address’ page to get the Data Mapping stage to work! Hey ho… I’m very new to this system 
I’ve gone with JSON as I’m comfortable working with JavaScript. I’m running debug a step at a time and I can see that the output from the Data Mapping step is a json file with this structure:
[
{ schema: {xx},
id: xx
datasetid: xx
fields: {xx}
},
{ schema: {xx},
id: xx
datasetid: xx
fields: {xx}
},
…
]
the ‘fields’ object in each item of the array appears to be contain the data I’m after, specifically:
$_.fields.TemplateToUse
So if I’m understanding correcltly, would be script in the next step be something like:
var fso = new ActiveXObject("Scripting.FileSystemObject");
var inputFile = fso.OpenTextFile(Watch.GetJobFilename, 1);
if(inputFile.fields.TemplateToUse === "Template1"){
Script.ReturnValue = 1;
} else {
Script.ReturnValue = 0;
}