Elementium Sign in
Contents

Members & roles · Step

Find role by name

A role by its name, like one a member typed.

Free plan role.find

In a flow

“When a button is clicked, find role by name.”

/join-team name → Find role by name → If Found → Give role.

What it does

A role by its name, like one a member typed. 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 Members & roles in the palette.

When to use it

Use it when the flow acts on a member: A role by its name, like one a member typed.

When not to

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

Typical wiring

Sockets: settings you can wire

Name Text

The role's name, like Builder. Capitals don't matter. 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

Values it gives

Found Yes / no

On when there's a role by that name. e.g. on

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

Role Role

The role. e.g. @Builder

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

Often next

Related in Members & roles

Wires and sockets · Data values · Plans