Elementium Sign in
Contents

Channels · Step

Delete recent messages

Bulk delete up to 100 recent messages, with filters. Messages older than 14 days are left.

Free plan channel.purge

In a flow

“When a button is clicked, delete recent messages.”

Delete the last 50 messages from bots.

What it does

Bulk delete up to 100 recent messages, with filters. Messages older than 14 days are left. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. Find it under Channels in the palette.

When to use it

Use it when the flow works with channels: bulk delete up to 100 recent messages, with filters. Messages older than 14 days are left.

When not to

If nothing should change in Discord, a value node or a check is lighter.

Typical wiring

Sockets: settings you can wire

Channel Channel

The channel to change. Leave empty for here: where this happened, or the new place in an "In the new …" branch.

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

How many to look at Number

The most recent messages to check, up to 100.

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 50.

Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 501 more

Who Member

Only their messages. Leave unwired for anyone's.

What goes there: Type it in the side panel, or wire in a member. e.g. @Alex

If it's empty: Optional. Left empty and unwired, the step runs without it.

Connects fromAccept applicationApplication infoAsk a questionAsk follow-upBoard as emojiCall the next in the queueCase createdCheck for a lineand 87 more

Containing Text

Only messages with this text (needs the Message Content intent). 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 845 more

Often next

Related in Channels

Wires and sockets · Data values · Plans