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,295,747
Community Members
 
Community Events
165
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

0 votes

@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
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,318 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