Not strictly a flow, but a function. Could be realized a simple node.
The functions delay emitting the message until no more updates arrives up to prefixed timeout, after which the latest msg is sent.
if(!context.get('cache')) { context.set('cache', {}); } var cache = context.get('cache'); if(cache[msg.payload]) { clearTimeout(cache[msg.payload]); } cache[msg.payload] = setTimeout(function() { node.send(msg); delete cache[msg.payload]; }, 5000)