You can’t automate the creative part.
What you can automate is repetitive tasks. I have all kinds of Batch scripts set up in Photoshop and use (but don’t write) scripts for InDesign.
Give AI a little time and they might come up with autogenerated “templates” based on parameters, but the same thing will happen that happened with the advent of computers. Everyone using the software the same way and getting the same cookie-cutter results. I was in art school when they installed a computer lab able to run Illustrator 5, Photoshop 3 and Quark. All of the most creative kids in the class allowed the software to hamper their creativity and got stuck in the same design rut until we all got together as a class, with the manuals, and figured out how to make the software do what WE wanted. Don’t let the machine rob your profession of the ability to create.
Check out this thread: