# 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="/files/OUUlHqowCFcFtUrDzSuv" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/q3o988BZIxBFa7jXA1wO" 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](/auto-tags-documents/definition-of-conditions/criteria-options.md) with a definition of all options you can choose.

{% content-ref url="/pages/kIcimxd8LmWorkcY76Id" %}
[Definition of Conditions](/auto-tags-documents/definition-of-conditions/criteria-options.md)
{% 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="/files/UKdPjqHU7A3eUjMogjuR" 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="/files/hEgaNmMFB4AoWx3Eplsw" 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](/auto-tags-documents/main-features/dynamic-tags.md).

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="/files/42EIb4QGPaFtKRqth45f" 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="/files/6TPHQYEJEMkJy1KD3aZD" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://autotags-omega.gitbook.io/auto-tags-documents/main-features/add-tag-to-an-order.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
