I have a scheduled automation rule that creates a weekly design page using the "Publish new page" action.
While the automation works perfectly, it creates a standard Confluence page by default. Our team has moved entirely to the new "Live Doc" format for real-time collaboration, and I find myself having to manually click "Convert to Live Doc" every time the automation runs.
Is there a way to force the "Publish new page" action to use the live doc content type instead of page?
Hi @Wayne Braganza ,
You cannot directly add a Live Doc using automation since automation is not just creating page, it is "publishing" it and the publish is for regular page. I believe in the near future we may have that feature and I will check the future roadmap for Confluence for that purpose.
But for now, you can use the old-school way: Rest API. Just click "Send web request" as action and call the /pages endpoint.
Note that the "subtype": "live" part is the critical one since we want to create a Live Doc.
Best,
To add a short note on what Barbara and Salih said, here's a feature request for adding this action in Confluence automation: CONFCLOUD-83078: Add Create Live Doc to Confluence Automation
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Wayne Braganza I was going to suggest adding a step after the Publish new page action in the automation to convert the Page to a Live Doc, but this does not seem to be easily accessible. (see https://community.atlassian.com/forums/Automation-questions/How-can-I-use-Automation-to-convert-a-page-into-a-live-doc/qaq-p/3149292 . You might want to read all the way through to the most recent comments from @Darryl Lee)
@Salih Tuç Just a question, since I generally ignore every post here in the community that mentions the REST API. I am also not that familiar with automation.
Does your step create the item as a Live Doc or convert the Page created and published in the automation to a Live Doc?
That is, would you just add a step after the Publish new page action in the automation or instead of the Publish new page action?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Barbara Szczesniak , the answer is "Create the item as Live Doc". It should be replaced with "Publish new page" step in the automation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.