Tag orders with upsell products
Every line item that contains a product upsold from a Checkout Block will contain a hidden line item property with a key of _checkoutblocks. You can leverage Shopify Flow to then look for orders containing these keys and tag orders as having had upsells.
Example of a line item added via upsell block
![Tag order upsell](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F6uh16tjz%2Fproduction%2Fba2744685e850c81f7454ee20f2c5b563a5ab203-1332x362.png%3Ffit%3Dmax%26auto%3Dformat&w=3840&q=75)
Sample Shopify Flow workflow
Here is an example workflow that will tag orders checkoutblocks-conversion when they contain upsells. You can upload the workflow to Flow and customize the tag as you see fit.
Download example workflow: https://cdn.shopify.com/s/files/1/0728/3241/8071/files/tag-converted-orders.flow
Workflow preview
![Workflow](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F6uh16tjz%2Fproduction%2F0e66c7bbbc5f3fc22e3a1aeeb9995c179a9c6389-2080x786.png%3Ffit%3Dmax%26auto%3Dformat&w=3840&q=75)
How to upload a workflow
Navigate to the Shopify Flow app within your store admin, then click Import in the top right.
![Update workflow](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F6uh16tjz%2Fproduction%2Fc715e10338481483c05c79ef1e67c2cbff760db5-1616x284.png%3Ffit%3Dmax%26auto%3Dformat&w=3840&q=75)