What it does
This action increments or decrements a numeric metafield on a Shopify resource.
When to use it
Use it when you need counters, scores, or running totals without race-condition problems.
Before you start
- Install Flow Buddy
- Decide which Shopify resource should be updated
- Confirm the target metafield namespace and key
- Make sure the metafield type supports numeric updates
Setup steps
- Open Shopify Flow.
- Add the Flow Buddy increment metafield action.
- Choose the target resource.
- Enter the metafield namespace and key.
- Enter the amount to increment or decrement.
- Save the workflow.
- Run a test event.
- Confirm the metafield value changes as expected.
Example
Every completed order increments a customer's lifetime order counter by one.