I can’t take much credit for the workflow because I was supported by the fine folk on the DevonThink forum.
But essentially, I have attached a reminder trigger to a particular “Daily Notes” folder in my DevonThink structure. This is available in the “Annotations & Reminders” sidebar.
I have set a daily reminder for 12:01am to run an embedded script. The embedded script is:
-- Create daily markdown record via reminder
on performReminder(theGroup)
tell application id "DNtp"
set theDate to do shell script "date \"+%A %d %B %Y\""
set theName to do shell script "date \"+%Y%m%d\""
create record with {name:theName, type:markdown, plain text:"# " & theDate & linefeed & linefeed & "- "} in theGroup
end tell
end performReminder
This creates a new file for the day. I keep it open in a separate little window and just edit it through the day.