> For the complete documentation index, see [llms.txt](https://docs.abtasty.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.abtasty.com/server-side/integrations/webhooks-integrations/how-to-trigger-cicd-pipeline-when-modification-update.md).

# How to trigger CI/CD pipelines when modifications are made

### Configure the webhook event: "Synchronized environment"

On the webhook integration page, you can configure an API to call when a modification is made on the platform or the remote control API. The event type you must configure is `[Environment] Synchronized`. For this type of event, you can configure the following parameters :

* Description
* URL
* Headers
* Payload parameters (in body)

### How does it work?

![](/files/dvAqZ35yl05H39IlTtWI)

### How to configure the pipelines APIs ?

#### Dispatch a github.com workflow

Github.com allows you to manage your CI/CD with workflows. You can manage it and run workflows manually by calling the github api : <https://docs.github.com/en/rest/actions/workflows?apiVersion=2022-11-28#create-a-workflow-dispatch-event>.

![2490](/files/8gHJt4dc8R51fG2JY1n6)

#### Trigger a gitlab.com pipeline

Gitlab.com allows you to manage your CI/CD with pipelines. You can manage it and run pipelines manually by calling the gitlab api :\
<https://docs.gitlab.com/ee/ci/triggers/>

![2392](/files/gBTXRofiPJErjNJRWFUg)

#### Trigger another pipeine

With Flagship webhook management, you can configure another api you want to trigger your own pipeline running. If you encounter an issue, please contact support.

### Check the status of your last pipeline

On the webhook management page, you can see the list of your configured webhooks. For the `[Environment] Synchronized` event, a column Status indicates the last status returned (and the date) when the call was made :

* **Success** when the call returned a 20X or 30X status code.
* **Error** when the call returned a code 40X or 50X status code.
* **Pending** when no first call has been made.

![2266](/files/YlxtZtengedTGZSyYoNv)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.abtasty.com/server-side/integrations/webhooks-integrations/how-to-trigger-cicd-pipeline-when-modification-update.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
