2.0 Beta

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

What changed
Data collection

Gift list: count the gifts

When an order is paid, Shopify Flow adds the units bought from a gift list to the list, so its page shows “2 of 6 gifted” and closes what is complete.

How it runs.

It starts in Shopify: no form involved.

  1. TriggerOrder paid

    A product added to the cart from a gift list page carries the list with it, without anything to set up: the workflow finds it on the order.

  2. ConditionCheck if
    • At least one line of the order was added from a gift list

    Otherwise the workflow stops here.

  3. Action 1

    Read the gift list the order came from (“Get metaobject entry”)

  4. Action 2

    Add the units of each product to the list’s gifted field (“Run code”)

  5. Action 3

    Save the field on the list (“Send Admin API request”, metaobjectUpdate)

What you need, and how to install it.

What you need
  • Shopify Flow, free in Shopify
  • Plan: Server The form that creates the lists needs the Server plan. The workflow itself uses only Flow’s own steps.
  • Add-on: Metaobject creator
  • Element: metaobject-creator with data-type="gift_list", customer-field="customer" and a quantity for each product (data-quantity-for)
  • Element: a list page with smootify-metaobject and data-handle-param="l", and inside it smootify-product with data-id="metaobject.products", data-requested="quantities" and data-fulfilled="gifted", with its add to cart
  • Metaobject definition gift_list, with Storefront access

Settings › Custom data › Metaobjects › Gift list

Gift listMetaobject definition
Typegift_list
TitletitleSingle line text
OccasionoccasionSingle line text
DatedateSingle line text
MessagemessageMulti-line text
ProductsproductsList of product referencesa checkbox group in the form
CustomercustomerCustomer referenceset by Smootify with customer-field
QuantitiesquantitiesJSON: how many of each product the list asks for
GiftedgiftedJSON: how many of each product are already boughtwritten by this workflow
Active-draft status not needed
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 gift_list with the fields below. Turn on Storefront access.
  3. Switch on the Metaobject creator add-on in the Smootify dashboard.
  4. Place the Smootify element in Webflow: metaobject-creator with data-type="gift_list", customer-field="customer" and a quantity for each product (data-quantity-for).
  5. Download the .flow file and import it in Shopify Flow.
  6. Create the Gift list definition with the fields above before importing: the workflow reads and writes the gifted field.
  7. If your definition has another type than gift_list, pick it again in the “Get metaobject entry” step after importing.
  8. Keep the field keys quantities and gifted. With other keys, change FIELD in the “Run code” step and the key in the last step.
  9. Turn the workflow on. The counts start with the next paid order: orders paid before are not counted.
  10. Test it once with a real submission or order, then turn the flow on.

Where people get stuck.

  1. 01

    An order with products from two different lists counts only the last one. Guests usually open one list at a time.

  2. 02

    A cancelled or refunded order does not take the gifts back: correct the gifted field of the list in the admin.

  3. 03

    The count does not stop a sale: two guests who buy the last unit at the same time both buy it.

  4. 04

    gifted is written only by the workflow. Leave it empty when you create a list by hand.

Get the .flow file.

The file is ready. Download it, import it in Shopify Flow, then follow the install steps above.

Related.

Demo store

Not part of a demo store.

More data collection flowsAll 22 flows

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