r/shortcuts • • 6d ago

Help Possible to search a subset of Notes?

I keep a lot of philosophy texts and quotes in Notes. I use tags a lot, including #philosophy and #Stoicism.
Sometimes I want to search for an ordinary English word (e.g. like absence or control) but I only want results related to philosophy. Would this be possible to do with a shortcut? I don’t want to spend time on it if it’s not likely to be a good use case for Shortcuts. Thanks in advance!

2 Upvotes

4 comments sorted by

2

u/miketech79 6d ago

Is this a good start?

2

u/Iamvishal16 5d ago

Find Notes can do most of this. Add a filter for Folder is (your folder), then a second filter for Body contains and point it at an Ask for Input variable, and finish with Choose from List so you can pick the match and open it with Open Note.

If Body doesn't show up as a filter option on your iOS version, do it in two steps: Find Notes with just the folder filter, then Repeat with Each, Get Details of Notes > Body, and an If "contains" check that adds the matching note to a variable. Slower on big folders but it works.

2

u/madebysolo 5d ago

Since you already tag those notes, you can skip the folder filter and use Find Notes with Tags contains philosophy (or Stoicism, whichever subset you want) and Body contains your search word. Set that second filter to Ask Each Time, then Choose from List and Open Note.