Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,552,971
Community Members
 
Community Events
184
Community Groups

How to send custom email notification to matched username

I would like to create custom email notifications for certain activities my users could take in Trello, including assigning a card, changing a label or custom field, or commenting and tagging someone. 

 

Butler appears to limit the recipients of custom email notifications to 1) specific email address, 2) All members of a card, 3 All members of a board. 

 

Is there any way to instead dynamically insert the email address dynamically according to the matched user name or triggering user name? 

 

Butler variables - Trello Help

1 answer

1 accepted

0 votes
Answer accepted
Hannah Morgan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 05, 2022

Hi @Kevin Shiflet ! Welcome to the community :) I guess Trello would need some way of understanding what username corresponds to what email address. An idea could be to create a list and then add a card for each user. The title of the card would be the user's Trello username. This list could exist on the board where the activity is happening, or you might want to store it on a separate board. From there, you can create a custom field called "Email". In each "user card", input their email address. Then, your rule could look like this:

when X happens, find a card titled "{username}" on board "Directory", and send an email notification to "{{%Email}}"

If you don't have custom fields due to being on the free plan, you could just add the email address to the description and just use the {carddescription} variable.

@Hannah Morgan  thanks so much for getting back to me so quickly. I did try the solution you suggested and I'm still having trouble. I put together a new board called Directory, and named a card my username, as you said. The activity I'm looking for to trigger is a tagged comment on a card on a different board. 

 

Then I added a custom field called 'EmailAddress' to that Directory board with my email address and attempted to run the rule like you mentioned. 

 

The rule goes as:

 

'find a  card titled {username} on board 'Directory'

 

then

 

'send an email notification to 'EmailAddressvalue' with subject blahblahblah...

 

I'm not receiving a notification though. Can you see any obvious error I'm missing?

 

Thanks for all your help on this. 

Hannah Morgan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 06, 2022

@Kevin Shiflet try instead: "send an email notification to "{{%Emailaddress}}""

@Hannah Morgan I tried that and a few variants of that and haven't had success yet. :(

 

Attaching some screenshots. Let me know if you think I'm missing anything obvious. 

 

20220406-153922_PickPick Image_001.png20220406-153904_PickPick Image_001.png20220406-153851_PickPick Image_001.png

Hannah Morgan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 06, 2022

Try {{%Emailaddress}} - you don't need to add "value" into it.

Hannah Morgan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 06, 2022

rule action.PNG

@Hannah Morgan thanks for your continued assistance on this. I tried this formatting and got an error: 

 

The email address {{%emailaddress} is invalid.

 

I tried a few different permutations and either got the above error or 'No email address to send to'. 

 

Any thoughts? I don't want to, but I could try moving the directory bit to the same board and just squirrel away the list far to the right. 

Hannah Morgan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 06, 2022

Oops, looks like my screenshot had a typo. The variable should be {{%Emailaddress}} as mentioned above. Just make sure the field name is spelled the same as your custom field (including any spaces). There's more info on custom field variables here: https://help.trello.com/article/1160-custom-field-variables#custom-field-variables 

@Hannah Morgan thanks for sharing this! It finally worked! I switched it to {matchedusername} and it still worked so I think this should be good. 

 

Thanks for all your help on this. 

@Hannah Morgan One caveat on this, the email body references the card link, which should go back to the commented card, but instead it's going back to the directory card with the email address on it. 

Do you know what's best to get the commented card instead?

Hannah Morgan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 06, 2022

For your particular trigger, {matchedusername} would find the user that has been @mentioned. {username} will be the user who was associated with the action. 

If you're wanting to pull details from the trigger card into your email message, prefix everything with "trigger". So, {triggercardname}, {triggercardlink}, etc.

Hannah Morgan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 06, 2022

Awesome! Glad that's all working now :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events