how can I automate the task in dashboard?
thanks for sharing your question.
The focus on home is user centric and displays reminders, checklist entries records (where the app is properly configured for the focus), you find some more info here.
You can easily create checklist entries and also dedicated records and assign them to users via workflow automation - things would then show up in the assignee(s) focus.
The focus sections visible in your screenshot are user centric though - thereby they cannot be automated at the moment. Users will need to set them up themselves.
I hope that answers your question! Let me know is you need more info.