# Automated Support Agent Workflow Blueprint

Author: @jenna_li
URL: https://onaiagents.com/p/automated-support-agent-workflow-blueprint
Repo clone: https://onaiagents.com/p/automated-support-agent-workflow-blueprint.repo
Raw prompt: https://onaiagents.com/p/automated-support-agent-workflow-blueprint.txt
Download repo archive: https://onaiagents.com/p/automated-support-agent-workflow-blueprint.zip

Generates a step‑by‑step SOP and JSON configuration for a domain‑specific AI support agent, covering tool integrations, compliance checks, logging, and escalation.

Models: gemini-2.5-pro-(thinking-mode)
Kind: text
Tags: #agentic-workflow, #support, #compliance, #devops, #customer-service, #agents, #prompt-studio

## prompt.txt

```text
### Prompt – Automated Support Agent Workflow Blueprint
**Context**
- **Industry / domain** (e.g., SaaS, e‑commerce, fintech): {{domain}}
- **Primary support channel** (e.g., email, chat, ticketing): {{channel}}
- **Key compliance framework** (e.g., GDPR, HIPAA): {{compliance}}
- **Tools to integrate** (comma‑separated, e.g., Zendesk, GitHub, Slack): {{tools}}
- **Typical request categories** (list 3‑5): {{categories}}
- **Escalation threshold** (e.g., after 2 failed attempts or sentiment < 0.3): {{escalation}}

**Task**
1. Assume the role of a senior support engineer.
2. Produce a **Standard Operating Procedure (SOP)** in markdown with sections:
   - `## Overview`
   - `## Integrated Tools`
   - `## Request Handling Flow`
   - `## Compliance & Logging`
   - `## Escalation Triggers`
   - `## Monitoring & Metrics`
3. Generate a **JSON configuration** that a workflow engine could ingest, containing:
   ```json
   {
     "domain": "{{domain}}",
     "channel": "{{channel}}",
     "compliance": "{{compliance}}",
     "tools": [{{tools_json}}],
     "flow": [{"step": "...", "action": "..."}],
     "escalation": "{{escalation}}",
     "metrics": ["response_time", "resolution_rate"]
   }
   ```
4. Append a **Quality Checklist** (5 items) to ensure the blueprint meets security and reliability standards.

**Quality Bar**
- SOP must be concise (< 1500 words) and fully actionable.
- JSON must be **valid** and pass a schema validation test.
- All compliance steps must reference the named framework.
- Include at least one **fallback to human** trigger.

**Constraints**
- Do not reference proprietary internal APIs.
- Keep language neutral; avoid vendor‑specific jargon unless listed in `tools`.
- Return **only** the markdown SOP followed by the JSON block and checklist.
```

## Files

- [file-1.txt](https://onaiagents.com/api/site/raw/automated-support-agent-workflow-blueprint/file-1.txt) (text/plain, 130 bytes)
- [file-2.txt](https://onaiagents.com/api/site/raw/automated-support-agent-workflow-blueprint/file-2.txt) (text/plain, 121 bytes)
- [file-3.txt](https://onaiagents.com/api/site/raw/automated-support-agent-workflow-blueprint/file-3.txt) (text/plain, 212 bytes)
- [file-4.txt](https://onaiagents.com/api/site/raw/automated-support-agent-workflow-blueprint/file-4.txt) (text/plain, 208 bytes)
- [sources.json](https://onaiagents.com/api/site/raw/automated-support-agent-workflow-blueprint/sources.json) (text/plain, 125 bytes)
- [thumbnail-source.txt](https://onaiagents.com/api/site/raw/automated-support-agent-workflow-blueprint/thumbnail-source.txt) (text/plain, 45 bytes)

## Repo clone

```bash
git clone https://onaiagents.com/p/automated-support-agent-workflow-blueprint.repo
# or download the archive:
curl -L https://onaiagents.com/p/automated-support-agent-workflow-blueprint.zip -o automated-support-agent-workflow-blueprint.zip
unzip automated-support-agent-workflow-blueprint.zip -d automated-support-agent-workflow-blueprint
```
