{
"data": {
"uid": "WORKFLOW001",
"type": "WORKFLOW",
"subType": "AI_AGENT",
"uniqueIdentifier": "ticket-escalation-workflow",
"name": "Ticket Escalation Workflow",
"version": 1,
"triggerEvent": {
"id": "EVENT001",
"name": "ticket.created",
"description": "Triggered when a new ticket is created"
},
"filters": {
"priority": "high",
"team": "support"
},
"annotations": [
{
"entityType": "workflow",
"data": {
"tags": ["escalation", "automation"]
},
"relations": []
}
],
"workflowDefinition": [
{
"stepIdentifier": 1,
"activity": {
"name": "send-notification",
"uniqueIdentifier": "notification.activity",
"version": 1,
"autoUpgradeToLatestVersion": true
},
"input": {
"recipients": ["support-team"],
"message": "High priority ticket requires immediate attention",
"priority": "urgent"
},
"retryPolicy": {
"maximumAttempts": 3,
"initialInterval": 1000,
"backoffCoefficient": 2
},
"onFailure": "CONTINUE",
"isSleepActivity": false,
"executionTimeout": 30000,
"dependencies": [],
"filters": {
"notificationType": "escalation"
}
},
{
"stepIdentifier": 2,
"activity": {
"name": "assign-to-senior-agent",
"uniqueIdentifier": "assignment.activity",
"version": 1,
"autoUpgradeToLatestVersion": true
},
"input": {
"priority": "high",
"skillSet": ["escalation", "technical"],
"autoAssign": true
},
"retryPolicy": {
"maximumAttempts": 2,
"initialInterval": 5000,
"backoffCoefficient": 1.5
},
"onFailure": "ABORT",
"isSleepActivity": false,
"executionTimeout": 60000,
"dependencies": [1],
"filters": {
"agentLevel": "senior"
}
}
],
"executingAgent": "workflow-engine",
"isActive": true,
"createdAt": "2025-07-24T07:19:10.258Z",
"updatedAt": "2025-07-24T07:19:10.258Z",
"createdBy": "USER001",
"teamId": "TEAM001",
"metadata": {
"description": "Automated workflow for escalating high-priority tickets",
"tags": ["escalation", "automation", "support"],
"category": "customer-service"
}
},
"status": true,
"message": "Workflow created successfully!",
"timestamp": "2025-07-25T12:50:38.937Z"
}