run

Run tag allows you to trigger another script asynchronously. You can pass a payload which is injected as variables to script that is being triggered.


{% json payload %}
  {
    "orders_url": "https://store-url.myshopify/orders.json"
  }
{% endjson %}

{% run "script_handle", payload %}

Script with handle script_handle has orders_url variable accessible with {{orders_url}} when triggered via run tag.

Last updated