# How to configure create task Webhook

**URL:** <https://forum.asana.com/t/how-to-configure-create-task-webhook/393534>\
**Category:** API & Developers\
**Created:** [8 April 2023 19:05 UTC](https://forum.asana.com/t/how-to-configure-create-task-webhook/393534 "2023-04-08T19:05:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hyacinth\_Ali](https://luna1.co/8d76cd.png) [@Hyacinth\_Ali](https://forum.asana.com/u/Hyacinth_Ali)\
**Post date:** [8 April 2023 19:05 UTC](https://forum.asana.com/t/how-to-configure-create-task-webhook/393534/1 "2023-04-08T19:05:13Z")

</div>

Hi Asana,  
I created a Webhook to be notified whenever I create a task in a particular project. However, I receive four events after creating a task, please see the events:

```auto
[
  {
    user: { gid: '...', resource_type: 'user' },
    created_at: '2023-04-08T18:41:52.410Z',
    action: 'added',
    resource: {
      gid: '...',
      resource_type: 'task',
      resource_subtype: 'default_task'
    },
    parent: { gid: '...', resource_type: 'project' }
  },
  {
    user: { gid: '...', resource_type: 'user' },
    created_at: '2023-04-08T18:41:52.596Z',
    action: 'added',
    resource: {
      gid: '...',
      resource_type: 'task',
      resource_subtype: 'default_task'
    },
    parent: { gid: '...', resource_type: 'project' }
  },
  {
    user: { gid: '...', resource_type: 'user' },
    created_at: '2023-04-08T18:41:52.696Z',
    action: 'added',
    resource: {
      gid: '...',
      resource_type: 'task',
      resource_subtype: 'default_task'
    },
    parent: { gid: '...', resource_type: 'section' }
  },
  {
    user: { gid: '...', resource_type: 'user' },
    created_at: '2023-04-08T18:41:52.704Z',
    action: 'added',
    resource: {
      gid: '...',
      resource_type: 'task',
      resource_subtype: 'default_task'
    },
    parent: { gid: '...', resource_type: 'section' }
  }
]

```

Also, modifying the name of an existing task sends two events to the Webhook server. And finally, clicking add task on my Asana account sends two events to the Webhook server. See the snippet for creating the Webhook:

```auto
{
  "data": {
    "resource": "<project-gid>",
    "target": "https://.../receiveWebhook",
    "filters": [
        {
            "action": "added",
            "resource_type": "task"
        }
    ]
  }
}

```

I would want to know how to configure the Webhook so that I receive exactly one event after creating a task in the project. Also, I do not want to receive any event after modifying or clicking the add task button.

---

<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:** [9 April 2023 14:24 UTC](https://forum.asana.com/t/how-to-configure-create-task-webhook/393534/2 "2023-04-09T14:24:24Z")

</div>

Hi @Hyacinth_Ali and welcome to the forum,

> [@Hyacinth\_Ali](#):
>
> I receive four events after creating a task

I’m afraid that’s just the behavior of Asana webhooks; they are [known to be noisy](https://forum.asana.com/t/weird-webhook-behaviour-on-task-complete-web-hook-is-triggered-several-times/109849/2). As a webhook consumer, you’ll have to write your code to account for this behavior.

> [@Hyacinth\_Ali](#):
>
> I do not want to receive any event after modifying

You are setting a filter which should prevent `change` events but it seems there’s something about it that’s not being properly registered. The only thing I can see is you’re missing a `resource_subtype` parameter; try adding

```
"resource_subtype": "default_task",

```

to your filter and see if that helps.

> [@Hyacinth\_Ali](#):
>
> clicking the add task button

That action generates a new task so since you’re asking for webhook events on new tasks, you’re going to receive webhooks in this case, right?

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/system/32/276370_2.png) [@system](https://forum.asana.com/u/system)\
**Post date:** [30 May 2025 19:02 UTC](https://forum.asana.com/t/how-to-configure-create-task-webhook/393534/3 "2025-05-30T19:02:28Z")

</div>


