I managed to store the data to the flow, and I managed to access it and zero this value via inject node.
What I try to work out to set a secondary and third flow. Weekly and monthly cost.
So ideally I have daily flow stored and I wish to add this value to another flow called weekly and the daily flow should be added to weekly every day of the week. On Sunday at 23:59 trigger a save function and zero the flow at 00:01. This can be achieved by a inject node.
Same for the monthly, but this function should read the date and should make save on the last day of the month at 23:59 and zero the flow at 00:01. In this case I will not be able to use a inject node as it is only allows days.
Would really appreciate if I can get some help.
Thanks in advance.
The rest of the flow is all working nice and when this cost calculation is finished I will share the flow as I am pretty sure others would use it to.