Workflow templatesSave the previous title when a product title changes

Save the previous title when a product title changes

Copy page

When a product's title changes, store the old title in the product metafield custom.previous_title. Useful after bulk edits, imports and AI rewrites, and for search and feed teams who need to know what a product used to be called.

When a product's title changes, store the old title in the product metafield custom.previous_title. Useful after bulk edits, imports and AI rewrites, and for search and feed teams who need to know what a product used to be called.

One trigger, built-in Shopify actions only, no other app needed. Nothing in it is specific to a store, so it works as soon as it is imported.

The workflow in Shopify Flow: Save the previous title when a product title changes
The complete workflow as it looks in Shopify Flow.

What it needs

  • The app's permission Product, Variant & Collection Data Access. See Permissions and data access.
  • Nothing else: turning the workflow on switches the trigger Product Title Changed on in the app.

Install the Workflow Trigger Extensions app and grant Product, Variant & Collection Data Access on its Permissions page. Turning this workflow on switches the trigger on in the app.

Get the workflow

  1. Download the .flow file attached at the bottom of this page.
  2. In your Shopify admin open Flow, click Import and choose the file.
  3. Check the steps, then click Turn on workflow.

The file is an export from Shopify Flow itself. Do not edit it by hand; change the workflow in Flow after importing it.

How it works

  1. Product Title Changed carries oldTitle and newTitle.
  2. The Condition continues when oldTitle is not empty.
  3. Update product metafield writes {{ oldTitle }} to custom.previous_title (single line text).

Make it yours

  • Create a metafield definition for custom.previous_title under Settings > Custom data > Products to see it in the product editor.
  • Add a condition on newTitle to watch for words you do not want in titles.

Next steps