---
title: "7.  Automation based on Comment Labels"
canonical: "https://support.covectors.io/space/CTFJ/1581252611/7.%20%20Automation%20based%20on%20Comment%20Labels"
format: markdown
---
Comment labels can be used as automation triggers.

Examples:

- When a comment is labeled “Decision”, move the issue to “Approved”
- When a comment is labeled “Customer Feedback”, send a Slack notification
- When a comment is labeled “Bug Evidence”, attach screenshot links to the bug field

This converts conversations into workflow signals.

**The following section is the same as in the old documentation **

We made support for automation actions available in the app based on comment labels.

To configure your automation, follow the steps below:

1- Go to the project automation panel

![image]()

2- Create a new rule and set the automation trigger as “**Incoming webhook**”. The logic behind is that when a label is set in a comment within a specific project, information is sent to a webhook, and actions are triggered based on the configured rule.

3- Copy the **webhook URL** and **Secret key.** That information must be saved in the App interface to inform the App about details to be sent to Webhook (Step 5 below)

![image]()

 

Configure your rule to execute an action based on the comment label text value as follows:

![image]()

This value can be extracted via webhook data, as following:

```
{{webhookData.labels}}
```

4- Navigate to Apps > Comments Toolkit > Webhook Configuration

![image]()

5- Create a new webhook and set the copied URL and Secret Key with the associated project as follows:

![image]()

Once stored, the action will be triggered each time the label is set in the comment.