How to add a TAG in a Order automatically

Hi!

I have a question, and I don’t know if is easy or a difficult question.

In my orders right now under line_items, I have a property called Monogram

                "properties": [
                    {
                        "name": "Monogram",
                        "value": "CM"
                    },
                    {
                        "name": "Monogram Foot",
                        "value": "Both Right & Left"
                    }
                ],

I would like to insert a TAG in each order whenever the property name “Monogram” is used. I would like to do this so that when we go on orders > filter orders within the shopify admin, we are able to locate all orders that have been monogrammed.

Is possible to do in the shopify, or a need to create a PUT to do that?

1 Like

Hi! So I’m not sure what your budget is for this but the simplest thing would be to use an app like https://apps.shopify.com/ordertagger to tag the orders that have that attribute. You could probably write something with the API but an app would be simplest thing.

1 Like

Arigato can also do this for you, along with a million other things. Just search the workflow library for line items. If you get stuck, feel free to reach out to us using the in-app chat feature. :slight_smile:

1 Like

Yeaaaah!

I used that solution! It is working now.

Here is the process I used:

  1. I looked at the order JSON to find the monogram details, as I expected it to be a custom attribute

  1. Then I was able to create the Flow using the name or key of the attribute

3 Likes

Hi I would like to ask where did you put this code in the theme. My goal is to add Tag when an order is created in shopify, thanks in advance

This app is developed from Shopify, don’t need to add any code.

1 Like

Flow requires a Shopify Plus plan, right?

1 Like

Our Order Tagger app would easily allow you to insert TAGS according to the logic you wish to set up! Give it a try and let us know if you need any help in setting up the workflows. Our 24/7 customer support team would be glad to help!

If anyone is wondering what app which is referred here is Shopify Flow

Is a great and free app developed by Shopify team.


shopify-flow-app-09092022.png

2 Likes