Server · Step
Events starting soon
The server's scheduled events that start within some hours, soonest first, with how many are interested.
event.starting_soon
In a flow
“When a button is clicked, events starting soon.”
Every day at 09:00 → Events starting soon (24 hours) → If How many is over 0 → Announce As text.
What it does
The server's scheduled events that start within some hours, soonest first, with how many are interested. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 5 values later steps can use. Find it under Server in the palette.
When to use it
A 9:00 "today in the server" post, or an hourly check that reminds people an hour before an event.
When not to
Only events that haven't started yet are listed. For the one next event with more about it, Next event is simpler.
Typical wiring
Sockets: settings you can wire
- Within (hours) Number
-
Events that start in the next this many hours.
What goes there: Type it in the side panel, or wire in a number. e.g. 42
If it's empty: Optional. Left empty and unwired, it uses 24.
Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 513 more
- How many Number
-
The most events to list.
What goes there: Type it in the side panel, or wire in a number. e.g. 42
If it's empty: Optional. Left empty and unwired, it uses 10.
Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 513 more
Values it gives
- Events List
-
Each event's name, start (for Format a date), link and how many are interested. e.g. [{"name": "Movie night", "start": 1767225600}]
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAdd onboarding questionAdd to listAdd up timesAutoMod: add or remove allowed wordsAutoMod: add or remove wordsAutoMod: block wordsBar chartBest by a fieldand 88 more
- How many Number
-
How many start in that time. e.g. 2
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 729 more
- As text Text
-
One a line, ready to post. A friendly sentence when there are none. e.g. **Movie night** · <t:1767225600:R> · 14 interested
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 583 more
- Next event Text
-
The soonest one's ID, for the other event steps. e.g. 123…
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 583 more
- Next event's link Text
-
The soonest one's link. e.g. https://discord.com/events/…
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 583 more