Hi,
I'm trying to make an automation for pages that havent been updated for a certain time.
that is a portion that I got working.
However, I'm running into an issue, when trying to make the mail template in the "send mail" node, it won't list the page, date etc.
This is how I currently have it set up.
Not sure if it is missing something.
What I am trying to achieve is:
Check pages in a space that havent been active for a certain amount of time.
send a email with the page(s) and the date that it has been last updated.
Hi @Remano van Wortel -- Welcome to the Atlassian Community!
There are two built-in templates to create a rule for this scenario. Please review these, modifying them to meet your needs. You may find them in the rule list under "Templates".
Kind regards,
Bill
Hi @Bill Sheboy
I tried the ready made template, but for some reason that one isn't working, which is how we got to the one in the screenshot above.
The only thing that doesn't seem to work is the Email content, not providing a link, location etc in it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Without knowing what did not work with the built-in templates, you may encounter the same challenge with other rules. Regardless of that...
Your current rule is using the Lookup Pages action, and so that references the {{lookupPages}} smart value to access the results:
https://support.atlassian.com/cloud-automation/docs/actions-in-confluence-automation/#Lookup-actions
For example:
{{#lookupPages}}
* {{title}} - {{url}}
{{/}}
I added a smart values condition so no email is sent when there are no pages found. You may adjust that, as needed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
With that it works.
Everything in a single mail, but then it should also be possible to do a single page per mail/ticket right?
or make the url a hyperlink/shortened?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Found out how to do the hyperlinks etc, with HTML format.
works wonders!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Remano van Wortel , Welcome to the community!!
Are you looking to send the page list and other details in a single mail?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
either a page list in a single email, or a mail per page.
Either works, a single mail might be better at the start, and then go towards mail per page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.