How to create a Siri Shortcut that prompts to select a Reminders list that can be reused as a variable

remindersshortcuts-appsiri

I want to edit a Siri Shortcut I found which adds numerous items in a loop to the default iOS Reminders list. My idea is to prompt the user to select a Reminders list first and then use that list in the loop that adds the items to that specific list.

I see that in the "Add to list" thingie, I can have it "ask every time" to select the list, and that works, but that asks for each item being added, which is too repetitive and laborious.

I cannot figure out how to create a list variable which has the user's reminders lists in it so I can prompt them to make a selection from that list and then save that selection in a variable to be used in the "Add to list" thingie.

I tried "Show reminders list" and selected "ask every time", but there's no way to save their selection in a variable to use later in "Add to list".

Best Answer

This is a very hacky solution with annoying drawbacks. I hope someone else comes up with something better.

The only way I found to set a variable to a user-selected list from the Reminders app is to add a dummy reminder that allows the user to set the list (and alert), from which you can extract the list (and alert) and store them for re-use into variables. Then you just immediately delete the new dummy reminder.

The steps are:

  1. Static text with the (unique) value "Dummy reminder"
  2. Add New Reminder (Reminder: "your selected items", List: Ask Each Time, Alert: Ask Each Time)
  3. Set variable "Selected reminders list" to (List from #2). To do this, you have to tap the "List" and set "Get" to "List"
  4. Set variable "Dummy reminder" to select magic variable: \New Reminder\
  5. Set variable "The alert" to select magic variable: \Dummy Reminder\ and change "Get" to "Has Alarms"
  6. Remove (select magic variable) \Dummy Reminder\

Then you can use these variables however you want:

  • Selected reminders list
  • The alert

The drawbacks:

  • While I entered a variable name "your selected items" to try and suggest that something will happen with the text you're running this shortcut on, the prompt to set the list and the alert is not very intuitive. It reads "Add \your selected items\ to \default reminders list\ with \No Alert\". You have to tap your default reminders list name in the text of the prompt to change it (as you do for the alert).

  • The user gets a non-specific warning that a reminder will be deleted and that it can't be undone, but they have no idea what it is. It states "Remove 1 Reminder? This is a permanent action. Are you sure you want to remove this item? \Cancel\ \Remove\".

  • If the user doesn't tap or taps "No Alert" but doesn't enter a time (even though a grayed out default time is displayed), they will get an error that states "The alert time provided was invalid. Please check for spelling errors and ensure you provide a time of day."

Alternatively, you can do something similar using the "Find Reminders" method, but the prompt is even less clear/intuitive.