BotManualTHE COMMUNITY PLAYBOOK
English

Build and debug your first automation flow

An admin workshop for Flows: a worked setup, settings explained, day-to-day operation and a complete verification checklist.

9 min read

WHAT YOU WILL BUILD

A tested keyword-to-message flow with a condition, a readable run history and an intentional activation.

Follow the steps, try the example and use the checklist before opening it to your community.

On this page

Your mission

A tested keyword-to-message flow with a condition, a readable run history and an intentional activation. This workshop uses a small first rollout so you can see the complete result before opening it to the whole community. The example is a starting recipe; keep your server's own rules and audience in mind when choosing the final values.

Step 1: Prepare your server

Open your server dashboard and select the correct server, then open Flows. Enable the feature before running the example. Open Flows and start with a keyword auto-reply template or a new flow. Use a private test channel and leave the flow inactive while connecting the first nodes.

Read Roles and permissions if a destination or role cannot be selected. For channel-based actions, check permissions in the actual channel, including its category overrides. For automatic role changes, the bot needs Manage Roles and a position above the role it will assign. Only grant the permissions needed by your chosen workflow.

Step 2: Build your first working example

1. Define one trigger and one condition

Choose the new-message trigger, restrict it to the test channel and match a specific test phrase. Use the variable picker for message data instead of inventing a field path.

2. Connect the action

Add a Discord message action and select the test destination. Start with fixed text so that delivery works before adding expressions. Connect only the intended condition branch to the action.

3. Read a complete test run

Run a test, inspect the trigger data and each node output, then test a non-matching message. Activate only after one message produces one intended response. For an external service, configure and test its credential separately before attaching it to the flow.

After changing the server-wide settings, use Save changes. An item editor, draft, preview or test action is a separate part of the workflow: read its save or publish action before expecting a public Discord post. Reopen the saved item to confirm the destination, access rules and values you intended.

Step 3: Understand the settings

Initial values below describe a new configuration. Your server may already have different saved values. A field with no initial value is chosen in its editor. Optional sections can stay inactive until the basic setup works. Empty and zero do not have one universal meaning; use the explanation for that specific field.

General

SettingInitial valueWhat it changes and how to use it
Execution timeout seconds60Maximum runtime allowed for one flow execution. Increase it only for an intentionally longer workflow; it does not change the trigger schedule or repair a failed node. 5–300; whole numbers.
Retention days14How long completed flow-run history is retained before cleanup. Keep enough history for your support response time; lowering it does not deactivate flows or reverse their completed actions. 1–90; whole numbers.

Test the whole journey

  1. Send a matching and a non-matching message; only the matching path should reach the send action.
  1. Inspect one successful and one failed test run and identify the exact node responsible.
  1. Repeat the relevant member action with an ordinary member account and the staff action with your intended staff role. An administrator test alone can hide permission restrictions. Check both the response in Discord and the saved record or result in the dashboard.
  1. Change one setting that affects the result, save it, and repeat the same test. Record the previous value so you can restore it if the new behavior is not what you wanted.

Follow the complete workflow

1. Open Flows in the dashboard

Enable Flows for your server in your server dashboard and create a flow from scratch or from a template.

2. Choose a trigger

Start with a Discord event, a schedule in your server’s time zone, a manual trigger or a webhook URL.

3. Add logic and actions

Connect conditions, loops and actions. Use {{ }} expressions and the variable picker to insert data such as the message author or a sheet row.

4. Test, then switch it on

Run a test with sample or real data, check every node’s output, and flip the Active toggle. The bot picks up changes on its own.

Operation and behavior in detail

What you can build without code

Most “I wish the bot could…” requests are a trigger, a condition and an action. Flows gives you those building blocks with a safe expression language instead of a scripting sandbox, so server admins can automate without hiring a developer.

Seven starter templates come with setup steps: welcome DM, log messages to Google Sheets, webhook to Discord announcement, keyword auto-reply, daily scheduled post, role on reaction and goodbye log.

  • Reply to keywords or regex patterns in chosen channels.
  • Post a daily or weekly message on a cron schedule.
  • Log new members or reactions to a Google Sheet.
  • Receive a webhook from your site or game server and announce it in Discord.
  • Give a role when someone reacts or clicks a button your flow posted.
  • Pay members in your Bank currency for joining an event, or charge them for a perk; and branch when they can’t afford it.

Built to stay safe and predictable

Every flow runs with a time limit and a cap on node runs, and HTTP requests are blocked from reaching private networks. The bot’s own messages never trigger flows, so loops can’t spiral. Runs are rate-limited per flow and per server.

