Check for morning meetings, alert if I have one so I make it to work
@dylan
code:
data:privatelast updated:4 years ago
@dylan/
Check for morning meetings, alert if I have one so I make it to work

Click on the Workflow tab on the left, or on any of the steps, to see the code for this workflow.

Quickstart

  1. Fork this workflow
  2. Press the Connect Account button in the list_events_in_next_n_hours step to connect your Google Calendar account.
  3. Modify the timezone of the cron schedule (at the top of the workflow) so this runs in your morning hours.
  4. In the check_last_notification_time step, we check to see if we've already sent a notification today (you should only get one blast of messages per day). This timezone logic is tied to UTC, so you may need to use the utcToZonedTime method of the date-fns library to apply a timezone to the ISO timestamp from the last notification time. This ensures you'll only send a message per day in your timezone.