Elementium Sign in
Contents

Logic · Step

Every Nth time

Count each time it runs and say when it's a round number, like every 100th message.

Free plan logic.every_nth

In a flow

“When a button is clicked, every Nth time.”

Every 100th message: celebrate

What it does

Count each time it runs and say when it's a round number, like every 100th message. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 2 values later steps can use. Find it under Logic in the palette.

When to use it

Use it to decide what happens next: count each time it runs and say when it's a round number, like every 100th message.

When not to

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

Typical wiring

Sockets: settings you can wire

Every Number

How often it's true, like 100 for every 100th time.

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

Values it gives

This is the one Yes / no

True on every Nth time. 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

Count Number

How many times so far. e.g. 300

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

Often next

Related in Logic

Wires and sockets · Data values · Plans