Question: what requirements are needed for icloud to automatically backup?
Answer: Make sure that iCloud Backup is turned on in Settings > [your name] > iCloud > iCloud Backup.
Connect your device to a power source.
Connect your device to a Wi-Fi network.
Make sure that your device's screen is locked.