# \[Announce\] Improved Guaranteed Delivery flow

**URL:** <https://discourse.nodered.org/t/announce-improved-guaranteed-delivery-flow/39877>\
**Category:** General\
**Created:** [27 January 2021 15:28 UTC](https://discourse.nodered.org/t/announce-improved-guaranteed-delivery-flow/39877 "2021-01-27T15:28:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [27 January 2021 15:28 UTC](https://discourse.nodered.org/t/announce-improved-guaranteed-delivery-flow/39877/1 "2021-01-27T15:28:03Z")

</div>

I have dramatically simplified my [Guaranteed Delivery](https://flows.nodered.org/flow/05e6d61f14ef6af763ec4cfd1049ab61) which provides queuing and delivery of messages to a remote server, such as email, upload, influxdb writes etc.

I have extracted the delivery logic into a subflow so that it is now very easy to use. For example to use it for email the flow looks like this

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/b/1b65a592ae00d6e1de7f0c233f4547f5e6d9d396.png)

To use for for an alternative application it is merely necessary to provide the delivery flow (the email node in this case) and logic to send back an OK or FAIL message into the subflow to tell it whether to move on to the next message or to wait for a configurable timeout and then try again. In the case of email it is particularly easy to determine success or failure as the email node is well behaved, it may be more complex in other applications.

Influxdb writes can be handled in the same way as email as a recent update to node-red-contrib-influxdb (0.5.4) has provided Complete and Catch capabilities.

---

<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:** [28 March 2021 15:28 UTC](https://discourse.nodered.org/t/announce-improved-guaranteed-delivery-flow/39877/2 "2021-03-28T15:28:32Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [11 January 2025 18:06 UTC](https://discourse.nodered.org/t/announce-improved-guaranteed-delivery-flow/39877/3 "2025-01-11T18:06:34Z")

</div>

Just to add a note this flow has been updated and latest can be found here [node-red-guaranteed-delivery (node) - Node-RED](https://flows.nodered.org/node/@colinl/node-red-guaranteed-delivery)
