Asana AI - comment on date change

Hello,

Does anyone have a rule recommendation for AI?

Use case: I want to create an Asana AI rule.

I create the project and set task the dates. NO action happens.

I CHANGE the due date of a task. A comment is generated to say the previous due date.

Currently, the rule I set up leaves a comment on every task as soon as I set the due date.

Current AI guidance:

When the due date is set for the first time, don’t leave a comment

When the due date changes after it’s set, leave a comment

Comment should contain the previous due date for the task

FLOW:

When due date is changed
Check if due date is not empty
Do this: Add comment to task. Previous due date was Use AI

Welcome back to the forum @Kamilla_Berdin :slight_smile:

What you’re trying isn’t working because the condition - the task has a date - always results into true, whether it had a due date before the rule was triggered or not.

These are the actual conditions, which should’t be in the guidance, in the “Check if” section.

Something like this might produce a better result:

To be mindful of your credit consumption I’d advise:

  • To comment with text, as generating output consumes a lot of credits.
  • To use a cheap AI model, as this isn’t something that likely requires heavy processing.

Hi,

This is great!

How can I modify this logic - eg. the due date is shifted 5x.
The AI records all 5 changes?

I think the history of the task data should be included. But that’s easy enough to test I’d say.

Another method would be to increment a number field, with what I describe here: 🎁 Get an indication of process (in)efficiency with AI Studio

It’d probably be a better idea to use a script action instead though.

what kind of script? where would i implement it please?

Hi @Kamilla_Berdin,

I’d advise to check out @Arthur_BEGOU’s post about Script actions:

1 Like