Steps reference
Every step you can add to a workflow.
Most steps have a Then output, and steps that call Discord or the web also have If it fails. Inside an error path, {error.message} explains what went wrong. Without an error path, a failure ends the run and is logged.
- Reply
- Answer the command or message.
- Send message
- Post in a channel or send a DM.
- Add reaction
- React to a message with an emoji.
- Delete message
- Remove the message that started the run, or another.
- Add role
- Give a member a role.
- Remove role
- Take a role away.
- Set nickname
- Change a member's nickname.
- Time out
- Mute a member for a while.
- Kick
- Remove a member from the server.
- Ban
- Ban a member.
- Condition
- Split the path on a check.
- Set variable
- Remember a value for later steps.
- Wait
- Pause before continuing.
- Stop
- End the workflow here.
- Random reply
- Reply with one of several messages.
- Open form
- Ask for answers in a pop-up form.
- Repeat
- Run steps several times or for each item.
- Saved variable
- Change a value that is kept between runs.
- Leaderboard
- Rank members by a saved number.
- Run reusable steps
- Run a shared set of steps, then continue.
- HTTP request
- Call a web API and use the result.
- Edit message
- Change the text or embeds of a message the bot sent.
- Edit buttons
- Disable, remove or swap the buttons and menus on a message.
- Pin message
- Pin or unpin a message.
- Publish message
- Share an announcement-channel message with following servers.
- Save transcript
- Send a channel's recent messages as a text file.
- Create role
- Make a new role and remember its ID.
- Edit role
- Rename a role or change its colour.
- Delete role
- Remove a role from the server.
- Give role to everyone
- Add a role to every member (up to 1,000).
- Take role from everyone
- Remove a role from every member (up to 1,000).
- Create channel
- Make a text, voice, forum or other channel.
- Edit channel
- Rename, set slowmode, or lock a channel.
- Delete channel
- Remove a channel for good.
- Create thread
- Start a thread or a forum post.
- Edit thread
- Rename, archive, lock, or add someone.
- Delete thread
- Remove a thread or forum post.
- Move to voice channel
- Move a member to another voice channel.
- Disconnect from voice
- Drop a member from their voice channel.
- Server mute
- Mute or unmute a member in voice.
- Server deafen
- Deafen or undeafen a member in voice.
- Math
- Calculate a number and keep the result.
- Text tools
- Change case, replace, split, join, match and more.
- Random ID
- Make a random code or UUID.
- Exit loop
- Stop repeating and continue after the loop.
- Report error
- Post an error report to a log channel.
- Note
- A comment on the canvas; it never runs.
- Purge messages
- Bulk delete recent messages.
- Create invite
- Make an invite link and keep it.
- Unban
- Lift a ban.
- Leave server
- Make the bot leave this server.
- Set bot status
- Change the bot's status and activity.
Limits
- 200 steps and 60 seconds per run; waits of up to 30 seconds.
- Loops repeat at most 50 times; workflows cannot contain cycles.
- Messages: 2000 characters of text, 10 embeds totalling 6000 characters, 5 rows of buttons or menus.
- Per bot per minute: 30 DMs, 10 bans, 10 kicks, 20 time-outs and 120 channel messages. A workflow cannot kick or ban the member who started it.