CHATBOTS
Discord Slash Command: Promote a GitLab Environment from a Thread
A /promote slash command in Discord triggers a GitLab environment deployment (e.g. staging to production), confirms who requested it.
How it runs
The automated pipeline, trigger to output.
- TriggerDiscord /promote slash commandDiscord
- LogicAuthorize requester + validate target env
- ActionTrigger GitLab deployment pipelineGitLab
- ActionPoll new pipeline to terminal stateGitLab
- OutputReport promoted/failed outcome in threadDiscord
What it does
This turns Discord into a controlled deploy button. A `/promote` slash command names a GitLab project and target environment; the flow verifies the requester is allowed, triggers the corresponding GitLab pipeline or deployment, and streams the resulting status back into the thread so the requester sees it go green or red.
When to use it
When you want gated, auditable manual promotions without handing everyone GitLab deploy rights. Useful for teams that promote staging to production on demand and want the action plus its outcome captured in one Discord thread.
How it works
- 1A Discord slash command (`/promote project env`) triggers the flow with the invoker's identity.
- 2A logic step checks the requester against an allowlist and validates the target environment.
- 3On approval, the flow calls GitLab to trigger the deployment pipeline for that environment.
- 4The flow polls the new pipeline's status through to a terminal state.
- 5It posts the outcome — promoted or failed, with the pipeline link — back into the originating thread.
Set it up
What you configure once, before turning it on.
- 1Connect DiscordCommunity channels + voice + bots.
- 2Connect GitLabRepos, MRs, pipelines, registry.
- 3Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
- 4Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
- 5Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.
More Chatbots workflows
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.
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.
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 verify-button onboarding via web form webhook
Receives a completed external verification form by webhook, matches it to the Discord account, grants the verified role, and confirms back to the member in Discord.
Discord intro-gated role granting concierge
Watches your #introductions channel, uses AI to confirm a new member's intro is genuine and complete, then auto-assigns the verified Member role and welcomes them.
Daily Discord Digest of Repeated WAF False-Positive Reports
Each morning, scans logged Discord WAF reports in Postgres, groups them by the Cloudflare rule that keeps firing.
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.
