Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
I would like to tag all my new orders with
Solved! Go to the solution
This is an accepted solution.
let me try and give you an example
I want to give all orders created with the name Boldmere Infants - the tag of Boldmere Infants
so I created this from the Template
it has the action of this
which is an order.id
now - if I wanted to create another condition for another school - say Wylde Green
can I??? and will the order come in and add the tag I want it to?
Hi Sportology,
Have you tried making a workflow to do this? It seems entirely possible by using conditions in the workflow to create branched logic and then using the data picker to select the fields to add as tags.
To learn more visit the Shopify Help Center or the Community Blog.
It's usually an anti-pattern to create a lot of workflows. Josh is suggesting consolidating them by trigger.
Regarding your use cases, there isn't much detail in there about where you are stuck. I would suggest picking one and going deep on that as it may help you solve the other needs.
Vendor info is per product and on an order that is located:
OR:
LineItems is a list, so you need to work with that list.
Where are you stuck?
Answers and questions - sorry
It's usually an anti-pattern to create a lot of workflows.
Q whats an anti-pattern?
Josh is suggesting consolidating them by trigger.
Q How do I that?
Regarding your use cases, there isn't much detail in there about where you are stuck. I would suggest picking one and going deep on that as it may help you solve the other needs.
I have a lot of orders from Schools - and so I have set up 1 workflow for each school - but I think I should be able to se up one workflow for all Schools for the Flow to identify the school and then add the correct tag - when I first tried it - it added all the tags to the one school order
One main issue I have is with criteria and finding the first (working and correct) criteria in the drop down box -
e.g. Name
Order.lineItems.name
I just cannot replicate it in the drop down of criteria as NAME is not an option as a drop down
- it would useful to have a Duplicate box to tick!!!
Vendor info is per product and on an order that is located:
I have found that one!!! so will try it out
LineItems is a list, so you need to work with that list.
Q but there are lots of line items and as a newbie - its confusing !
How do I find this criteria
I don't understand this question. Haven't you already found it?
Hi Paul
I did ask a lot of questions - which one are you referring to?
maybe its how do it find the criteria
NAME
order.lineitemsname!!!?
I'm not sure what data you are trying to find. There is a name field on line items, which is the same as the product's display name (includes variant info). If you click "Add criteria" and then "Order / lineitems / name" you'll find it. You can also search for "name" and it will narrow options.
I have tried that - but the second criteria I find, never looks like the first - I am trying to have multiple criteria in one workflow - minimising the amount of workflows I have
the first (from template) criteria says
NAME
order.lineitemsname
but if I try and create another criteria underneath this one - I cannot re-create the same syntax , it says
its really confusing and hard to explain - but I want to create a long work flow with multiple conditions and replicate the one I took from the browser is proving impossible
This is an accepted solution.
let me try and give you an example
I want to give all orders created with the name Boldmere Infants - the tag of Boldmere Infants
so I created this from the Template
it has the action of this
which is an order.id
now - if I wanted to create another condition for another school - say Wylde Green
can I??? and will the order come in and add the tag I want it to?
To do that, I would add a second condition and essentially the same logic again. You can connect that second condition directly to the Order created trigger so that the logic for 1 doesn't affect the other.
Some times I cannot find the same logic as the top option - and then the workflow does not work
like
NAME
order.lineitemsname
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024