Create a note with some handwritten text. If you use a unique made up word you won't get other hits. I used "folgittey"
Search for that unique word in Spotlight, and you get a hit
Search for the same unique word in Alfred and no note is found, only an option to create a new one
Regular text in notes is searchable
Fill out this information if it's not already included in the error text.
macOS version: 11.5.1
CPU: Intel
Alfred version: 4.5 Pre-release
Workflow version: 3.4.1
In System Preferences > Security & Privacy > Privacy, there are checkmarks for Accessibility > Alfred 4, Full Disk Access > Alfred 4, Automation > Alfred 4 > Notes, and Automation > Alfred 4 > System Events?
Yes to all of these except "Automation > Alfred 4 > Notes", as there is no entry even listed
What type of account are your notes stored in (iCloud/On My Mac/Email)? iCloud
If no error notification appears automatically, what is the output of the debug log when you reproduce the problem?
To Reproduce
Steps/context to reproduce the behavior:
Fill out this information if it's not already included in the error text.