Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
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.
Solved! Go to the solution
This is an accepted solution.
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.
This is an accepted solution.
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.
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025