CHATBOTS
Discord Threshold-Breach Escalation to Linear
When a user's strike count crosses a hard threshold, this opens a Linear issue with the full offense history and pings the moderation lead in Discord so a human decision is…
How it runs
The automated pipeline, trigger to output.
- TriggerNew offense recorded for a userDiscord
- ActionFetch offender's full history from PostgresPostgres
- LogicProceed only if escalation threshold just crossed
- ActionDraft issue body and recommendation with OpenAIOpenAI
- ActionOpen severity-labeled Linear issueLinear
- OutputPing moderation lead in Discord with linkDiscord
What it does
The moment a logged offense pushes a user past your escalation threshold, this creates a tracked Linear issue containing the user's complete violation history and a recommended action, then notifies the moderation lead in Discord. The decision now lives in a ticketing system with an owner and a status, not buried in chat scrollback.
When to use it
Use it when serious cases need accountable human follow-through rather than an instant automated ban. Good for communities where mod actions must be auditable and a second reviewer signs off.
How it works
- 1A Discord event fires whenever a new offense is recorded (or via webhook from the logger).
- 2A Postgres query fetches the offender's full strike history and current total.
- 3A logic gate proceeds only if the total has just crossed the escalation threshold.
- 4An OpenAI call drafts an issue body: timeline, dominant violation types, and a recommended action.
- 5A Linear action opens an issue in the moderation team, labeled by severity.
- 6The bot DMs or pings the moderation lead in Discord with the issue link.
Set it up
What you configure once, before turning it on.
- 1Connect DiscordCommunity channels + voice + bots.
- 2Connect PostgresAny Postgres URL — query, write, migrate.
- 3Connect OpenAIModels, embeddings, files.
- 4Connect LinearIssues, projects, cycles, triage.
- 5Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
- 6Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
- 7Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.
More Chatbots workflows
Discord WAF False-Positive Triage from Ray ID
When a user posts a Cloudflare ray ID in a Discord support channel, the bot looks up the blocked request's WAF event, classifies whether it looks like a genuine false positive.
Agentic WAF Investigator with Discord Approval Gate
An autonomous agent investigates a Discord-reported WAF block end to end: pulls Cloudflare logs, correlates with PagerDuty incidents, decides if an allowlist is safe.
Discord Onboarding Completion to CRM Sync
The moment a member finishes Discord onboarding, captures their submitted profile answers, creates or updates a contact in HubSpot.
Draft WAF Allowlist Proposal to Linear from Discord Report
Lets a support engineer confirm a Discord WAF report is a false positive, then auto-drafts a scoped Cloudflare allowlist rule proposal and files it as a Linear ticket…
Discord FAQ Free-Text Answer Grader
When a member submits a free-text answer in their onboarding thread, an agent grades it against the canonical FAQ knowledge base, replies with targeted feedback.
Discord FAQ-Gated Role Concierge
Greets each new Discord member in a private onboarding thread, walks them through required FAQ steps one at a time.
Run it inside a business
This workflow drops into a full company template. Import the org, and this is one of the playbooks its agents run.

Run this workflow in your colony.
14-day trial. No DevOps. No Sales call. Provisioned in under a minute.
