# Is it possible to mention in comment or doc via script or API?

**URL:** <https://community.fibery.io/t/is-it-possible-to-mention-in-comment-or-doc-via-script-or-api/3203>\
**Category:** Get Help\
**Created:** [August 23, 2022, 11:24am UTC](https://community.fibery.io/t/is-it-possible-to-mention-in-comment-or-doc-via-script-or-api/3203 "2022-08-23T11:24:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lug-gl](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/lug-gl/32/5293_2.png) [@Lug-gl](https://community.fibery.io/u/Lug-gl)\
**Post date:** [August 23, 2022, 11:24am UTC](https://community.fibery.io/t/is-it-possible-to-mention-in-comment-or-doc-via-script-or-api/3203/1 "2022-08-23T11:24:49Z")

</div>

I want to mention the assignee via automation script or API is that possible?

Greetings Lukas

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [August 23, 2022, 11:50am UTC](https://community.fibery.io/t/is-it-possible-to-mention-in-comment-or-doc-via-script-or-api/3203/2 "2022-08-23T11:50:07Z")

</div>

Do you mean that you want to notify the assignee(s) when the automation is run?  
Notify Assignees is one of the available actions in an automation:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/c/c31117f932ee20bae1ce4e95c826a21e0c881429.png)

Or do you mean something else?

---

<div class="post-metadata">

**Author:** ![Lug-gl](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/lug-gl/32/5293_2.png) [@Lug-gl](https://community.fibery.io/u/Lug-gl)\
**Post date:** [August 23, 2022, 12:16pm UTC](https://community.fibery.io/t/is-it-possible-to-mention-in-comment-or-doc-via-script-or-api/3203/3 "2022-08-23T12:16:43Z")

</div>

I would like to do it via script action because then I can set some conditions like:

if ( something is true) =\> comment with mention person a  
else =\> comment with mention person b

With the standard notify action I am bound to the filter options on top.

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [August 23, 2022, 12:41pm UTC](https://community.fibery.io/t/is-it-possible-to-mention-in-comment-or-doc-via-script-or-api/3203/4 "2022-08-23T12:41:53Z")

</div>

Do you mean that you want to add a comment (that mentions a user) to an entity?

In general, the contents of a comment can be described using markdown, and mentioning a user is done using the following format:

`[[#@xxxxxx/yyyyyy]]`

where xxxxxx is the ID of the user database and yyyyyy is the ID of the user.

I presume that you are comfortable with using scripting to create/update comments.

---

<div class="post-metadata">

**Author:** ![Lug-gl](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/lug-gl/32/5293_2.png) [@Lug-gl](https://community.fibery.io/u/Lug-gl)\
**Post date:** [August 23, 2022, 12:55pm UTC](https://community.fibery.io/t/is-it-possible-to-mention-in-comment-or-doc-via-script-or-api/3203/5 "2022-08-23T12:55:34Z")

</div>

Ahh perfect thank you that’s what I’m searching for!
