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

Setup steps

  1. Open Shopify Flow.
  2. Add the Flow Buddy increment metafield action.
  3. Choose the target resource.
  4. Enter the metafield namespace and key.
  5. Enter the amount to increment or decrement.
  6. Save the workflow.
  7. Run a test event.
  8. Confirm the metafield value changes as expected.

Example

Every completed order increments a customer's lifetime order counter by one.