# Add tag to an order

### <mark style="color:green;">1. Create workflow</mark>

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

<figure><img src="https://942989665-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC71htPTqqfFjPQyDh5H7%2Fuploads%2FFsxQzN3ph2JlbHpdYXTO%2Fimage.png?alt=media&#x26;token=dd0049fc-4339-44b4-92d0-13bf2830e2b2" alt=""><figcaption></figcaption></figure>

<figure><img src="https://942989665-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC71htPTqqfFjPQyDh5H7%2Fuploads%2FEVJDW5lYxgOTAojhzfyS%2Fimage.png?alt=media&#x26;token=4ec58ba4-5be2-4270-b8e4-19c2759fe901" alt=""><figcaption></figcaption></figure>

### <mark style="color:green;">2. Set up trigger</mark>

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

* When orders are created: When your customers finished check out step (land on your thank you page)
* When orders are updated: When you update any field in one order
* When orders are fulfilled: When you click "Fulfil item" in one order

### <mark style="color:green;">3. Set up condition</mark>&#x20;

There are 7 categories to set the rules and each of them will have its own criteria.\
[Dive in here](https://autotags-omega.gitbook.io/auto-tags-documents/definition-of-conditions) with a definition of all options you can choose.

{% content-ref url="../definition-of-conditions" %}
[definition-of-conditions](https://autotags-omega.gitbook.io/auto-tags-documents/definition-of-conditions)
{% endcontent-ref %}

E.g. To create a rule to Add tag "If one of the items in order has a Product Tag containing PDP, add the tag PDP to that order"

<figure><img src="https://942989665-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC71htPTqqfFjPQyDh5H7%2Fuploads%2Ft4a8YaL9dIAbiF9VlLWS%2Fimage.png?alt=media&#x26;token=6184d374-085c-4980-9c9c-7fef325daab2" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Auto Tag help: You can add more than one condition in one workflow, using <mark style="color:green;">**AND - OR.**</mark>
{% endhint %}

E.g. If you want to sort all products with the name Jeans, you can try this workflow.

<figure><img src="https://942989665-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC71htPTqqfFjPQyDh5H7%2Fuploads%2FYGi2qGG0RTQUXlqkdq58%2Fimage.png?alt=media&#x26;token=dc138a6e-a100-4bcf-8acd-e435514f122e" alt=""><figcaption></figcaption></figure>

### <mark style="color:green;">4. Add tag</mark>

Tick "Add tag to order" and name your tag. You can add fixed tag or[ dynamic tag](https://autotags-omega.gitbook.io/auto-tags-documents/main-features/dynamic-tags).

You can add as many tags as you want and seperate them by a comma and a space. For example: PDF, excel, cvs

For example, you add PDF as a fixed tag.

<figure><img src="https://942989665-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC71htPTqqfFjPQyDh5H7%2Fuploads%2FOLvDtkxmRrY5ciNXjEvI%2Fimage.png?alt=media&#x26;token=51558a5f-ff2d-48df-bb12-add89d5962bd" alt=""><figcaption></figcaption></figure>

And this is your result on Order list. All tags are automatically added. Save tons of your time.

<figure><img src="https://content.gitbook.com/content/C71htPTqqfFjPQyDh5H7/blobs/5hajR6TlRWs8EQjgL0lt/Screenshot_79.png" alt=""><figcaption></figcaption></figure>
