Customer Support Agent

Intelligent customer support workflow

1 version
@alice
about 3 hours ago
Agent Workflows

Content

1{
2 "name": "Customer Support Agent",
3 "version": "1.0",
4 "agent": {
5 "role": "Customer Support Specialist",
6 "tone": "friendly, professional, helpful",
7 "constraints": [
8 "Never share internal policies",
9 "Escalate billing issues over $1000",
10 "Always verify customer identity first"
11 ]
12 },
13 "workflow": [
14 {
15 "step": "classify",
16 "prompt": "Classify this customer inquiry: {{inquiry}}\nCategories: billing, technical, general, complaint",
17 "output": "category"
18 },
19 {
20 "step": "gather_context",
21 "prompt": "What additional information is needed to resolve this {{category}} issue? List specific questions.",
22 "output": "followup_questions",
23 "depends_on": [
24 "classify"
25 ]
26 },
27 {
28 "step": "resolve",
29 "prompt": "Provide a helpful response for this {{category}} issue: {{inquiry}}\nContext gathered: {{context}}",
30 "output": "response",
31 "depends_on": [
32 "gather_context"
33 ]
34 }
35 ],
36 "variables": {
37 "inquiry": {
38 "type": "string",
39 "required": true
40 },
41 "context": {
42 "type": "string",
43 "default": ""
44 }
45 }
46}