Battery powered devices on the cloud

Hi all! This has been asked a few times but either the posts are many years old or unanswered. I'd like a device (I'm using a MKR NB 1500) to be in a sleep state besides twice a day where it will upload stored values to the cloud, update the dashboard, and return to sleep. I have tried using the LowPower library and it causes the Arduino to not be able to connect to the cloud after sleep. Has anyone had success doing this or something similar? I am starting to think putting devices to sleep is not compatible with the IoT cloud

I assume you can write your sketch to do the stored values etc and then return the device to sleep. If your device cannot be programmed to come out of sleep itself then most MCU can be awakened by an external switch on a pin. Probably need an external timer to do that or a Photo cell to detect morning and night ????