How can I add a possibly null key to an existing dictionary?
I want to make a shortcut that goes through my reminders and creates a nested dictionary of each reminder's properties (title, due date, etc.). In my for loop I get the Title and Due Date . Then I set the dictionary: `title: Title` and `due-date: Due Date`. However, not all Reminders have a Due Date so its throwing a "No Value Provided" error. How can I get around this?
NOTE: this shortcut requires the ACTIONS ( app please download it before using this shortcut and also requires files that is attached to the requests. You can GET, POST, PUT, PATCH, and DELETE and maybe even call APIs with this and even maybe experiment. I honestly made this for fun not that i know anything about http requests. But have fun with this if you have knowledge with this stuff!
I built my own AI-powered productivity system using Apple Shortcuts, and here's a version you can try! For the past few months, I've been building my own system called LifeOS, with Target as its main task management module. It started as a simple task manager, but across four versions I gradually added routines, AI-powered task creation, priorities, scheduling, deadlines, location-based reminders, and much more. The idea is simple: press the Action Button, describe what you want to do, and let A