Pass input data from trigger to Run code action

Following on from the solution to my question here, I would like to know how to pass input data from a scheduled trigger to a Run code action in a workflow. As per the screenshots below, I am trying to retrieve the scheduledAt variable within a Run code action; but when I log its value to the console, it shows as NaN.

You are reassigning scheduledAt to be a a different variable, so that JavaScript is not working.

input.shop.timezoneOffsetMinutes is not in your input query, but there might be other issues.

Thanks Paul - I can’t believe I made that mistake! Dearie me … it’s working now.