# Add Trigger

A trigger is a mechanism in a software application that indicates the completion of a particular process and then initiates the next process.

A CI-CD pipeline is a set of tasks that are executed in a specific order. Triggers play an important role in automating and enhancing the capabilities of these pipelines.

A pipeline trigger specifies when a pipeline should be run automatically. Many types of triggers are available such as Jenkins jobs, webhooks, CRON jobs, and even other pipelines. When you add a trigger to your pipeline, it means the pipeline will run whenever the triggering event occurs. It is worth noting that whether or not you have set up a pipeline trigger, you can always run your pipeline manually.

Follow the steps below to add a trigger:

1. Make sure you are editing the **Configuration stage** of the pipeline and click **Add Trigger** button as shown below.

<figure><img src="/files/44nwW5W2zGfUibAX54bV" alt=""><figcaption></figcaption></figure>

2\.  Select the **Type of trigger** and the **Artifact Constraints** from the drop-down menu. Artifacts are required for the trigger to execute. Only one of the artifacts needs to be present for the trigger to execute.

<figure><img src="/files/Jf1lCT37XW0IA5Gd7ppt" alt=""><figcaption></figcaption></figure>

**Available triggers are:**

* Artifactory&#x20;
* Concourse&#x20;
* CRON&#x20;
* Git&#x20;
* Helm chart&#x20;
* Jenkins&#x20;
* Nexus&#x20;
* Pipeline&#x20;
* Plugin&#x20;
* Pub/Sub&#x20;
* Travis&#x20;
* Webhook&#x20;
* Wercker&#x20;
* Docker Registry

3\.  Trigger Configuration options will appear based on the selected trigger. Here we have shown an example for the **Concourse** trigger.

<figure><img src="/files/JczknhJ2rcx9wj3NLXAE" alt=""><figcaption></figcaption></figure>

4\.  Update the required details in the above screen and click **Save Changes** to add a trigger.


---

# 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.opsmx.com/isd-spinnaker/opsmx-intelligent-software-delivery-isd-platform-spinnaker/user-guide/manage-pipelines/add-trigger.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.
