# How can I use Power Automate from Microsoft to be able to @ mention a user?

**URL:** <https://forum.asana.com/t/how-can-i-use-power-automate-from-microsoft-to-be-able-to-mention-a-user/671037>\
**Category:** App Integrations\
**Tags:** comments, microsoft, users, tasks\
**Created:** [19 January 2024 19:23 UTC](https://forum.asana.com/t/how-can-i-use-power-automate-from-microsoft-to-be-able-to-mention-a-user/671037 "2024-01-19T19:23:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Katie\_Sellers](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/katie_sellers/32/81881_2.png) [@Katie\_Sellers](https://forum.asana.com/u/Katie_Sellers)\
**Post date:** [19 January 2024 19:23 UTC](https://forum.asana.com/t/how-can-i-use-power-automate-from-microsoft-to-be-able-to-mention-a-user/671037/1 "2024-01-19T19:23:02Z")

</div>

Hey Asana!

I am building a flow in Power Automate. It is currently creating a task, but I would like to add a collaborator to that task.

So I have added a couple additions steps,

- I have the detail’s for the Asana User that I would like to tag (user name, user id, and email)
- Create a step to create a comment on a task

The part that I cannot for the life of me figure out, is how to format the text so that I can @ mention that user.

Any guidance would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![Stephen\_Li](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/stephen_li/32/279555_2.png) [@Stephen\_Li](https://forum.asana.com/u/Stephen_Li)\
**Post date:** [19 January 2024 22:19 UTC](https://forum.asana.com/t/how-can-i-use-power-automate-from-microsoft-to-be-able-to-mention-a-user/671037/2 "2024-01-19T22:19:56Z")

</div>

Hi @Katie_Sellers ,

Welcome to the forum! I’m not too experienced in Power Automate, so I’m not sure if you’re setting up your own API calls or if there’s some pre-built Asana connector that does this for you. Hopefully the below is helpful, regardless. For clarity, do you want to:

1. Create task with user as collaborator
2. Create task, then comment on the task with an @ mention of the user (which will auto-add them as a collaborator)

If it’s the former, you can just add their ID or email to the `followers` property of your data object when you call [this endpoint](https://developers.asana.com/reference/createtask).

If it’s the latter, you would call that endpoint (you could just add them as a collaborator in the same way if desired), then after receiving a 201 from that call, grab the GID from the returned data object and call [this endpoint](https://developers.asana.com/reference/createstoryfortask) to create a comment. In the `html_text` property of the data object, write your desired message and use an anchor tag to link the person (see [this reference](https://developers.asana.com/docs/rich-text#links-1) for guidelines on acceptable html tags and how to tag Asana objects).

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/system/32/276370_2.png) [@system](https://forum.asana.com/u/system)\
**Post date:** [30 May 2025 19:00 UTC](https://forum.asana.com/t/how-can-i-use-power-automate-from-microsoft-to-be-able-to-mention-a-user/671037/3 "2025-05-30T19:00:40Z")

</div>

Closed on 30 May 2025 19:00 UTC


