Get Events info


#1

Hello,

I have been creating webhooks for task, because I want to know when it is finished and when it is commented on.
The webhook that I currently have is that I send an email with the events list, but I have noticed that the same event is sent in the events list multiple times, why is this so?


#2

Or is there a way I can filter out finished task events?


#3

Asana’s event model is quite noisy; it often sends the same event multiple times. You’ll have to make your event-handling code idempotent so that it properly handles the receipt of more than one occurrence of the same event.


#4

No, there’s no filtering available on events or webhooks; you’ll have to filter on your end.


#5

Oh :disappointed_relieved:
thank you Phil for the quick response!