> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flarebot.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a Moderation Workflow

> Build a complete moderation pipeline with escalating punishments.

## Goal

Establish a clear escalation path: Warning → Mute → Jail → Ban, with logging at every step.

## Steps

<Steps>
  <Step title="Setup Logging First">
    ```bash theme={null}
    /logs
    ```

    Assign the **Moderation** category to a `#mod-logs` channel.
  </Step>

  <Step title="Setup the Jail System">
    ```bash theme={null}
    /jailsetup
    ```
  </Step>

  <Step title="Configure AutoMod Punishments">
    Set AutoMod to auto-warn on first offense:

    ```bash theme={null}
    /automod punishment warn
    ```
  </Step>

  <Step title="Train Your Moderators">
    Share this escalation path:

    * **1st Offense:** `/warn @user reason`
    * **2nd Offense:** `/mute @user 1h repeat offense`
    * **3rd Offense:** `/jail @user persistent rule breaking`
    * **Final:** `/ban @user exhausted all warnings`
  </Step>
</Steps>

<Tip>
  Use `/warnings @user` to check how many warnings a member has before deciding on the next punishment level.
</Tip>
