Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,297,440
Community Members
 
Community Events
165
Community Groups

Create a custom button to send an email notification when pressed

I have been successful in using the Zapier power-up to automate sending emails whenever a card is moved/updated. I was wondering if it is possible to do the same but upon pressing a button on the card instead of actually moving the card across lists. I do not want the card to be moved in order to send an email automatically, instead have a button, "Notify Customer", on the card itself which will send out email notification about the card's status whenever it is pressed.

1 answer

1 accepted

1 vote
Answer accepted

Hey @Anirbit Ghosh 

Yes this should be possible with Butler using a card button and a "send email" action. 

Screenshot 2021-10-04 at 13.57.05.png

However I am wondering how you will store the customer's email address. Do you have access to Custom Fields (you need to be on Trello Standard, Premium or Enterprise for this)? 

Once I know that I can show you the rest of the Butler set up :) 

Thanks,
Dan

Hi @Dan Ivory _Orah Apps_ ,

Thank you so much for your answer. 
Yes, I do have access to custom fields and have a custom "Email"  field in each card to store each customer's email addresses. 

Hi @Anirbit Ghosh 

No worries! Cool so you could set up some variable fields to fill in the information you have stored in custom fields to be included in the email you want to send. 

Here is the list of variables you can pick and choose to include in the subject line or body of the email.... https://help.trello.com/article/1157-variables or for custom fields see https://help.trello.com/article/1160-custom-field-variables#custom-field-variables

Note the {{ }} double brackets for custom fields vs { } single brackets for other fields (I think this is correct but might need testing).

Here is an example I set up. Note for the custom field variables it would normally be {{customfieldname}} or {{customfieldvalue}}. But I swapped these to try and make it clearer what I was doing.

Also I assumed you are defining "Status" as what list the card is in. But if you are using Labels instead you can try {cardlabels}.

Screenshot 2021-10-04 at 18.55.20.png

Written out so you can copy and paste:

Subject: Status update for {{%Name of Custom Field containing customer's name}}

Body:  
Hello,

Here is a status update for {{%Name of Custom Field containing customer's name}}. Your project is now at the {cardlistname} stage.

Kind regards,
XYZ

 

Hope this makes sense. I've not tested it but it should work, might need some tweaking and test emails sent to yourself. 

Let me know if you get stuck and Ill try to test it fully.

Cheers!

Dan

Hi @Dan Ivory _Orah Apps_ ,

This solution worked perfectly for me. 
Really appreciate you taking your time to help in such great detail, it made it very easy to follow, thank you so much. 

 

Cheers!

Anirbit 

Great news! Glad it worked well for you @Anirbit Ghosh !

If you're keen to learn some more Trello tips and tricks check out our YouTube channel here https://www.youtube.com/c/orahapps

or our blog https://www.orahapps.com/resources/blog

I might make a tutorial with this example 😃

Dan

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Trello

Taco Tuesday: New years' resolutions with Trello

Congratulations to @Laura Holton , our latest winner of Taco Tuesday! And thanks to @Kristján Geir Mathiesen for sharing the picture of Taco having fun with his new friend  B...

2,343 views 28 40
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you