# How to make sure that only one message is sent every few minutes

**URL:** <https://discourse.nodered.org/t/how-to-make-sure-that-only-one-message-is-sent-every-few-minutes/88360>\
**Category:** General\
**Created:** [29 May 2024 16:09 UTC](https://discourse.nodered.org/t/how-to-make-sure-that-only-one-message-is-sent-every-few-minutes/88360 "2024-05-29T16:09:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![HaVi](https://avatars.discourse-cdn.com/v4/letter/h/b3f665/32.png) [@HaVi](https://discourse.nodered.org/u/HaVi)\
**Post date:** [29 May 2024 16:09 UTC](https://discourse.nodered.org/t/how-to-make-sure-that-only-one-message-is-sent-every-few-minutes/88360/1 "2024-05-29T16:09:04Z")

</div>

When a certain MQTT message arrives, Pushover sends a message. When a trigger sends MQTT messages in short succession, far too many messages are received.

Do you know what the best way is to build in a delay so that the next message is only sent after 5 minutes? In other words, no more than one message may be sent every 5 minutes.

![MQTT](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/a/5acbf88192ddb58180f2c8b7331213cf0bea8d50.png)

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [29 May 2024 16:16 UTC](https://discourse.nodered.org/t/how-to-make-sure-that-only-one-message-is-sent-every-few-minutes/88360/2 "2024-05-29T16:16:45Z")

</div>

Hi @HaVi

Use the `delay` Node in Rate Limit Mode

![Screenshot 2024-05-29 at 17.16.17](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/1/d181d6e83042f8bcad97e2fad342858f58f1e5db.png)

---

<div class="post-metadata">

**Author:** ![HaVi](https://avatars.discourse-cdn.com/v4/letter/h/b3f665/32.png) [@HaVi](https://discourse.nodered.org/u/HaVi)\
**Post date:** [29 May 2024 16:27 UTC](https://discourse.nodered.org/t/how-to-make-sure-that-only-one-message-is-sent-every-few-minutes/88360/3 "2024-05-29T16:27:05Z")

</div>

Thanks Marcus, that's exactly what I needed and it works perfectly 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [12 June 2024 16:27 UTC](https://discourse.nodered.org/t/how-to-make-sure-that-only-one-message-is-sent-every-few-minutes/88360/4 "2024-06-12T16:27:19Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
