Get your phone to sleep, at a set time.
Input your desired sleeping time, and it will fall asleep. A notification will be shown a minute in advance in case you wish to stop the procedure.
This flow works without the use of the Automate premium version.
Rate and review within the app in the Community section.