Elementium Sign in
Contents

Starts when · Starts a flow

When a role is changed

A role's name, colour, permissions or settings change. Moving roles up or down doesn't count.

Free plan events.role_updated

In a flow

“When a role is changed, the steps wired after it run.”

Alert staff when a role gets new permissions.

What it does

A role's name, colour, permissions or settings change. Moving roles up or down doesn't count. It starts a flow, and gives the steps after it values about what happened. It gives 7 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 role is changed.

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

Where Channel

This doesn't happen in a channel, so this is empty. e.g. #general

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

The role Role

The role that changed. e.g. @Moderator

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

Connects toAnti-nuke guardAutoMod: block wordsAutoMod: Discord's word listsAutoMod: leave a role or channel aloneAutoMod: mention limitAutoMod: suspected spamBot can manage roleChange anti-nuke trusted listand 577 more

Old name Text

Its name before. e.g. Mods

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

New name Text

Its name now. e.g. Moderator

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

What changed Text

What changed, in words, like 'name, permissions'. e.g. colour, permissions

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

Permissions changed Yes / no

True if what the role is allowed to do changed. 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