Action

Remind Me Tomorrow

Posted by @pdavisonreiber, Last update almost 3 years ago - Unlisted

Steps

  • script

    // You can change the name of the reminders list here.
    const list = ReminderList.find("Reminders")
    
    // You can change the number of days in the future here.
    const numberOfDays = 1
    
    var reminder = list.createReminder()
    reminder.title = draft.content
    var dueDate = new Date()
    dueDate.setDate(dueDate.getDate() + numberOfDays)
    dueDate.setHours(8)
    dueDate.setMinutes(0)
    dueDate.setSeconds(0)
    reminder.addAlarm(Alarm.alarmWithDate(dueDate))
    reminder.update()

Options

  • After Success Default
    Notification Info
    Log Level Info
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.