Orders

Update order note with customer total orders

Looks up a customer’s total Shopify order count and writes it into the paid order note.

When to use this template

This template is built for Shopify stores using the JsWorkflows app.

Use this template when you want a ready-made workflow for this use case: Looks up a customer’s total Shopify order count and writes it into the paid order note.

It is designed for Shopify order operations and gives you a production-ready starting point instead of building the automation from scratch.

This workflow uses the Shopify webhook trigger model and starts from the "Order paid" trigger. It includes setup fields for merchant-facing values, so you can configure the workflow before installing it.

Setup guide

Before you start

This template updates the paid order note with the customer’s current total Shopify order count.

Configure in setup

  • Note prefix: text prefix that appears before the numeric order count

Notes

  • Guest checkouts are skipped because there is no customer to count
  • The workflow overwrites the order note with the generated note line

Setup fields

Note prefix
textRequiredconfig

Prefix written ahead of the customer order count in the order note.