Confluence Automation Send notification when a page hasn't been viewed for X days/months
Asked by franklin_orellana_arriola:

Hi,

I am looking to automate some of our page hygiene by setting up an automation that notifies a specific individual/group when pages in their space have not been viewed for X amount of days/months.

I have not been able to find a smart value for page date last viewed and have tried to include {{page.dateLastViewed}} under an if statement with no luck.

Has anyone been able to create an automation for this?

Thank you!


Answers:
author: Mikael Sandberg
body: Confluence doesn't have a [smart value](https://support.atlassian.com/cloud-automation/docs/smart-values-in-confluence-automation/) for last viewed currently, it only has it for first published and last updated. You could use the Give feedback under the Help section in Confluence to suggest that they add smart values for last viewed.

![Screenshot 2023-02-02 at 10.54.26 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/237964i24CB50A7E6CEC26B/image-dimensions/196x282?v=v2 "Screenshot 2023-02-02 at 10.54.26 AM.png")

comments: author: franklin_orellana_arriola
body: Thank you for the response. I will provide that feedback :)


author: Aron Gombas _Midori_
body: Use the [Better Content Archiving for Confluence Cloud](https://marketplace.atlassian.com/apps/123/better-content-archiving-for-confluence?hosting=cloud&tab=overview) app for this!

Steps:

1. Set up a content status scheme and apply it to any space, which says that a page turns into "not viewed" status 200 days after its last view:  
   ![content-status-scheme.png](https://community.atlassian.com/t5/image/serverpage/image-id/253526i33DF1883A7073752/image-size/large?v=v2&px=999 "content-status-scheme.png")
2. Set up a notification that runs daily and emails the list of the pages in that status to those people who are owning those:  
   ![notification-scheme.png](https://community.atlassian.com/t5/image/serverpage/image-id/253527iEF84400B0D4015C1/image-size/large?v=v2&px=999 "notification-scheme.png")

As you see from the shots, the details of the status is configurable (name, color, icon, CQL condition), the details of the notification is configurable (schedule, CQL filter, subject, body, recipients, etc.)

All in all it is a super-flexible solution for any sort of Confluence notifications where the built-in notifications are not powerful enough. Discl. this app is developed and supported by my team.


author: Adrian H?lsmann - B1NARY
body: Hi [@franklin_orellana_arriola](/t5/user/viewprofilepage/user-id/4994673)

Confluence automation is a starting point, but you will soon hit limits regarding content lifecycle management.

For instance, it is beneficial to have ownership and dedicated views for showing pages to review or archive as well as analytics on your review process and overall content quality.

For this reason, you might look at **[Breeze](https://marketplace.atlassian.com/apps/1227647/breeze-content-archiving-made-simple-for-confluence-cloud?hosting=cloud&tab=overview)** , available via the [Atlassian Marketplace](https://marketplace.atlassian.com/apps/1227647/breeze-content-archiving-made-simple-for-confluence-cloud?hosting=cloud&tab=overview).

It is far beyond the scope of Confluence automation**and automatically identifies outdated pages and implements review and archiving workflows** for keeping your pages up-to-date.

![3.gif](https://community.atlassian.com/t5/image/serverpage/image-id/258217i0E2C3B7B6DEDB722/image-size/large?v=v2&px=999 "3.gif")

Breeze is a feature-packed **content lifecycle management solution** and includes

* automated content analyses,
* page review and archiving [workflows](https://b1nary.io/docs/breeze/workflows/),
* page and space [ownership](https://b1nary.io/docs/breeze/ownership/),
* [reports](https://b1nary.io/docs/breeze/reports-notifications/) and notifications,
* bulk archiving and deletion,
* [analytics](https://b1nary.io/docs/breeze/analytics/),
* [data export](https://b1nary.io/docs/breeze/data-export/) for all your content, ownership, and status information
* and more to update outdated pages quickly and enhance collaboration.

? [**G** **ive it a try**](https://marketplace.atlassian.com/apps/1227647/breeze-content-archiving-made-simple-for-confluence-cloud?tab=overview&hosting=cloud), or feel free to schedule an appointment with me for a [personal demo](https://calendly.com/adrianhuelsmann/breeze-demo).

Cheers and all the best, Adrian from B1NARY (we are the developers of Breeze)


Tags: automation

cloud

confluence-cloud