Button automation for a automation

Is there a way to create a automation through a button?

I have a button that duplicates a page (template) when clicked. This page has a automation, I am hoping that there is the ability to duplicate the page and include the automation as well.

Thanks,

Hello @Erik_Andersson1 ,

Unless I am misunderstanding your question: a doc has automations, pages don’t.
If you duplicate a doc, automations are copied too.

Greetings, Joost

I could be asking the question incorrectly.

On a page a have a button that duplicates that page when clicked. I have a automation that runs based on the initial page. Is there a way to automatically duplicate the automation for the new page.

No, as far as I know that is not possible.