# Add variable for latest comment so that can be used in rules

**URL:** <https://forum.asana.com/t/add-variable-for-latest-comment-so-that-can-be-used-in-rules/1059372>\
**Category:** Product Ideas\
**Tags:** comments, emails, rules\
**Created:** [8 May 2025 21:21 UTC](https://forum.asana.com/t/add-variable-for-latest-comment-so-that-can-be-used-in-rules/1059372 "2025-05-08T21:21:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Damon\_Hemmerdinger](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/damon_hemmerdinger/32/14189_2.png) [@Damon\_Hemmerdinger](https://forum.asana.com/u/Damon_Hemmerdinger)\
**Post date:** [8 May 2025 21:21 UTC](https://forum.asana.com/t/add-variable-for-latest-comment-so-that-can-be-used-in-rules/1059372/1 "2025-05-08T21:21:41Z")

</div>

I would like to create a rule that uses the gmail integration to forward the latest comment to the email address in a custom field. I have everything set, except that I do not see how to pull in the latest comment in the “add variable” dropdown menus. This seems like obviously useful functionality, so I’m wondering if I’m approaching this incorrectly.

---

<div class="post-metadata">

**Author:** ![Larry\_Berger\_lpb](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/larry_berger_lpb/32/276017_2.png) [@Larry\_Berger\_lpb](https://forum.asana.com/u/Larry_Berger_lpb)\
**Post date:** [8 May 2025 21:31 UTC](https://forum.asana.com/t/add-variable-for-latest-comment-so-that-can-be-used-in-rules/1059372/2 "2025-05-08T21:31:20Z")

</div>

@Damon_Hemmerdinger,

I’ve moved your post to where you can click the title to scroll to the top and vote by clicking the Vote button. I’ve also changed the title to clarify the request.

You may also want to vote for this topic, and note this workaround with [Flowsana.net](http://Flowsana.net), a third-party app:

> [@Custom Field showing "Last Comment/Update" of a task would be invaluable](https://forum.asana.com/t/custom-field-showing-last-comment-update-of-a-task-would-be-invaluable/196105/18):
>
> FYI we’ve added this information as part of the [Variable Substitution](https://support.flowsana.net/help/variable-substitution) capability in our [Flowsana](https://flowsana.net) integration. Specifically, we’ve added these variables: {task.LatestComment} - the text of the most recent comment made on the task {task.LatestCommentTime} - the timestamp of when the most recent comment was made on the task {task.LatestUpdate} - the text of the most recent update made on the task {task.LatestUpdateTime} - the timestamp of when the most recent update was made on the task Here’s…

Thanks,

Larry

---

<div class="post-metadata">

**Author:** ![Damon\_Hemmerdinger](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/damon_hemmerdinger/32/14189_2.png) [@Damon\_Hemmerdinger](https://forum.asana.com/u/Damon_Hemmerdinger)\
**Post date:** [9 May 2025 17:37 UTC](https://forum.asana.com/t/add-variable-for-latest-comment-so-that-can-be-used-in-rules/1059372/3 "2025-05-09T17:37:10Z")

</div>

Thank you, Larry - Flowsana unfortunately doesn’t have a trigger for “new comment added,” so I can’t solve that way. Will upvote the topic.
