💬 Surface the Latest comment/update of a task using AI Studio

The ability to surface the latest comment or updates on a task in the List view, has been a long-time request, that has had many of us looking to find a solution, until Asana natively adds this feature.

One such person was @CraigD who was looking to create something similar to Status preview text field in a portfolio. He was very close - I simply nudged him in the right direction to experiment with AI Studio - and alas, Craig worked it out!

This is a formal right-up of this solution but using a slightly more generic approach so many of you can apply this to your projects by using AI Studio.

Within any project, carry out the following steps:

  1. Create a text custom field and call it “Latest Comment” or “Latest update” or “Summary” or whatever suits your workflow. In this case, we will use “Latest Comment”.

  2. Create a rule in AI Studio with the trigger being when “Comment is added”, optionally use a condition and the action, do this: Set Latest Comment to Use AI (use the plus sign on the right of the text box, where you see Use AI below)


    Here is the prompt for you to copy-paste and adjust as you wish:

You are an expert in summarizing comments into bite-size text. Whenever a new comment is posted, summarize it and add it’s contents into the ‘Latest Comment’ field.

Follow the below format: {The date that the comment was posted in DD Mmm YYYY} | {Commenter name} | {Summary of comment}

The summary of the comment should be 10 words or less, summarizing only the latest comment. Keep the summary concise, including the key information from the comment. Do not restate compliments, appreciations or background context.

  1. Optionally, adjust the AI Studio settings to use GPT-4o mini (to reduce the credits used) and use Task data and comments (no need to review activity or linked tasks) to increase speed.

Here are some more examples of comments within a task and the resulting summary that is surfaced in the list view, using AI Studio:

Please also check out @CraigD 's initial post for more tips and and great additions, here and here.

Notes:

  • If you are on Enterprise or Enterprise+ plans you could optionally use the ‘Run script’ action instead of AI Studio; that is, if you code it, of course!
  • If you have Flowsana, this can be achieved using its Variable Substitution capability, as noted here by @Phil_Seeman.
12 Likes

@Richard_Sather , thanks.

It looks interesting, so I’ll give it a try.
I did it. This is great.

1 Like

Thanks @Richard_Sather, for the encouragement and direction! This feature and solution were the essential missing elements to round out my entire system. The only thing that would be the icing on the cake would be the ability to mass apply the rule to multiple projects, but this is a huge win regardless!

3 Likes

Hey @CraigD , yes unfortunately AI Studio rules are not currently available in Bundles (exclusive to Enterprise).

But if you do have access to Bundles, you could create a Bundle with just your text field (added to the library) and a single rule that when a comment is added to a task, then add that task to a project called “Comment summarizer” (or something cooler :sweat_smile: ) that your single AI Studio rule would reside in, as well as the text field. It would then trigger for any task that lands in that project whenever a comment is posted from any of your projects that your bundle is added to.

Is that enough icing for you? :wink:

1 Like

@Richard_Sather Definitely going to see if I can work Enterprise into the budget to take advantage of that! Thanks!

2 Likes

Hi, @Richard_Sather .

Simple question:
Adding a comment activates the rules.
Editing a comment doesn’t activate the rules.

If that’s the case, wouldn’t the title of this post be better as “Comment/Addition” rather than “Comment/Update”?

Hi @ka_nishiyama , indeed there is no trigger when comment is edited. For that (rare?) case, I would add a manual trigger to the rule, to be used after a comment has been edited.

1 Like

@Richard_Sather - this is a fantastic use of AI! Great share! We adapted it a little bit and asked the AI rule to update the text field with a summary of the last four comments so we get a little context for the conversation.

Anyway, great ideas as always Richard!

2 Likes

Is it possible to directly use script to replicate this behaviour?

Hi, @Kai_Tay .

My answer is NO.
The reason is that scripts cannot be summarized.