Automation: Due Today, Tomorrow, This Week
Asked by Fallon Scoggins:

Hi Trello community,

I am trying to create a series of butler rules that will do the following:

Automate the movement of cards by Due Date:

* When a card is due today, regardless of which list it is in, Move it to list DUE TODAY.
* When a card is due tomorrow, move it to list, DUE TOMORROW
* When a card is due sometime this week (Other than Today and other than tomorrow), move the card to DUE THIS WEEK.
* When a card is due next week, move it to DUE NEXT WEEK
* For these rules- I would like the rule to work when a card is 1)created and a due date is added, and 2)when a due date is added/updated to an existing card.

I'm also trying to do it also by dragging cards to Lists:

* When a card is dragged to list DUE TODAY, update due date to today
* When a card is dragged to list DUE TOMORROW, update due date to tomorrow, etc.
* Etc.

I was having a problem finding the right butler construction to ensure both of these type of rules (By Due Date, By Dragging to List and updating due date) work in harmony.

Any ideas,

Thanks!


Answers:
author: Roland Kov?cs
body: I had similar questions, but I found the solution :)

<br />

Here it is:

"Calendar" -\> "Scheduled Commands"  
every day, move each card in list "This week" due tomorrow to list "tomorrow"

We can't insert a sort of command but I have a another command to the sort of list so it's okay.

![Trello_calendar_save.png](https://community.atlassian.com/t5/image/serverpage/image-id/171845i65F2F36E1C28E0E0/image-size/large?v=v2&px=999 "Trello_calendar_save.png")

And the rules is:

![Trello_calendar_save2.png](https://community.atlassian.com/t5/image/serverpage/image-id/171848iB7C006B44BA985AE/image-size/large?v=v2&px=999 "Trello_calendar_save2.png")![Trello_calendar_save3.png](https://community.atlassian.com/t5/image/serverpage/image-id/171847i89A8E84558AB10CE/image-size/large?v=v2&px=999 "Trello_calendar_save3.png")

Cheers ;)


author: milynnus
body: [@Fallon Scoggins](/t5/user/viewprofilepage/user-id/2353112)

At a quick glance, all doable with Butler Due Date and Rules.

Also note that 5th point when card is created with a due date set...that will be a rule command and the card gets registered to be monitored and activated by Due Date commands you have set and are active.

The drag cards into a list you can use either "added" or "moved into" ...do note the scope for "added".

comments: author: Fallon Scoggins
body: Thank you!

Do you have an example of what one of the butler commands would look like?

Thanks


author: milynnus
body: [@Fallon Scoggins](/t5/user/viewprofilepage/user-id/2353112)

First on the list :

![Screen Shot 2021-06-29 at 1.03.55 PM.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/149230iBA8FC8B766714CDF/image-size/large?v=v2&px=999 "Screen Shot 2021-06-29 at 1.03.55 PM.jpg")


author: Roland Kov?cs
body: Hi milynnus,

Please help me too. I am looking for a solution to create the rules below.  

* **When a card is due tomorrow, move it to list, DUE TOMORROW**
* **When a card is due sometime this week (Other than Today and other than tomorrow), move the card to DUE THIS WEEK.**
* **When a card is due next week, move it to DUE NEXT WEEK**

When i change the Due time, "Rules" works prefectly but the automate "Due Dates Commands" not.

<br />

Thank you!