Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Delete the contents from a page before updating the same page

Prasanna Subramaniam
April 5, 2026

Dear Community,

 

I am using a Scheduled Job automation to generate a Confluence page. This job runs daily and creates a page with the list of open risks across my teams.

A Rovo agent is used to read the risk registers from multiple teams and consolidate them into this page.

Before each run, I want the existing content on the page to be completely cleared and then updated with the latest risks. Currently, the new content is getting appended to the existing page, which is not the desired behavior.

Thank you

1 answer

1 vote
Trudy Claspill
Community Champion
April 5, 2026

Hello @Prasanna Subramaniam 

Can you share with us screen images showing the entirety of the rule you are currently running?

Prasanna Subramaniam
April 5, 2026

 Hello @Trudy Claspill ,

Below is the sequence

Triggers

- Scheduled at 12 Noon on week days

Then

- Risk Rovo Agent to consolidate the data

And

- Edit confluence page

Trudy Claspill
Community Champion
April 5, 2026

Thank you for the additional information.

Can you share with us the details of the Edit Page action?

Prasanna Subramaniam
April 5, 2026

I see this at the top - Append content to the end of a page.

But I didn't set that . How do I change it

Trudy Claspill
Community Champion
April 5, 2026

Hello Prasanna,

Unfortunately you cannot change that. The Edit Page action appends content to the page by design.

If you want to replace the content entirely you would need to use a Send Web Request action to update the page:

https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/#api-pages-id-put

Or, delete the original page and create an entirely new page rather than edit the existing page.

Like Bill Sheboy likes this
Prasanna Subramaniam
April 5, 2026

Thanks for your Inputs @Trudy Claspill .

Is there an option to Delete the confleunce page by automation ?

Trudy Claspill
Community Champion
April 6, 2026

Yes, there is a Delete Page action listed in the Confluence Cloud Automation documentation on the Actions page:

https://support.atlassian.com/cloud-automation/docs/actions-in-confluence-automation/

Aron Gombas _Midori_
Community Champion
April 7, 2026

@Prasanna Subramaniam If I were you, I would:

  • always create a new page, but I would include the current date in the page title (e.g. "Risk registers on 04/07/2026")
  • before creating the new page, archive (not delete) all pages whose title matches this pattern 

This way you will also have an archive of all previous risks, which can be valuable in the future. (Hard deletion should be avoided in most cases, IMO.)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
TAGS
AUG Leaders

Atlassian Community Events