IoT readings not returned to zero when no power

Hi I have data coming from thingspeak and when I pull the power off the data not returned to zero bcos of delay in sending data to node-red platform. How do I fix this ?

See this example in the cookbook

https://cookbook.nodered.org/basic/trigger-placeholder