I am creating an automation rule that creates a page from a template when another page is created (from a specific template) and as a child page.
I am able to create the automation rule and it functions as intended for everything above except creating the new page (lets call this page "b") under the original page that was created and that triggered the automation (let's call this page "a").
I know the publish new page action does not support creating under the page that triggered the automation BUT I am able to work around that gap by interacting with the confluence rest api through the "send web request" action. I also have the send web request action working, however I need to reference the original page id (page "a") to set as the parent for the new published page (page "b").
I see in the audit log there is a link to associated items which includes the published page.
Is there a smart value I can reference to get the page id of that newly published page in the automation (page "b" in the example above)?