How to create a table in automation?

I want to automate the following process:

Every day 12:00a.m. create a page -> create a table inside