Butler Trigger: "When the name or the description of a card is changed"
Asked by Eric SIrianni:

Hello!

It seems in the Butler Bot days it was possible to have the Trigger simply be "when the name or the description of a card is changed", but that no longer seems to be an option and the closest I can get to it is this:

![Screen Shot 2022-03-22 at 2.15.57 PM.png](/t5/image/serverpage/image-id/189871iF7E809C2F4E51F79/image-size/large?v=v2&px=999 "Screen Shot 2022-03-22 at 2.15.57 PM.png")

What I'd love to be able to accomplish is when anyone changes the name or description on a card, it finds the copy of a card on another board and changes the name or description to match.  
I'd also be open to to it just sending a message to a Slack channel letting us know a card name or description has been changed. Our system heavily relies on card names, and the description needs to match on multiple boards.  
Appreciate your advice!


Answers:
author: milynnus
body: [@Eric SIrianni](/t5/user/viewprofilepage/user-id/4540793)

If this is critical to your business. you can setup an webhook with idModel = board id and you can filter action with type = updateCard and if the key 'old' = 'name' or 'desc' then you can using that to trigger a follow up action on the board or simply add a comment to the card which I believe can trigger a slack notification.

I used the above in my MirrorSync project. You can ignore most the post and look at the first video. It handles name change via a webhook.

<https://community.atlassian.com/t5/Trello-discussions/A-MirrorSync-project/td-p/1818040>

comments: author: Eric SIrianni
body: This looks **awesome**, but considering I don't know what most of what you said means it might be best for me to stick with Butler ? Really appreciate the response though!


author: Hannah Humbert - Simpla Workflows
body: Hi [@Eric SIrianni](/t5/user/viewprofilepage/user-id/4540793) ! Yes, you're right - there's no obvious way to achieve this, but I believe the below rule should do what you want:  

```
when the description of a card contains "{carddescription}", find the first card linked in the attachments, and set the card's description to "{triggercarddescription}"
```

<br />

The same should work for the card name using the {cardname} variable.

comments: author: Eric SIrianni
body: Hey [@Hannah Humbert - Simpla Workflows](/t5/user/viewprofilepage/user-id/2109993)! Really appreciate the response, and sorry mine is so late!

The one complication with this method is the first board in the equation is the customer's board, and we can't allow them to gain access of our internal systems so linking the other card as an attachment isn't an option.

I tried a few variations of this but the best I could get was the name of the card on the second board went blank.

```
when the name of a card in list "List Name" contains "{cardname}", find a card titled "{triggercardpreviousname}" on board "Master Board", and rename the card to "{cardname}"
```

Can you think of a way to accomplish this with a method similar to above?

Thank you for your time!


author: Hannah Humbert - Simpla Workflows
body: Hey [@Eric SIrianni](/t5/user/viewprofilepage/user-id/4540793) ! Np :) maybe try this one?  

```
when the name of a card contains "{cardname}", find a card titled "{textbefore}", and rename the card to "{triggercardname}"
```


author: Eric SIrianni
body: This is IT!! Thank you so much Hannah!


author: Hannah Humbert - Simpla Workflows
body: Yay! You're welcome ??


author: bmr1
body: Thank you [@Hannah Humbert - Simpla Workflows](/t5/user/viewprofilepage/user-id/2109993) Hannah. Had the exact situation Eric described, would not have thought of building it this way, worked perfectly. You saved me much time and headache.


Tags: butler

trigger