Flow: automations
Build, simulate, publish and debug workflows
On this page
Flow is a graph editor: a trigger starts a workflow, actions perform work and conditions route the run through yes/no branches. Every server can have 100 workflows with up to 15 steps each, and every step kind is available.
Your first workflow
- Open Automations → Workflows and create a new draft. Name it Welcome new members.
- Set When to Member joins. Add a Send message step and choose #welcome.
- Optionally add Add role, selecting a safe role below Kinlo. Do not duplicate your Settings onboarding role or welcome message unless desired.
- Connect the steps using Then. Save, run the simulator and review the path. Enable the workflow only after validation passes.
- Join with a test account and inspect Recent runs. Edit, duplicate, toggle or delete from the workflow list.
Trigger catalog
| Members | Everything else |
|---|---|
| Member joins; member leaves; member reaches a level (1–1000) | Role added; ticket opened (optional department); ticket closed; schedule (hourly/daily/weekly, UTC); button clicked; slash command; run manually. |
Conditions
Account age, member level, has role, run variable, server variable, member count, coin balance, random chance, time of day (UTC) and weekday. Select a comparison where available and route both If yes and If no. You can stop a path intentionally. Avoid role-added loops, especially a workflow that adds its own trigger role.
Actions
Send message, add role, send saved design, direct message, remove role, set variable, add to variable, give or deduct coins, give XP, timeout member, write to staff log, wait and stop. Wait accepts 5 seconds to 30 days; scheduled steps can resume via durable jobs. Timeout accepts 1–10,080 minutes. Variable names start with a lowercase letter and may contain lowercase letters, digits and underscores; choose This run only or Whole server (saved). Server variables persist across runs. Treat reward and moderation actions as real changes, not harmless notifications.
Example: new-member review
Member joins → Account age is at least 7 days → yes: add a low-permission member role; no: send a message to a staff review channel. Do not grant your verified role through this workflow. Simulate both outcomes and test manually.
Example: weekly announcement
On a schedule → Every week, choose weekday and UTC time → Send message to #announcements. Check local time conversion and avoid using member-specific actions on a trigger without member context.
Example: custom command
Set When to Slash command, give it a lowercase command name such as rules, add a Send message action, save and enable. Members type /rules: Kinlo adds it to this server’s / list within a minute of saving, and /run name:rules still works. For a command that only answers with text, Community → Custom commands is quicker. For Button is clicked, publish the workflow's button from its controls. Manual triggers can run from the dashboard with a member when needed.
Simulation and failures
Use Simulate before enabling or manually running a workflow. Simulation is not evidence of live Discord permissions. Review validation, branch paths and Recent runs; inspect the failed node, error and trace. Fix the underlying role/channel or data, then use retry when available. A retry can repeat an effect already performed; check coins, messages, roles and logs before retrying. Disable a faulty workflow first. Keep paths short, avoid recursive triggers, and make important effects safe to repeat.
Documentation reviewed December 1, 2026 · Private beta