Action
Process Meeting Notes
Process meeting notes to send task-prefixed (- [ ] ) items to Reminders. Save to specified file in iCloud Drive.
Steps
-
script
// Process Meeting Notes // Scan for lines with tasks and send them to Reminders let d = draft.content; let lines = d.split("\n"); let n = ''; let list = ReminderList.findOrCreate("Inbox") for (var line of lines) { if (line.includes("- [ ]")) { // Reminders Action var task = line.replace("- [ ]",""); task = task.trim(); var reminder = list.createReminder(); reminder.title = task; let success = reminder.update(); if (success) { console.log("Reminders task created: " + task); } else { } } else { // do nothing with the line } }
-
file
fileNameTemplate [[safe_title]].txt
folderTemplate /Work/
template [[draft]]
local false
writeType create
Options
-
After Success Default Notification Info Log Level Error
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.