Elementium Sign in
Contents

Starts when · Starts a flow

When a thread is deleted

A thread or forum post is deleted. If the bot hadn't seen it, only its ID is known.

Free plan events.thread_deleted

In a flow

“When a thread is deleted, the steps wired after it run.”

Log deleted forum posts.

What it does

A thread or forum post is deleted. If the bot hadn't seen it, only its ID is known. It starts a flow, and gives the steps after it values about what happened. It gives 6 values later steps can use. Find it under Starts when in the palette.

When to use it

Use it to start a flow when a thread is deleted.

When not to

If the flow should start from a click or a command instead, pick that trigger: a flow has exactly one.

Typical wiring

Values it gives

Who did it Member

Discord doesn't say who did this, so this is empty. The server's audit log shows it. e.g. @Alex

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toA member's variablesAdd a labelAdd a staff noteAdd answer to formAdd to a counterAdd to a leaderboardAdd to threadAdd to ticketand 648 more

The thread Channel

The deleted thread. It's gone, so nothing can be posted there. Empty if the bot hadn't seen it. e.g. #help-with-setup

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 a forum tagAdd to threadAge-restrict a channelAI summary of a channelAnti-nuke guardArchive channelArchive or lock threadAsk a questionand 640 more

It was in Channel

The channel or forum the thread was in. e.g. #help

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 a forum tagAdd to threadAge-restrict a channelAI summary of a channelAnti-nuke guardArchive channelArchive or lock threadAsk a questionand 640 more

Thread ID Text

The deleted thread's ID. Known even when the bot hadn't seen the thread. e.g. 1290000000000000000

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 578 more

Name Text

The thread's title. Empty if the bot hadn't seen the message since it last started. e.g. help with setup

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 578 more

Was seen before Yes / no

True when the bot had seen the thread, so its name is known. e.g. true

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 a forum tagAdd onboarding questionAdd to a counterAlarms that are dueAndAutoMod: Discord's word listsBluesky latest postBoard as emojiand 573 more

Often next

Related in Starts when

Wires and sockets · Data values · Plans