Create a new wordpress page using another page template and chatgpt content

Hello! I’m trying to create new content on WordPress based on content received from ChatGPT, while keeping the initial formatting of a WordPress template page. On WordPress, I use the Kadence theme and I would like to keep exactly the same formatting but change the content. I’ve tried telling ChatGPT to look at the content of a WordPress post (using ‘get a post’ and ‘content’) and then to keep the same formatting while changing the content, but I think that’s too complicated for ChatGPT. I can successfully retrieve all the content from the initial page, and I see it in a Google Sheet, for example, but I can’t find a solution to replace this content with new content. What would be the best solution to automate this, in your opinion? Thank you!