Webhooks simplify a lot of processes on your application. They automate the pull requests, merging, pushing and others. You can create an event that would trigger the webhook request which will do the work for you. 

In this article, you're going to learn about Gitlab.

Take the following steps to add webhooks in Gitlab:

1. Go to your GitLab account

2. Navigate to a repository you want to add webhooks for and find the Settings section. 

Gitlab Repository Settings

3. Click on the Webhooks tab.

4. Enter the URL you want POST requests to be sent to.

5. Set the Secret Token, so the URL you send the requests to can verify they are from GitLab.

6. Select the Trigger Events under which the webhooks should be sent. 

Note: if you choose Push events you also have to specify the branch or wildcard pattern to trigger on. If you want all pushes to trigger the URL, just leave this field blank.

Configure Gitlab Webhooks

Once you select all events you want to trigger the webhooks in GitLab, press the Add webhook button.

Add Webhooks in Gitlab

That's it. It is really simple to set up webhooks in Gitlab and even simpler to manage your app with them.