Trello has recently updated their Reminder system. It works great! Except on mobile. So, I needed a way to receive better alerts from Trello when a Card was due.
I created a Shortcut that quickly got large and out of hand. I decided to break it up into smaller, more manageable chunks; like modules.
I use a combination of the built in Trello options and Trello API calls. The API calls are necessary to update some information not exposed by the built in Shortcut functionality. If this interests you, you'll need an API Key and Token to use these. If not, have fun reading anyway!
Note: I have a lot of Func DoWhatever Shortcuts for reuse-ability.
- Sync Trello & Reminders This will call the five Sub-Shortcuts in a specific order.
Update Trello Cards from Completed Reminders This is where you'll need the API Key and Token. Marks a Trello Card that has a Due Date as Completed if it has a matching Reminder in your Reminders List.
a. Func MarkTrelloCardComplete Takes a Card ID as input and marks it as Complete in Trello.
Update Reminders from Completed Trello Cards This is where you'll need the API Key and Token again. Removes a Reminder from the Reminders List if its respective Trello Card has a Due Date and it is marked as complete.
Add Trello Cards from Reminders This takes any Reminders you've added to your Reminders List and adds them as Cards to a Trello List if they don't yet exist.
Func DeleteIncompleteReminders Wipes out the Reminders List and gets ready for an import from Trello.
Add Reminders from Trello Cards Now, we can safely import Trello Cards that have Due Dates into the Reminders List.
a. Func AddUniqueReminder Another module I like to reuse that allows me to pass a Dictionary into it and get a unique Reminder created. Add Reminders from Trello Cards relies on this guy.
Hopefully I have all the links straight forward enough so you can add and start using them. They all have Import Questions which should make things a little easier. Have the following handy:
- The name of the Reminders list to sync with Trello
- The name of the Trello Board where your List is to sync with Reminders
- The name of the Trello List from the Board in the above bullet
- Your Trello API Key
- Your Trello API Token
I know this seems like a lot to take in, but it's working pretty good for me. Hopefully someone else can get some use from it. Please let me know if you have any questions; I'm happy to help! Also, please let me know if I didn't properly scrub my api key and token out of these first! haha!
Top comments (5)
EDIT: Can confirm that there's a duplicate shortcut which I attempted to rewrite, but am having some trouble testing; still getting used to Shortcuts and not getting any Reminders out of an action for some reason. Will update if I get it sorted.
Just came across your post after coming to iOS and wanted to say thank you for the Shortcuts! I love using Trello and use it in conjunction with a nifty two-way sync tool called Pomodone. Can't wait to try these out.
I was planning on setting up an old Mac to run AppleScript and accomplish something similar, but this will satiate my need today! I would love if Shortcuts could run like cron jobs, but one can always hope!
Can you check the Add Reminders from Trello Cards? it seems to be the same exact shortcut as Add Trello Cards from reminders. Thanks
Interesting. I will certainly do so.
I get error with Func MarkTrelloCardComplete. I find out that it's because of baseUrl. But I don't no what to do next :) Maybe it's because of iOS 13 shortcuts. thepracticaldev.s3.amazonaws.com/i...
Hi! Thank you for creating this. Are you able to update the shortcut in step 5? The contents are the same as what is in step 3.
Anyone have success in recreating step 5 on their own?