May 06, 2024

Shopify Flow - Use console.log in Run code action

You can now use console.log in Flow’s Run code action. For example, when you use console.log(“foo”, order), it will print the text foo and the order resource to the workflow run log during execution. This can make it easier to debug your JavaScript code.

View the Run Code documentation to learn more about console.log, including limitations. For questions and feedback, you can post to the Flow topic in the Shopify community.