# How to create a Trigger (How section)

**A trigger is a temporary user condition that enables you to display your campaign in a specific context.** The trigger enables the campaign to be displayed to the configured audience only when additional conditions are met.

## Where to create triggers <a href="#h_01jds945b4rr452bzvyj0zwm5p" id="h_01jds945b4rr452bzvyj0zwm5p"></a>

You can create triggers in 2 areas of the platform:

* in the [**targeting step**](/web-experimentation-and-personalization/targeting-step.md) of the campaign creation flow, inside the segment selection dropdown, by clicking on *Create new trigger*:

<figure><img src="/files/dPWhg7U7vjEpO2TGf2k4" alt="" width="375"><figcaption></figcaption></figure>

* from the [Triggers library](https://app2.abtasty.com/library/trigger-list) by clicking on *Create trigger*

<figure><img src="/files/9UGmyvXVCZ4V7NDXl0TC" alt="" width="563"><figcaption></figcaption></figure>

## How to use the trigger builder <a href="#id-01jds94ra4zy9d4h5gcdyasrew" id="id-01jds94ra4zy9d4h5gcdyasrew"></a>

In both cases, the trigger builder opens:

![](/files/IOTNZm50gHHfiQY4eM12)

From there, you will find a list of criteria categories that will help you define your trigger. Click the chevron to access specific options for that category.

Drag and drop your criteria from the left panel list to the working area on the right.

Each criterion will present different specificities. Fill in the requested fields depending on the trigger criteria you selected (see below for additional explanations on each criterion), and how you want to target your visitors.

With some criteria, you can add more conditions to your targeting by clicking **Add conditions**.

You can combine two or more criteria using AND or OR values found inside the trigger builder’s middle column:

* **AND** means your campaign will only be shown to a visitor if **ALL of the selected trigger criteria** are met (more information in the section below)
* **OR** means your campaign will be shown to a visitor if **at least ONE** **of the selected trigger criteria** is met

Don’t forget to name your trigger in the specific name field, found above the configuration space.\
Click **Save** to save to retrieve it in your trigger library.

<figure><img src="/files/eQ9lEGg0V2ZioYzeKRFJ" alt="" width="563"><figcaption></figcaption></figure>

## The available triggering criteria <a href="#id-01jds95gj2x5c2pyw48krf6ppm" id="id-01jds95gj2x5c2pyw48krf6ppm"></a>

If you need more information about the available criteria to build your triggers (how they exactly work), please refer to our [**reference article about triggers criteria**](/assets-library/creating-and-managing-triggers/list-of-trigger-criteria.md).


---

# 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://docs.abtasty.com/web-experimentation-and-personalization/targeting-step/how-to-create-a-trigger-how-section.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.
