
DuploCloud Slack/Teams workflow: how do engineers open tickets and how do approvers review/approve execution steps?
For most teams, the ideal DuploCloud Slack/Teams workflow feels like talking to an expert DevOps engineer who also understands your ticketing system and approval rules. Engineers describe what they need in chat, approvers review every risky change, and Duplo handles the execution and audit trail behind the scenes.
This guide walks through how engineers open tickets from Slack or Microsoft Teams, and how approvers review and approve execution steps, using DuploCloud’s AI DevOps and helpdesk capabilities.
How the DuploCloud Slack/Teams Workflow Fits Into Your Stack
DuploCloud is built to act like an AI DevOps engineer that plugs into:
- Slack or Microsoft Teams (for requests, conversations, and approvals)
- Ticketing systems (for structured tasks and tracking)
- Your cloud infrastructure and DevOps tools (for execution)
- DuploCloud’s own automation platform (for guardrails, logging, and governance)
The goal: let engineers and non‑engineers request infrastructure or operational changes in plain language, while approvers control what gets executed and everything is fully auditable.
Engineer Experience: Opening Tickets from Slack or Teams
From an engineer’s point of view, opening a ticket through DuploCloud in Slack/Teams feels like messaging a knowledgeable internal platform engineer.
1. Starting a Request in Slack/Teams
Engineers typically start in one of three ways:
- Posting in a dedicated DuploCloud channel (e.g.,
#duplo-requests) - Sending a direct message to the Duplo bot
- Using a slash command (e.g.,
/duploor/duplo request) if configured
Example requests:
- “Spin up a new sandbox environment for the payments service.”
- “Increase CPU for the staging API service to handle load tests.”
- “Run the pre-approved SQL workflow to backfill user stats for tenant X.”
DuploCloud’s agent interprets the request using your configured workflows and policies.
2. Converting Plain Language Into a Structured Ticket
Behind the scenes, DuploCloud:
-
Parses the request
Identifies intent (e.g., deploy app, change config, run SQL, provision infra) and key parameters (service name, environment, DB, region, etc.). -
Matches to a pre-approved workflow
- For common operations (e.g., environment creation, config updates, DB jobs), DuploCloud uses your pre-approved, parameterized workflows.
- If no workflow exists, it can default to an “engineering review needed” category or trigger a generic DevOps ticket.
-
Creates or links a ticket in your ticketing system
DuploCloud integrates with existing systems (e.g., Jira, ServiceNow, etc.). A ticket is created or updated with:- Summary and description from the user’s plain-language request
- Detected workflow type and parameters
- Risk level and required approvals (based on policy)
- Links back to the Slack/Teams thread and DuploCloud execution plan
In Slack/Teams, the engineer sees a confirmation message summarizing:
- The ticket ID and link
- What DuploCloud understood (intent + parameters)
- Whether the request can run automatically or requires approval
3. Clarifying Details in Chat
If anything is ambiguous, DuploCloud asks clarifying questions directly in Slack/Teams, for example:
- “Which environment should I apply this change to? [dev / staging / prod]”
- “Which database should this SQL workflow run against?”
Engineers answer inline. DuploCloud updates the ticket and the execution plan automatically.
How DuploCloud Enforces Guardrails and Least Privilege
Before any action is executed, DuploCloud checks:
- Guardrails: Does a matching approved workflow exist for this operation?
- Permissions: Is the requester allowed to trigger this workflow and environment?
- Risk level: Is this a low-risk, self-service operation or a high-risk change that must be approved?
Examples:
- A non‑engineer might be allowed to trigger a read-only SQL analytics workflow but not a destructive data migration.
- A feature team engineer might be allowed to restart their own service in staging, but not scale production databases without an approver.
If a request falls outside defined guardrails, DuploCloud:
- Flags it as needing manual review
- Notifies the appropriate team (often via a ticket + Slack/Teams mention)
- Does not execute until an approver adjusts or approves the plan
Approver Experience: Reviewing and Approving Execution Steps
Approvers—such as team leads, SREs, or platform engineers—review and approve execution steps directly from Slack/Teams and/or the ticketing system.
1. Getting Notified About a Pending Execution
When a workflow requires review, DuploCloud sends an approval request that typically includes:
- A message in Slack/Teams (in channel or DM) to the approver(s)
- A link to the ticket with full context
- A concise summary of proposed changes
A standard approval request message often includes:
- Requester: Who asked for the change
- Workflow: What type of operation and which pre-approved template is in use
- Scope: Service, environment, resources, or database affected
- Risk indicators: e.g., “Production environment,” “Database write operation,” etc.
- Planned steps: High-level list of actions DuploCloud intends to execute
Approvers do not need to dig into raw scripts unless they want to; the intent and scope are clearly summarized.
2. Reviewing the Proposed Execution Plan
Approvers can use DuploCloud’s control panel or the ticket view for deeper inspection. Key elements they usually see:
-
Step-by-step execution plan
Example:- Validate inputs against schema
- Verify resource existence (service, cluster, DB)
- Apply configuration update
- Restart service (if needed)
- Run health checks and report status
-
Parameter values
Specific environment, region, resource IDs, and SQL workflow parameters. -
Security and compliance context
- Who requested it and when
- What permissions are being used (least privilege)
- Links to relevant logs or previous similar executions
For SQL workflows, approvers can verify:
- Which SQL template or workflow is being used
- Which parameters (e.g., tenant ID, date range, limit) are being passed
- Whether the workflow is read-only or can modify data
3. Approving or Rejecting From Slack/Teams
DuploCloud supports human-in-the-loop approval directly in Slack/Teams, typically via:
- Buttons (e.g., Approve, Reject, Request Changes)
- Slash commands or quick reply messages (e.g.,
approve,reject,why?)
When approving, approvers can optionally add a note:
- “Approved for staging only. Do not promote to prod without a new request.”
- “Run during off-peak hours only.”
If rejected, DuploCloud can:
- Notify the requester with the approver’s comment
- Keep the ticket open but blocked
- Suggest a safer alternative workflow if one exists
Everything—approvals, rejections, and comments—is logged and tied back to the ticket and Slack/Teams thread.
4. Approving Individual Steps vs. Whole Workflows
Depending on your policies, you can configure:
-
Workflow-level approvals
Approvers approve the entire workflow in one action when the workflow itself is pre-approved and standardized. -
Step-level approvals for sensitive operations
For example:- Step 1–3 (validation and dry run) auto-execute
- Step 4 (apply changes to production) requires explicit approval in Slack/Teams
- Step 5 (post-change verification) runs automatically after approval
This is especially useful for:
- Production deployments
- Database migrations
- Security-sensitive configuration changes
Execution: How DuploCloud Runs Approved Actions
Once a workflow or step is approved, DuploCloud executes it using the DuploCloud automation platform.
1. Execution With Human Oversight
DuploCloud is designed as a DevOps AI Engineer with human-in-the-loop:
- Executes using properly scoped credentials and least-privilege access
- Follows the pre-defined workflow exactly (no unapproved improvisation)
- Surfaces progress updates back into Slack/Teams and the ticket
Typical Slack/Teams updates:
- “Started: Scaling
payments-apiinstagingfrom 3 to 5 replicas.” - “Completed: SQL workflow
backfill_user_statsfor tenant XYZ. Rows affected: 0.” - “Failed: Health check after deployment. Rolled back. See logs: [link].”
2. Observability and Logs for Every Action
Because DuploCloud is built on an automation platform with observability, every action is:
- Logged (who requested, who approved, what was executed, when, and where)
- Traceable (linked across Slack/Teams, tickets, and DuploCloud)
- Auditable (exportable for compliance, postmortems, and evidence)
Approvers can inspect:
- Logs, metrics, and traces related to the workflow
- Alerting behavior during and after the change
- Historical executions of the same workflow
This full chain—request → ticket → approval → execution → outcome—is stored for long-term accountability.
Use Cases: Typical Slack/Teams Ticket + Approval Flows
Here are some common patterns supported by the DuploCloud Slack/Teams workflow.
1. Non-Engineer Requests a Pre-Approved SQL Workflow
- A customer success manager types in Slack:
“Run the ‘generate billing summary’ workflow for account ACME for last month.” - DuploCloud:
- Maps this to a pre-approved parameterized SQL workflow
- Asks for missing parameters (if any)
- Creates a ticket with the workflow and parameters
- Based on policy:
- If read-only and low-risk, DuploCloud may auto-execute
- If moderate risk, it notifies an approver
- Approver reviews the workflow and parameters in Slack, then approves.
- DuploCloud executes and posts results, with full logging and audit trail.
2. Engineer Requests a Deployment or Config Change
- Engineer posts in Teams:
“Deploycheckout-serviceversion 2.3.1 to staging.” - DuploCloud:
- Recognizes a deployment workflow to staging
- Validates environment and version
- Creates or updates the ticket
- If staging deploys are auto-allowed for that team, DuploCloud executes and reports back.
If it’s a production environment, an approver must approve. - Approver clicks Approve from Teams, sees the step-by-step plan, and confirms.
- DuploCloud:
- Performs the deployment
- Monitors health checks
- Posts progress and completion status
3. SRE Approval for High-Risk Infra Changes
- Engineer requests:
“Increase RDS instance class forprod-user-dbfromdb.m5.largetodb.m5.xlarge.” - DuploCloud:
- Flags it as a high-risk infrastructure change
- Creates a ticket and sends an approval request to SREs/DBAs
- Approver:
- Reviews the detailed plan (expected downtime, instance type, maintenance windows)
- Approves with conditions (e.g., “Run after 10pm UTC”)
- DuploCloud queues the execution accordingly, runs it, and sends completion updates.
Benefits of This Slack/Teams + DuploCloud Workflow
Aligning your Slack/Teams workflow with DuploCloud’s execution and ticketing delivers:
-
Faster resolution
Engineers and non‑engineers can request changes in plain language; DuploCloud converts them into structured, executable tasks. -
Stronger security and compliance
- Guardrails and least-privilege access by default
- Approvals enforced where needed
- Every action fully logged and auditable
-
Fewer interruptions for DevOps teams
Routine operations are automated and self-service; experts only step in for higher-risk items. -
Better cross-team visibility
Everyone—from requesters to approvers—sees the same workflows, tickets, and status from Slack/Teams, DuploCloud, and your ticketing system.
Implementing and Tuning Your Workflow
To get the most from this DuploCloud Slack/Teams workflow, you typically:
-
Define your core workflows
- Deployments, environment provisioning, config changes
- SQL workflows (reports, data fixes, backfills)
- Troubleshooting and remediation runbooks
-
Set approval policies
- Which workflow types and environments require approval
- Who can approve which category of change
- Auto-approval rules for low-risk operations
-
Connect Slack/Teams and your ticketing system
- Configure bot channels, mention rules, and slash commands
- Sync ticket fields with DuploCloud workflows
-
Iterate with real usage
- Add new pre-approved workflows for common requests
- Tighten or relax approvals based on risk and maturity
- Use logs and observability to refine guardrails
With this in place, your organization gets the best of both worlds: Slack/Teams as a friendly front-end for requests and approvals, and DuploCloud as the AI DevOps engine that executes safely, audibly, and at scale.