Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Working on setting up a flow for a subscription product. The goal is that a customer can join at any time and they will always get BOXA then at their renewal BOXB and so forth. We want the customer contact tagged with each box they have received so they never get the same one twice.
We have started a flow were it looks for the subscription product, then checks the tags on the customer. It works for BOXA (or seems to) but when the renewal is placed it doesn't catch the BOXA tag on the customer and updates for BOXA instead of BOXB instead.
Here is what we have...
BOX A (BOX A wouldn't work with out it being 'non of the orders' & 'does not include'.)
Then if they have the BOXA tag it should go to this condition for BOXB (and BOX B actions)but it doesn't... it continues the BOXA actions
Again we want it checking customer tags for the previous tag to know what part of the flow to action.
Any help?
I think it's the double negative in the BOXA condition that's causing the issue. Let's say the customer has the tag for BOXA. If you check that none of the tags do not include BOXA, and the customer has BOXA then it will return true. The reason it works on the first pass is because of how empty lists are treated in our underlying language.
I think the logic that you need is to check that none of the customer tags include (or are equal to) the tag.
To learn more visit the Shopify Help Center or the Community Blog.
Hi,
I am trying to write a more simply workflow to find some customer with a particular tag,
but it does not work, as I got an empty string.
Instead I get a record with tag newsletter.
Any suggest on ths?
It's hard to know without seeing the new workflow.
Steve's suggestion above should solve your issue though. Have you tried that solution?
To learn more visit the Shopify Help Center or the Community Blog.
I actually find out the logic does work. The issue is that it seems I can't search for added tags but only for tags that customer already have.
What I mean is that I added the tag "fake" to certain customer(they are test customer) but run the flow to find those with that tag and send an email.
Unfortunately the workflow does not work
It does work only when in the condition I do add
"newsletter" and not my added tag "fake".
Not sure how to fix this in order to "search" for added tags
I have attached 2 screenshots.
The workflow will only find the tags that exist on the customer at the time the `Get customer data` step runs. The workflow in your screenshot is on a scheduled trigger, so it will only get data at that scheduled time.
If you also want to run a workflow any time a customer tag is added, try the Customer tags added trigger.
To learn more visit the Shopify Help Center or the Community Blog.
Also, because you said:
I actually find out the logic does work. The issue is that it seems I can't search for added tags but only for tags that customer already have.
There is a "tags_not:" filter you can use in queries to find customers who don't have a tag.
Thank you.
By the way I found out why ma workflow wasn't working, I have to use correct query:
tag:fake
where fake is my tag
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024