Schedules
in your QStash dashboard and click Create Schedule
:
Schedule
:
scheduleId
to ensure the operation is idempotent. (See caveats for more details on why this is important).
Lastly, add the summary-creating and email-sending logic inside of your workflow. For example: