Timers & delays · Step
Send and delete after
Post a message that deletes itself after a while (and their message too, if you like).
timer.send_expire
In a flow
“When a button is clicked, send and delete after.”
Post 'Saved!' and delete it after 30s
What it does
Post a message that deletes itself after a while (and their message too, if you like). It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 1 value later steps can use. Find it under Timers & delays in the palette.
When to use it
Use it when timing matters: post a message that deletes itself after a while (and their message too, if you like).
When not to
If nothing should change in Discord, a value node or a check is lighter.
Typical wiring
Sockets: settings you can wire
- Message Text
-
What to post, like Done! This message goes away in a minute. Variables allowed.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, the step runs without it.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more
- Channel Channel
-
Where to post it. Leave empty for here.
What goes there: Type it in the side panel, or wire in a channel. e.g. #general
If it's empty: Optional. Left empty and unwired, the step runs without it.
Connects fromArchive channelAsk a questionCopy channelCopy permissionsCreate categoryCreate channelCreate forum postCreate threadand 60 more
- Delete after Text
-
How long: like 10m, 2h, 1d 12h or 3mo (a plain number is seconds). At most a year. Variables allowed.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, it uses 30s.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more
Values it gives
- Message Message
-
The message it posted. e.g. a link to the message
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAttached filesCancel giveawayClear reactionsDelete and warnDelete messageDelete message laterEdit messageEdit to layoutand 577 more
Shortcuts
- Send message → Wait → Delete messageIt does what Send message → Wait → Delete message do together, in one element.