Forums

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

Smart Values in automation message

Selina Soo April 25, 2024

Hi, 

Trying to use test out using the smart values in my email automation process but I can't even get it to output my space name! In my automation I have tried "{{space.name}}" using this guide: https://support.atlassian.com/cloud-automation/docs/smart-values-in-confluence-automation/

When I do this nothing is outputted.

Am I doing something wrong?

1 answer

0 votes
Valerie Knapp
Community Champion
April 25, 2024

Hi @Selina Soo , welcome to the Atlassian Community and thanks for your question.

Please can you post the rule you are running so we can see a bit better what you are trying to do? An anonymised version is fine.

Cheers

Selina Soo April 25, 2024

@Valerie Knapp It's just a basic email automation that should just output the space name right now - I had other content in there but I couldn't get it to work so I stripped it away.confluence.PNGconfluence email.PNG

Valerie Knapp
Community Champion
April 25, 2024

Hi @Selina Soo , thanks for your feedback. 

The issue isn't the syntax, you will need to use a trigger that gives some indication for which Space name you want to show here, like one of these

image.png

 

As it appears, you have a rule that is being triggered every 10 minutes. If you have a rule, instead, that is called when a Page is published, it should be possible to retrieve the name of the Space for that specific page, if that makes sense. Please can you test this with another trigger?

Cheers

Selina Soo April 25, 2024

Ah I see I've been able to get to work now when I manually trigger the page. Thank you!

I am trying to automate a kind of "monthly lookback" on updates to the space into an email format. Is there a way that I can set one up using this automation method? Unless I manually trigger this at the end of them month each time on the main space..? (Update: just saw I can't put an automation on the main space page) But we want to have a breakdown of what pages have changed under a space from the month so we need to customise the email but looking at the smart values I don't think it has that capability..?  

@Valerie Knapp Also, I'm trying out the {{page.aiSummary}} but nothing seems to output?

Selina Soo April 26, 2024

Does that mean I can't do an automation on a space? 

Valerie Knapp
Community Champion
April 29, 2024

Hi @Selina Soo , thanks for your feedback.

There is a trigger, for example, for when a Space is created

image.png

So it depends on what you want to achieve.

Have you tried searching in here, in the templates? or using the 'show me an example' button?

image.png

These should assist you in formulating the way to ask automation to do what you want.

Hope this helps

Cheers

 

Suggest an answer

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

Atlassian Community Events