task icon Task

Create Escalation Flow Diagram

Requirements
Escalation tiers and roles (or use defaults: CSM → CS Manager → VP CS)
2

Ask the user for their escalation flow details:

  • How many escalation tiers? (Default: 3)
  • What roles at each tier? (Default: CSM, CS Manager + Support, VP CS + Engineering)
  • What severity levels trigger escalation? (Default: Low, Medium, High, Critical)

If user just says "escalation flow" without details, use the standard 3-tier model.

3

Construct the image generation prompt using the Escalation Process Flow template:

  1. Start with the base template from the slice
  2. Set the number of tiers
  3. Replace tier labels with the user's roles
  4. Assign colors by severity (green → yellow → red progression)
  5. Keep the flowchart style suitable for wiki/playbook use

The final prompt should create a clear escalation path visualization.

5

Present the generated escalation flow to the user. Show the saved image path.
Offer to regenerate with different tiers, roles, or severity levels if needed.

                    To run this task you must have the following required information:

> Escalation tiers and roles (or use defaults: CSM → CS Manager → VP CS)

If you don't have all of this information, exit here and respond asking for any extra information you require, and instructions to run this task again with ALL required information.

---

You MUST use a todo list to complete these steps in order. Never move on to one step if you haven't completed the previous step. If you have multiple read steps in a row, read them all at once (in parallel).

Add all steps to your todo list now and begin executing.

## Steps

1. [Read Customer Success Visual Prompts]: Read the documentation in: `./skills/sauna/[skill_id]/references/success.visual.prompts.md` (Get the escalation flow prompt template)

2. Ask the user for their escalation flow details:
- How many escalation tiers? (Default: 3)
- What roles at each tier? (Default: CSM, CS Manager + Support, VP CS + Engineering)
- What severity levels trigger escalation? (Default: Low, Medium, High, Critical)

If user just says "escalation flow" without details, use the standard 3-tier model.


3. Construct the image generation prompt using the Escalation Process Flow template:

1. Start with the base template from the slice
2. Set the number of tiers
3. Replace tier labels with the user's roles
4. Assign colors by severity (green → yellow → red progression)
5. Keep the flowchart style suitable for wiki/playbook use

The final prompt should create a clear escalation path visualization.


4. [Gather Arguments: Generate or Edit Image] The next step has the following requirements for arguments, do not proceed until you have all the required information:
- `prompt`: the constructed prompt from previous step
- `imagePath`: empty string - no source image for generation
- `outputDir`: ./documents/images/**/*

5. [Run Code: Generate or Edit Image]: Call `run_script` with:

```json
{
  "file": {
    "path": https://sk.ills.app/code/media.image.generate/preview,
    "args": [
      "prompt",
      "imagePath",
      "outputDir"
    ]
  },
  "packages": null
}
```

6. Present the generated escalation flow to the user. Show the saved image path.
Offer to regenerate with different tiers, roles, or severity levels if needed.