Java Script Help: Exporting Variables from Storyline to Excel using Power Automate

Dec 17, 2021

Hey all,

I am aiming to use Javascript and Microsoft Power Automate to export variables from Storyline into Excel.

I've been using this video to get me started -> https://www.youtube.com/watch?v=nPpjfW-Zo10&t=98s

So far, the flow I made in Power Automate has not triggered. I assume that means there is a problem with the Javascript code in Storyline that is preventing it from sending the HTTP request to trigger the Power Automate flow. Can a kind soul check out my Javascript code and confirm that it does what I need it to do? I am happy to provide additional information if needed.

4 Replies
Erik Eastland

Problem solved! I assumed that the "Numeric Entry" input would produce an integer variable, but java was picking up the variable as a string.

After changing the schema in Power Automate from integer to string for that variable, it worked flawlessly!

Edit: Use 'number' instead of 'integer' if your variable could be a decimal