> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.omegatheme.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Add tag to a customer


# 1. Create workflow

Go to main tab **Workflow list** -> Click **Create a workflow** button to start setting up your rules.

# 2. Set up trigger

Select the workflow trigger to define when an order/customer is tagged or when the condition starts. We have 5 triggers:

* When orders are created
* When orders are updated 
* When orders are fulfilled
* When orders are paid
* When orders are cancelled
* When customers are updated

# 3. Set up condition

There are 7 categories to set the rules and each of them will have its own criteria. Dive in here: [Definition of Conditions](https://help.omegatheme.com/en/article/criteria-options-7r7g1x/)with a definition of all options you can choose.

E.g. If you want to add a tag with their total spent on your store like 12M.

![](https://storage.crisp.chat/users/helpdesk/website/8383e5404a31c000/image_hz921d.png)

# 4. Add tag

To filter your customers, you can use the Add tags to customers feature. There are two options for you to add tags to customers:

* Add tags to customers the same as orders
    
* Define tags using fixed tags or variable tags![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_18je7tk.png)

This is how it look like in Customer detail.

![](https://storage.crisp.chat/users/helpdesk/website/8383e5404a31c000/image_11cex75.png)

# 5. Auto Schedule

Auto Schedule allows you to remove or update the customer tags (that you just add) after a certain period of time or on a certain date.

It means that let's say today you set up a workflow to add tag `**sale**` to customer. But then after 7 days, end of sale seasons, you can use Auto Schedule to remove or update the tag.

![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_1rip33z.png)


You can also update the tag `sale` to another tag like `summer sale` ![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_1v4phnr.png)
