← Example scenarios

A reminder an hour before, and exactly one

The schedule fires often, the reminder arrives once: the scenario remembers what it has already said.

What the scenario looks like

Срабатывание по расписанию
Календарь
Встречи ближайшего часа▶
Кого уже предупредили▶
О чём напомнить▶
Модель▦
Есть о чём напомнить?▶
Напоминание▶
Отметка об отправке▶
Запомнить, что напомнили▶
Пока нечего▶
Напомнили один раз▶
  • Execute + Data
  • Data
  • Execute
  • LLM
Open in your workspace →

A reminder an hour ahead is the most useful thing a calendar does, and the most irritating when it arrives three times. The check runs every half hour and a meeting stays inside the “next hour” window for two of them — so something has to remember what was already said.

What is inside

  1. Scheduled trigger — the entry.
  2. Meetings in the next hour queries the calendar.
  3. Who has already been told reads the collection of markers.
  4. What to remind about — the model, given both the meetings and the list of already-sent: the decision is made once, in one place.
  5. The branch, the Telegram send, and a marker written back into the same collection.

The collection here is not data but memory between runs: “we already mentioned this one”. Remove the last two nodes and a person gets each reminder twice, and fixing that afterwards takes longer than these two nodes did.

What to set up for yourself

  • The “next hour” window is set by the query boundaries and the prompt.
  • The reminder text. Currently the time and the title. The location is the obvious next thing to add.
  • Cleaning up markers. The collection grows. It is worth clearing monthly — or adding a date to the marker and deleting old ones.

What to connect

A CalDAV calendar, a Telegram bot, a collection under Tables and the Schedule target. Fire it every half hour: the free plan will not go faster anyway, and for an hour’s notice that is enough.