Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
So i created a workflow where i want a custom integer customer metafield to update its value by 1 (or whatever number)
however i cant seem to make it work. if i put something like {{ 1 | plus: 1}} it ofcourse always will set the values to two. something like {{ value | plus: 1 }} returns an error. is there something obvious i am missing ? any help would be appreciated
Solved! Go to the solution
This is an accepted solution.
Start by sharing the error that you are getting. Do watch out for excess white space by using hyphens like
{{- foo -}}
For accessing the current value, click "add a variable", and choose order / customer / metafield. Then choose the metafield to set up an "alias". Docs are here on this new feature: https://help.shopify.com/en/manual/shopify-flow/reference/metafields#get-metafield-data
Thanks for the quick help, i did it like this now, the workflow suceeds but the value doesnt actually change.
This is an accepted solution.
that was it, seem to have changed it to test something but forgot to change it back, thanks for the super quick help!
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025