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

Mikes Trello Tips: 🆙 Next Level Automations🤖 - Sync Due Date of linked cards 🗓️ 🔀 🗓️

🆙Next Level Trello Automation🤖

Sync Due Date of linked cards 🗓️ 🔀 🗓️

ezgif.com-optimize (1).gif

Trello automation + Trello API can help you up your automation game and help you fill the small number of gaps left in what is already my top Trello feature

This is the first in a series of articles on how you can use some of the Trello API right inside Trello automation to enhance your automation further.  This includes:

  • Sync the due date from 1 linked card to another
  • Add, remove, change card covers
  • Enable due date reminders
  • Move a checklist position
  • and many more...

Are there any frustrations you have with Trello automation that you wish you could fix?
Put suggestions in the comments I will try to address them with a simple API solution.

 

Keeping it simple - No API experience required 

Cartoon_March_Body-1-1024x753.jpg

Simply follow this guide and copy and paste my commands!

Lets Begin...

 

Step 1 - Setting up your Trello API key and token

This is probably the most complicated part but you only have to do it once and Trello's best friend @Brittany Joiner has made a super simple video to show you how.

Copy both the API key and Token to a safe place, you will need them later...

Step 2 - Automate linking the cards
I am not going to go into too much detail about how to do this this but you can follow the guide linked below

https://support.atlassian.com/trello/docs/synchronizing-cards/ 

and use this common automation:

Screenshot 2023-12-07 15.00.09.png

when a card is added to list "List A", copy the card to the top of list "List B" and link the cards together

That is all it takes to start creating linked cards...On to the next step

 

Step 3 - Automate the due date synchronisation

1) Set up the automation trigger 


ezgif.com-video-to-gif (3).gif

2) Set up the API put


ezgif.com-video-to-gif (4).gif

API String

Copy this string into the url box, swapping the bold text with your API key and Token respectively 

https://api.trello.com/1/cards/{cardid}?key=replace_this_text_with_your_APIkey&token=r

 

Payload

Copy this exactly as it is and paste into the payload box

 {"due": "{triggercardduedate}"}

 

Full Automation (for reference)

when a the due date is set in a card in list "List A", find the first card linked in attachments and put put to url "https://api.trello.com/1/cards/{cardid}?key=replace_this_text_with_your_APIkey&token=replace_this_text_with_your_token" with payload "{\"due\": \"{triggercardduedate}\"}"

 

3 comments

Brittany Joiner
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 7, 2023

@Dreamsuite Mike this is awesome!! i know enough of the trello API to be dangerous but this makes it super practical and helps me out with a cool use case. looking forward to seeing what else we can do here!! 

Like Dreamsuite Mike likes this
Hannah Humbert - Simpla Workflows
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 7, 2023

@Dreamsuite Mike amazing! 👏 great to learn more about what you can do with API and butler. Wish there was more documentation on this! I'd love to learn more.

Like Dreamsuite Mike likes this
Dreamsuite Mike
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 7, 2023

@Hannah Humbert - Simpla Workflows 

I am navigating my way through using mostly this:

https://developer.atlassian.com/cloud/trello/rest/ 

and experimenting using this to do the HTTP get/set/posts...

https://reqbin.com/post-online 

 

Another tool that is really helpful to get Trello ID's is this power-up:

https://trello.com/power-ups/646cc3622176aebf713bb7f8/api-developer-id-helper 

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events