Webhook triggers and the Google Sheets and MySQL integrations are part of the Pro plan; Pro also raises the number of flows, daily runs and saved credentials.

Extending the flow without losing control

Add one external action at a time. For an HTTP node, check the method, URL, headers, body and returned status. For Google Sheets, select the credential and target sheet before mapping columns. For MySQL, use the node’s parameter fields rather than inserting member text into a query. Inspect the action output before passing it to a loop or condition.

A scheduled trigger uses the displayed server time zone; a manual test does not prove the schedule is correct. A webhook trigger has its own receiving URL and plan capability. Keep receiving URLs and credentials out of public help messages. When a Bank action is added, verify both the flow branch and the ledger entry, including the insufficient-balance branch.

Run a controlled acceptance test

Prove the intended branch and the rejected branch

Keep the first flow in a private test channel. Use a new-message trigger, a single recognizable test phrase, one condition and one message action. Start with fixed output text; add variables only after the destination and permissions work. Run a matching input and inspect the trigger data, condition result and action output. Then run a non-matching input and confirm that the message action is not reached.

Test the same phrase in a different channel to verify the channel restriction. A flow that replies correctly in the test channel can still be too broad if its trigger accepts messages elsewhere. Activate only after these paths match your intent. Reopen the saved flow and inspect its connections and active state; a successful editor test and a saved active flow are separate milestones.

Read a failed run in execution order

Find the first node that failed or received unexpected input. If trigger data is missing, work on the trigger and test payload. If the condition takes the wrong branch, inspect the actual value and comparison. If the action fails, check its destination, bot permission or external credential. Increasing the execution timeout does not repair a wrong branch or an invalid credential.

The timeout limits one execution; it is not the schedule interval. Retention controls how long run history remains available, not how long a flow stays active. Keep the run reference and relevant output before history expires. An action can complete before a later node fails: check messages, roles or payments already produced before replaying a flow with side effects. For a scheduled flow, also record the server time zone and intended local firing time.

When something looks wrong

SymptomWhat to inspectHow to recover
A run starts but stops before sendingThe first failed node, missing variables, credentials and execution timeout.Correct that node and rerun the controlled test; do not activate multiple duplicate flows to work around the failure.
The saved setup produces no visible resultWhether the feature is enabled, the required action has actually happened, and the selected destination still exists.Follow the worked example once, then inspect the response before retrying. A saved configuration alone does not perform every action.
Staff can use it, but an ordinary member cannotMember eligibility, selected roles, channel overrides and Discord command permissions.Test with the affected role combination. Correct the specific restriction and test again.
A role, reward or message is missingThe related feature, destination permissions and the result of the original action.Confirm what already completed before repeating an action that spends currency, sends a message or grants a reward.

Feature-specific questions

Do I need to know how to code to use Flows?

No. You connect nodes on a canvas and fill in forms. Expressions like {{ $trigger.message.content }} are optional and picked from a variable list. See the no-code Discord automation guide.

What can trigger a flow?

New messages, members joining or leaving, reactions, role changes, voice activity, button clicks on messages a flow sent, schedules, manual runs and incoming webhooks.

Can Flows talk to Google Sheets or my database?

Yes. The Google Sheets node can append, read, update, clear and look up rows using a service account, and the MySQL node runs parameterised queries, inserts and updates. Both are part of Pro.

Are my API keys and passwords safe?

Credentials are encrypted at rest with AES-256-GCM, secret fields are never returned to the browser, and each credential can be tested before you use it.

Can a flow give or take Bank coins?

Yes. With Bank enabled, the Get balance, Add to balance and Remove from balance actions read and change a member’s balance with a reason. Every change lands in the Bank ledger, balances never go below zero, and you choose whether a member who can’t afford a removal stops the flow or takes another branch.

Is there a slash command to run a flow?

Not currently. Flows run from Discord events, schedules, webhooks or the editor’s manual trigger. Everything is built in the web dashboard.

Launch checklist

  • Send a matching and a non-matching message; only the matching path should reach the send action.
  • Inspect one successful and one failed test run and identify the exact node responsible.
  • The saved setup and the actual Discord result match the example you chose.
  • A regular member and the intended staff role can complete their respective steps.
  • Optional rewards, notifications and public destinations are intentional.
  • Another admin knows which settings to change, how to inspect a result and how to stop or correct the workflow.

Share Flows basics with someone who needs an overview. Use the command reference below for exact command names and required options.

Commands for this feature

This feature is used through its console settings, messages or buttons. It has no dedicated command in the current reference.

Find an answer

Search features, commands and the full text of every guide.

Start typing to find a guide.

Browse all guides