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,455,373
Community Members
 
Community Events
175
Community Groups

Email created card doesn't trigger automations

The cards created by email have different behave than the cards created in the board or by API.

Email created doesn't trigger scripts but the same script is triggered by API created cards

It happens with my own scripts, by IFTTT, by Zappier, by blockspring script, etc.

someone have an idea of why

Thanks

2 answers

@Ruben CentineoI've had the same issue and my workaround has been to add an "e-mailed to" list to my boards.  This is the list that all incoming e-mails get sent, and then I add an automation to the board to move all cards added to this list to a second list on that same board.  My IFTTT and Zapier automatons then trigger when the original card is moved to the second list.

 

Example, I have IFTTT send me an e-mail when a card is added to a list titled "Donation Request".  This e-mail is then auto forwarded to my todo list, so every time a donation request comes in, I get a task added to my todo list. 

There are 2 ways that cards get added to the "Donation Request" list, the first is when someone in our company manually adds a card.  When they do this, IFTTT sends me an e-mail which is then auto forwarded to my todo list and it shows up as a task.  The second way is if someone e-mails a donation request to the Trello board.  All e-mails to the Trello Board go into a list called "Donation Requests Mail To".  A Trello automation then automatically moves all cards from this list to the "Donation Request" list and IFTTT takes over from there, e-mailing me, which then gets auto forwarded to my task manager. 

By moving the cards to the "Donation Request" list, it seems to bypass the issue that IFTTT and Zapier don't seem to work with cards that are mail-created within a list.

0 votes
Iain Dooley Community Leader Nov 15, 2018

@Ruben Centineo the webhook notification sent by Trello when a card is emailed is different from the one sent when a card is created. Probably the integrations that you're using haven't taken that into account.

Thanks Iain,

what you mean with "haven't taken that into account."?

If I write the code how can I get this notification?

Iain Dooley Community Leader Nov 18, 2018

@Ruben Centineo this is the notification I get on the webhook subscribed to a board when I email a card in:

https://gist.github.com/iaindooley/1cd3974d8c74f011d3e11caaac57759c

notice that the translationKey attribute is "action_email_card"

Here is the notification I get on the webhook subscribed to the board when I create a card:

https://gist.github.com/iaindooley/776a217b47ac619f77dddb884acadb14

notice that the translationKey attribute is "action_create_card"

So whatever is processing the webhooks to react to cards being added needs to take into account both of those options when determining if this is a "card created" notification.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events