2.0 Beta

Smootify 2.0 is in public beta. Your 1.x store keeps working. Move when you want.

What changed
Reviews

Product rating from your reviews

Every night Shopify Flow adds the newly approved reviews to each product’s average rating and review count, ready for the stars on your site.

How it runs.

It starts in Shopify: no form involved.

  1. TriggerScheduled time

    Flow has no trigger for a review being approved (a draft becoming active), so the workflow runs once a day, at 2:00 Rome time in the file.

  2. ConditionCheck if
    • Only active reviews not counted yet

    Otherwise the workflow stops here.

  3. Action 1

    Get metaobject entries: the reviews, up to 100 per run, oldest update first

  4. Action 2

    Run code: group the new reviews by product and compute the new average and count from the product’s current ones

  5. Action 3

    Write the product’s standard metafields reviews.rating and reviews.rating_count (“Send Admin API request”: metafieldsSet)

  6. Action 4

    Mark each review as counted (“Send Admin API request”: metaobjectUpdate)

What you need, and how to install it.

What you need
  • Shopify Flow, free in Shopify
  • Plan: Every plan The workflow runs in Shopify. Collecting the reviews needs the metaobject creator, which is on the Server plan.
  • Element: metafield="rating" with namespace="reviews" on the product page or card, for the stars; metafield="rating_count" for the count
  • Metaobject definition review, with Storefront access
  • The standard product metafields reviews.rating (Rating) and reviews.rating_count (Integer), with Storefront access, to show them on the site

Settings › Custom data › Metaobjects › Review

ReviewMetaobject definition
Typereview
RatingratingRatingfrom 1 to 5
ProductproductProduct reference
AuthorauthorSingle line text
BodybodyMulti-line text
CountedcountedTrue or falsewritten by the workflow
Active-draft status on: entries wait as drafts
Storefronts access on: the site shows the entries

Each field's key is the Name of a field in the Webflow form, written exactly the same.

How to install
  1. Install Shopify Flow from the Shopify App Store. It is free in Shopify, but it is a separate app.
  2. In Shopify, create the metaobject definition review with the fields below. Turn on Active-draft status and Storefront access.
  3. Place the Smootify element in Webflow: metafield="rating" with namespace="reviews" on the product page or card, for the stars; metafield="rating_count" for the count.
  4. Download the .flow file and import it in Shopify Flow.
  5. Add the counted field (True or false) to the review definition. Only the workflow writes it: the form does not send it.
  6. In Settings › Custom data › Products, add the standard definitions Product rating (reviews.rating) and Product rating count (reviews.rating_count) and give them Storefront access.
  7. After the import, set the time and the time zone of the schedule.
  8. Test it once with a real submission or order, then turn the flow on.

Where people get stuck.

  1. 01

    The average only goes up with new reviews: a review you unpublish or delete after it was counted stays in the average.

  2. 02

    Each run counts at most 100 new reviews; the rest wait for the next night.

  3. 03

    Without the counted field the workflow would count the same reviews every night.

Get the .flow file.

In Shopify Flow, choose Import and pick the file. The workflow opens turned off: check that it reads your metaobject definition and its field keys, then turn it on.

Related.

Webflow writes.
Shopify reacts.

Forms that write to Shopify are on the Server plan, and Shopify Flow is free in Shopify. One Shopify app, billed on the store’s Shopify invoice.

  • One app on the Shopify bill, not ten
  • Free to build, pay only when you go live
  • Works on Basic, Grow and Advanced
  • Your 1.x store keeps working
  • Every element stays yours to change
  • Docs indexed in llms.txt