Can I automate moving a card to a specific list based on a custom field or due date?
Asked by Pamela Laurie:

We have a board dedicated to booked events, and every event has its own card. The first list on the board is "New Events" and is where the Sales Team drops the cards once an event has been booked. Then there are a number of things that are triggered for me to do on the operations side. The rest of the lists on the board are the months - so right now the 2nd list is "June", the next is "July" and so on. After I have completed my initial tasks, I check off the first item on the checklist which triggers the label to change. I would also like it to move the card to the list that corresponds with the month the event is happening, so if it is an event happening in October, it would move to the list "October". We have a custom field on the cards called "Event Date" that the automation could reference. I could also give the card a Due Date if that could make it happen. Any ideas on how I could pull this off?


Answers:
author: milynnus
body: [@Pamela Laurie](/t5/user/viewprofilepage/user-id/5035729)

Try using {{%Event Date\~MMMM}} in list name in your move.

comments: author: Pamela Laurie
body: I'm not sure how I use that to set up an automation. Could you elaborate?


author: Dreamsuite Mike
body: [@Pamela Laurie](/t5/user/viewprofilepage/user-id/5035729)

Automation:
> When the custom field "Event Date" is set, move the card to the list "{{customfieldvalue\~MMMM}}

MMMM represents returning the only the month in its full form so January, February, March and so on...


author: Pamela Laurie
body: Sorry, I'm not getting it to work. I created the automation:

when the "Send loop reply" item is checked in a checklist named "Ops Checklist - Pamela EVM", remove the dark sky "New for Pamela" label from the card, add the dark green "Loop Reply Sent" label to the card, and move the card to the top of list "{{Event Date\~MMMM}}"

It moves the card to a new list literally called {{Event Date\~MMMM}}. I'd love some help or if you have a link to a resource where I could learn more about how to use variables, that would be even better! Teach me to fish :). I checked out:

<https://support.atlassian.com/trello/docs/butler-variables/>

but it's far from exhaustive. Thanks for the help!


author: milynnus
body: [@Pamela Laurie](/t5/user/viewprofilepage/user-id/5035729)

Use {{%Event Date\~MMMM}}


author: Pamela Laurie
body: Nevermind, was just missing the % at the beginning of the custom field name. It's working now!


author: Oliver Rathonyi-Reusz
body: I have a similar question and hope it's ok I just jump in on this thread... I would like to move the card to a list on another board where the list name is the beginning of the card name... i.e. When card "Client - Jobname" is moved to the list "Done" move to List " starts with {triggercardname} {variable for client" on Board "Client Archive"

I am trying to figure out how to structure the variable for moving to a list where the list name starts with Client name which is the first part of the trigger card to save me from having to create an automation for each client...


author: Dreamsuite Mike
body: Hi [@Oliver Rathonyi-Reusz](/t5/user/viewprofilepage/user-id/4593142)
> When a card with a name starting with {\*} - {\*} is moved to the list "Done", move the card to list "{wildcard1}" on board Client Archive


author: Oliver Rathonyi-Reusz
body: Thanks [@Dreamsuite Mike](/t5/user/viewprofilepage/user-id/5153180) , I think I know where you are going, however, when I do it, It creates a new List on Client Archive with the title of the card...


author: Dreamsuite Mike
body: I just tested it and it works for me (on the same board but the theory is the same)

![Screenshot 2023-07-03 202434.png](https://community.atlassian.com/t5/image/serverpage/image-id/266424iFFC1504651AA7587/image-size/large?v=v2&px=999 "Screenshot 2023-07-03 202434.png")

![ezgif.com-video-to-gif (7).gif](https://community.atlassian.com/t5/image/serverpage/image-id/266426i10090B22860ADC46/image-size/large?v=v2&px=999 "ezgif.com-video-to-gif (7).gif")


author: Oliver Rathonyi-Reusz
body: Thank you so much for the screen shot - that helped me understand that I was missing a crucial step - I was typing in the {\*} - {\*} variable but NOT opening the contextual menu and hitting the "+" sign, so I was not actually adding it! I would see it when I went to edit the trigger, but not when I did the final add. Now it works perfectly! Thanks again.


author: Oliver Rathonyi-Reusz
body: [@Dreamsuite Mike](/t5/user/viewprofilepage/user-id/5153180) Well, this is why I'm not a developer. Maybe, this needs a new thread. Once I got this automation working, I realized, that I have so many subtask cards tied to my "done" list that don't need to go to the Client Archive board and I also have a group of clients that will just be filed in a "General" List on the Client Archive board and therefore don't need to be part of this automation.

So I thought I could create a button to move cards that are required to the Client Board, but I can't see a way to create the above variables in the Button Automations in Trello, as the "button" removes the {\*} - {\*} trigger. Is there a way around that?

Alternatively, I guess I could create a list on the current board that only gets the cards that need to go to the Client Archive and then use the automation you showed me...


author: Antonio Schiavone
body: Hi guys! I need a suggestion: I want to create a board button that move all card from a specific list to another specific list with a specific condition (in my case the due dute is more than 90 day)....