Elementium Sign in
Contents

Starts when · Starts a flow

When an invite is created

Someone makes an invite link to the server. The bot needs Manage Channels on that channel to see this.

Free plan events.invite_created

In a flow

“When an invite is created, the steps wired after it run.”

Log every new invite with who made it.

What it does

Someone makes an invite link to the server. The bot needs Manage Channels on that channel to see this. 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 an invite is created.

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 made it Member

The member who created the invite. Empty for some invites made by Discord. e.g. @Sam

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

Invite channel Channel

The channel the invite leads to. e.g. #welcome

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

Code Text

The invite's code. e.g. abc123

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

Link Text

The full invite link. e.g. https://discord.gg/abc123

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

Use limit Number

How many times it can be used. 0 means no limit. e.g. 0

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

Expires Text

When it stops working, as a Discord timestamp. Empty if it never does. e.g. <t:1760000000:R>

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

Often next

Related in Starts when

Wires and sockets · Data values · Plans