All things Shopify and commerce
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
I need to make a Flow - where the Flow app tags customers on the basis of last 365 days Purchase.
I want the flow to change the tag in customers when they reach a certain amount spent in the last 365 days
similarly changes the tag if their total falls with time as their total amount falls in future if they don't buy
Hi @DP8
I totally get what you're trying to do—you want to create an automated Shopify Flow that tags customers based on their spending over the past 365 days. The key is setting up conditions that update these tags dynamically as their total purchase amount changes over time.
1-Trigger: "Customer Created" or "Customer Updated"
2-Condition: Check the Total Spent in the Last 365 Days
3-Action: Add/Remove Tags Based on Purchase Amount
1-Trigger:
2-Condition: Check if the customer’s total spent in the last 365 days meets your threshold.
3-Branching Logic:
If you want to modify this in the Shopify Flow app manually, here’s a basic JSON structure:
{
"version": "1",
"triggers": [
{
"type": "order_paid"
}
],
"conditions": [
{
"field": "customer.total_spent",
"operator": "greater_than_or_equal_to",
"value": "1000"
}
],
"actions": [
{
"type": "add_customer_tag",
"parameters": {
"tag": "VIP"
}
}
]
}
(You can modify the threshold values based on your needs.)
Let me know if you need more tweaks! Happy to help.
Thanks,
Daisy.