How to @mention users in the 'Add Comment' action of Confluence Automation

Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.

Summary

There may be instances when you want to mention someone in the 'Add Comment' action of Confluence Automation. This article outlines two methods to achieve this.

Environment

Confluence Cloud

Solution

You need to find their Atlassian Account ID to mention someone in an automation rule. You can find it by following the doc:How to get Atlassian Account ID without using API.

You can format it as follows.

1 [~accountId:<Atlassian Account ID>] Ex. [~accountid:5d678db772eab30b725efa2f]

You can also mention a owner of the page by using smart values.

1 [~accountid:{{page.author.accountId}}]
Updated on April 2, 2025

Still need help?

The Atlassian Community is here for you.