# How to use Tag Removed Webhook

Tags help you organize customers.

But what happens when a tag is removed?

That moment is just as important as when a tag is added.

Because a removed tag usually means something has changed:

* A lead has moved to the next stage
* A task has been completed
* A customer is no longer relevant for a campaign

If your system doesn’t capture this change instantly, your data becomes outdated — and your communication becomes inaccurate.

The **Tag Removed Webhook** ensures that doesn’t happen.

The moment a tag is removed, your system is notified — so you can take action immediately.

***

#### <mark style="color:$primary;">**What Is the Tag Removed Webhook?**</mark>

This webhook triggers whenever a tag is removed from:

* A customer profile
* A conversation

In simple terms:

**Tag removed → webhook fires → system updates instantly**

It helps you keep your systems aligned with the latest customer state.

***

#### <mark style="color:$primary;">**When Does This Webhook Trigger?**</mark>

This webhook activates whenever a tag is removed, regardless of how it happens:

* When a team member removes a tag manually
* When a bot removes a tag automatically
* When a workflow updates or replaces tags

No matter the source — the webhook will always trigger.

***

#### <mark style="color:$primary;">**Step-by-Step Setup Guide**</mark>

<figure><img src="https://2303112206-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F53n17VnOICC1LtDqlENV%2Fuploads%2F8bjbtrZfWfLW94Imi8mx%2FUntitled%20design%20-%202026-04-07T124720.018.gif?alt=media&#x26;token=23e6a11c-913b-4026-9896-a9a7b9cd3fb5" alt=""><figcaption></figcaption></figure>

#### <mark style="color:$primary;">**Step 1: Go to Webhooks**</mark>

* Log in to your DoubleTick account
* Go to **Settings**
* Click on **Webhooks**

#### <mark style="color:$primary;">**Step 2: Create a New Webhook**</mark>

* Click **New Webhook**
* Enter a name (example: *Tag Removed Tracker*)

#### <mark style="color:$primary;">**Step 3: Add Webhook URL**</mark>

This is where DoubleTick will send the data.

You can connect it to:

* CRM tools
* Automation tools (Zapier, Pabbly, Make)
* Your backend system

**For testing:**

* Go to **Bot Studio**
* Click **Create New Bot**
* Select trigger → *On Webhook*
* Copy the webhook URL

#### <mark style="color:$primary;">**Step 4: Add Webhook Details**</mark>

* Paste the webhook URL
* Select your API Number (WABA number)
* Click **Continue**

#### <mark style="color:$primary;">**Step 5: Select Event**</mark>

* Select **Tag Removed**
* Click **Create Webhook**

Your webhook is now active.

***

#### <mark style="color:$primary;">**How to Test It**</mark>

Remove a tag from any customer or conversation — or wait for a tag to be removed via bot or workflow

Go to **Bot Studio → Capture Response → View Response Data**

You will see all the removed tag details captured instantly at the exact moment the tag was removed.

***

#### <mark style="color:$primary;">**What Data Do You Receive?**</mark>

| Field      | What It Tells You                                       |
| ---------- | ------------------------------------------------------- |
| from       | The customer’s WhatsApp phone number                    |
| tagId      | Unique ID of the tag that was removed                   |
| tagName    | Name of the tag that was removed                        |
| tagRemoved | Confirms that the tag removal event has occurred (true) |

***

#### <mark style="color:$primary;">**Sample Payload**</mark>

```json
{
  "from": "918291504886",
  "tagId": "tag_i3BrKWJqNA",
  "tagName": "API test",
  "tagRemoved": true
}
```

***

#### <mark style="color:$primary;">**Real-Life Business Use Case: Preventing Wrong Messaging**</mark>

**The Situation**\
A D2C brand runs WhatsApp campaigns like New Offers, Cart Abandonment, and Repeat Purchase, using tags such as Cart Abandoned, Interested, and Converted.

**The Problem**\
Customers who had already purchased were still receiving cart reminders and follow-ups because the **“Cart Abandoned” tag wasn’t removed on time**, leading to poor experience and confusion.

**The Solution**\
With the Tag Removed webhook:

* Customers are instantly removed from irrelevant campaigns
* Moved to the correct segment (e.g., Converted)
* Communication updates automatically

**The Result**

* No irrelevant messages
* Better customer experience
* Improved campaign performance

***

#### <mark style="color:$primary;">**Summary**</mark>

The Tag Removed Webhook ensures your data stays accurate and your communication stays relevant.

It helps you:

* Maintain clean segmentation
* Avoid incorrect messaging
* Automate customer stage transitions

Set it up once — and your system stays in sync automatically.
