# Debounce in Executed Automation

**URL:** <https://community.fibery.io/t/debounce-in-executed-automation/2429>\
**Category:** Get Help\
**Created:** [January 22, 2022, 5:33am UTC](https://community.fibery.io/t/debounce-in-executed-automation/2429 "2022-01-22T05:33:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![haydnhkim](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/haydnhkim/32/1430_2.png) [@haydnhkim](https://community.fibery.io/u/haydnhkim)\
**Post date:** [January 22, 2022, 5:33am UTC](https://community.fibery.io/t/debounce-in-executed-automation/2429/1 "2022-01-22T05:33:21Z")

</div>

I want to send some entity changes to Slack.  
Some entity has a lot of data that needs to be filled, but it is difficult to call at the desired time because it occurs as an action every time a field is changed.  
For example, in the case of the dates field, two actions occur when the start date is changed and when the end date is changed.  
I was trying to write a Debounce function to send a message to Slack only for the last change.  
However, there doesn’t seem to be a setTimeout in the scripts in Automation.

Is there any way to solve this similar issue?

---

<div class="post-metadata">

**Author:** ![haydnhkim](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/haydnhkim/32/1430_2.png) [@haydnhkim](https://community.fibery.io/u/haydnhkim)\
**Post date:** [January 22, 2022, 6:03am UTC](https://community.fibery.io/t/debounce-in-executed-automation/2429/2 "2022-01-22T06:03:37Z")

</div>

It’s self-explanatory.  
I decided to use Slack’s `chat.update` api to handle it.
