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.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025