Shopify Flow - Use console.log in Run code action

Published

This summary was written by ShopDigest AI from Shopify Changelog’s report. Read the full story ↗

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 orde…

Overview

Shopify Flow now supports console.log in its Run code action, allowing merchants and developers to print text and resource data to the workflow run log. This simplifies debugging JavaScript code within Flow workflows. The feature is documented with limitations, and feedback can be shared in the Shopify community.

Key Details

  • Use console.log("foo", order) to output text and the order resource to the run log.
  • Aids in debugging JavaScript code in Flow's Run code action.
  • Documentation and community forum available for further guidance.

About this story

Published
6 May 2024
Originally published at