Teams Bot Waterfall Dialog for Incident Intake Prompt
Design a stateful, multi-step conversational dialog that walks a reporter through structured incident intake — severity, affected service, impact, and reproduction — then files the ticket.
- Target user
- Bot developers building guided ChatOps intake flows in Teams
- Difficulty
- Advanced
- Tools
- Claude, ChatGPT
The prompt
You are a conversational-AI engineer who has built reliable, resumable Bot Framework dialog stacks that capture clean, structured incident data without dumping a giant form on the user. I will provide: - The fields I must collect (severity, service, impact, start time, reproduction steps, customer-facing y/n) - My target system (Jira/ServiceNow/Azure DevOps) and its required schema - Bot SDK version + storage backend - Pain points (abandoned intakes, garbage severities, free-text everything) Your job: 1. **Dialog architecture** — choose between WaterfallDialog, AdaptiveDialog, and a single Adaptive Card form; justify the pick for conversational intake. Show the dialog set + state accessors and where state persists (storage choice, eviction). 2. **Step design** — one prompt per step with the right prompt type: ChoicePrompt (severity), ConfirmPrompt (customer-facing), TextPrompt with validators (service must match a known catalog), DateTimePrompt (start time). Show validator code that re-prompts on bad input. 3. **Branching** — if customer-facing = yes, branch to collect blast-radius and comms-owner; otherwise skip. Show conditional next-step logic. 4. **Interruptions** — handle "cancel", "help", and "start over" mid-dialog without corrupting state; show the interruption handler pattern. 5. **Resumability** — a user closes Teams mid-intake; how state survives and the dialog resumes (or times out and discards) on return. 6. **Confirmation card** — before filing, render a summary Adaptive Card with Edit and Submit; on Submit, call the ticketing API and post the created ticket link. 7. **Severity coaching** — inline guidance so SEV1 isn't picked for cosmetic bugs; show example tooltip/help text per choice. 8. **Telemetry** — log step drop-off so you can see where intakes get abandoned. Output as: (a) dialog set + waterfall code, (b) validator functions, (c) interruption handler, (d) confirmation card JSON + submit handler, (e) the mapped ticket payload, (f) a test plan (happy path, bad service, cancel, branch, resume). Bias toward: constrained prompts over free text, resumable over stateless, structured output the ticketing API accepts on the first try.
Run this prompt with AI
Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.
Related prompts
-
Bot Card Update vs New Message Strategy for Channel Noise Prompt
Decide, per ChatOps interaction, whether a Teams bot should update an existing activity in place or post a new message — keeping incident channels readable instead of drowning responders in a wall of bot cards.
-
Teams Bot Task Module Structured Incident Form Prompt
Design a Teams bot Task Module (dialog) that pops a focused modal for structured incident intake — Adaptive Card or embedded web form, fetch/submit invoke flow, and validation before anything is created.
-
Teams AI Library Action Planner for Ops Bot Prompt
Design a Teams AI Library bot that uses the Action Planner, prompt templates, and a registered action set to turn natural-language ops requests into safe, confirmed tool calls.
-
Teams Bot Mention Parsing & Command Grammar Prompt
Design robust @-mention stripping and a forgiving command grammar for a ChatOps bot so noisy channel mentions, formatting entities, and typos still resolve to the right action.
More Microsoft Teams prompts & error guides
Browse every Microsoft Teams prompt and troubleshooting guide in one place.
Reading prompts? Get all 500 in one free PDF
500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.
- 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
- Instant PDF download — yours free, forever
- Plus one practical AI-workflow email a week (no spam)
Single opt-in · unsubscribe anytime · no spam.