# Can't get webhook to fire only on adding a tag

**URL:** <https://forum.asana.com/t/cant-get-webhook-to-fire-only-on-adding-a-tag/1029102>\
**Category:** API & Developers\
**Created:** [21 February 2025 03:37 UTC](https://forum.asana.com/t/cant-get-webhook-to-fire-only-on-adding-a-tag/1029102 "2025-02-21T03:37:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samuel\_Patterson](https://luna1.co/8d76cd.png) [@Samuel\_Patterson](https://forum.asana.com/u/Samuel_Patterson)\
**Post date:** [21 February 2025 03:37 UTC](https://forum.asana.com/t/cant-get-webhook-to-fire-only-on-adding-a-tag/1029102/1 "2025-02-21T03:37:39Z")

</div>

I am trying to build a webhook that emits when a tag is added to any task in a certain Project. I have tried so many different ways but have been unsuccessful. Here are the filters I am using right now.

```
    "filters": [
        {
            "resource_type": "task",
            "resource_subtype": "milestone",
            "action": "changed",
            "fields": [
                "due_at",
                "Tags",
                "tag",
                "Tag",
                "tags",
                "asignee",
                "name"
            ]
        },
        {
            "resource_type": "tag",
            "action": "added"
        },
        {
            "resource_type": "tag",
            "action": "changed",
            "fields": [
                "name"
            ]
        }
    ]

```

The only behavior I am getting from this is an emitted event when the name or due date has been changed, but nothing else works. What is going on?

---

<div class="post-metadata">

**Author:** ![Phil\_Seeman](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/phil_seeman/32/81525_2.png) [@Phil\_Seeman](https://forum.asana.com/u/Phil_Seeman)\
**Post date:** [21 February 2025 10:03 UTC](https://forum.asana.com/t/cant-get-webhook-to-fire-only-on-adding-a-tag/1029102/2 "2025-02-21T10:03:13Z")

</div>

Hi @Samuel_Patterson,

A couple of things to note:

(1)  
Remove

```auto
       {
            "resource_type": "tag",
            "action": "added"
        },
        {
            "resource_type": "tag",
            "action": "changed",
            "fields": [
                "name"
            ]
        }

```

as it doesn’t have anything to do with changes to tasks which you are interested in.

(2)  
`assignee` is misspelled in your code snippet.

(3)  
You have `"resource_subtype": "milestone",` so you will only receive events on milestones, not on regular non-milestone tasks; is that what you are wanting?

If the above doesn’t lead to a resolution, please post the whole webhook payload (not just the filter) so we can see what’s being submitted.

I’m not 100% sure that task webhooks support filtering on tag changes. It’s not something I’ve tried myself so I can’t say for sure one way or another. If it does, you would want the filter specified as `tags` as that’s the object name on the task; you should remove the other 3 variants.

---

<div class="post-metadata">

**Author:** ![Samuel\_Patterson](https://luna1.co/8d76cd.png) [@Samuel\_Patterson](https://forum.asana.com/u/Samuel_Patterson)\
**Post date:** [21 February 2025 20:22 UTC](https://forum.asana.com/t/cant-get-webhook-to-fire-only-on-adding-a-tag/1029102/3 "2025-02-21T20:22:12Z")

</div>

Here is the entire webhook I created. In my mind, this should emit an event when a tag is added to any event on Zapier. However nothing fires. Only certain fields seem to work, such as name, due\_date, or dependencies. However, the only way I have found to get tag change event is to remove the fields parameter entirely and get all changes.

{  
“data”: {  
“gid”: “1209468885605381”,  
“resource\_type”: “webhook”,  
“resource”: {  
“gid”: “1209359781264646”,  
“resource\_type”: “project”,  
“name”: “Zapier”  
},  
“target”: “[https://baf4-174-29-212-248.ngrok-free.app/asanaProject?resource=12093597812646460&user=5](https://baf4-174-29-212-248.ngrok-free.app/asanaProject?resource=12093597812646460&user=5)”,  
“active”: true,  
“is\_workspace\_webhook”: false,  
“failure\_deletion\_timestamp”: null,  
“created\_at”: “2025-02-21T20:18:08.343Z”,  
“last\_failure\_at”: null,  
“last\_failure\_content”: “”,  
“last\_success\_at”: “2025-02-21T20:18:09.442Z”,  
“delivery\_retry\_count”: 0,  
“next\_attempt\_after”: null,  
“filters”: [  
{  
“resource\_type”: “task”,  
“resource\_subtype”: null,  
“action”: “changed”,  
“fields”: [  
“tags”  
]  
}  
]  
}  
}
