I’m glad you found it useful. If you’re worried that writing things down might wake you up more keep a small notepad and pen next to your bed, so you don’t need to fully get up or turn on bright lights. You could also use a dim light next to you.
The idea is to clear your mind without fully engaging yourself, allowing you to settle back into a restful state. Keeping it simple and quick helps avoid stimulating your brain too much.