Confluence automation

Rajan Dangol
Contributor
January 2, 2025

 

 

Hi,

How can I set up an automation to send out a reminder email for pages that need reviewing and haven't been updated in the last two months?

I have created the following automation, but I am encountering an issue:

  • When the email action is placed within the branch, an email is sent for each individual page.
  • When the email action is moved outside the branch to generate a single email with a list of pages needing updates, the resulting list appears empty.

Could you please assist with resolving this issue?

 

 

Screenshot 2025-01-02 092754.png

1 answer

1 accepted

3 votes
Answer accepted
Tomislav Tobijas _Koios_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 2, 2025

Hi @Rajan Dangol ,

Instead of using branch, you can try going with Lookup pages action.

Although Lookup action in Confluence automation is a bit more limited than the one in Jira, you can still use "Last updated" criteria for this particular case.

2025-01-02 11-22-44.png

And then, in the Send email action, you can make a list of all pages that have been found within search. Something like this may work:

{{#lookupPages}}
* Article: <a href="{{url}}">{{title}}</a>
* Page author: {{author.fullName}}
* Date last updated: {{dateLastUpdated}}
{{/}}

2025-01-02 11-22-47.png

Cheers,
Tobi

Rajan Dangol
Contributor
January 2, 2025

Hi Tobi,

Thank you so much for your support. Its working as expected.

Kind Regards,

Rajan

Rajan Dangol
Contributor
January 2, 2025

Hi Tobi,

 

Is there a way to format the date last updated to "DD/MM/YYYY"?

Tomislav Tobijas _Koios_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 2, 2025

@Rajan Dangol sure. You can use the following smart value:

{{dateLastUpdated.format("dd/MM/yyyy")}}

For more info, I would suggest taking a look at the following documentation: Automation smart values - date and time 

Like Rajan Dangol likes this
Rajan Dangol
Contributor
January 3, 2025

Thanks Tobi, appreciate your support :)

 

Kind Regards,

Rajan

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events