{ "id": "bd94864f62ce414985c44867fcada076", "account_id": "6471145ddb28af66d74fee31", "user_id": "649c16a483084e3a99db8f1c", "name": "Kore.ai Voice Automation", "description": "", "trigger_type": "voice_inbound", "status": "published", "version": 58, "previous_version": "7691ebd738314d08a7a24c9e72048c48", "next_version": "c58298068ea248dcb936b7a13b7d5ad2", "created_at": "2024-03-12T12:01:02.874686Z", "updated_at": "2024-03-12T12:05:31.275089Z", "valid": true, "validation_status": "valid", "initial_step_id": "e1b5b83bc6ef4fe49632978cc55801cf", "group_id": "cc7765f78629439fae4b4daa55ebaa4e", "pre_conditions": {}, "steps": [ { "id": "e1b5b83bc6ef4fe49632978cc55801cf", "name": "Initial step", "component": { "name": "inbound_voice-ZjE1ZjM0MG", "version": "1.3.x" }, "properties": {}, "exits": [ { "_key": "e0b9f5fd-d649-4cbe-a665-c673a04d81c8", "name": "ok", "transition": "ae7ecb07e1024345a2eb0836a46e2842" } ], "context_mappings": {}, "created_at": "2023-06-27T11:42:40.795000Z" }, { "id": "d8791dc128e24d8d8aa83a5ab8d95b9b", "name": "end", "component": { "name": "hangup_call-OTE5ZmM0NW", "version": "1.0.x" }, "properties": {}, "exits": [], "context_mappings": {}, "created_at": "2023-06-27T11:52:26.719000Z" }, { "id": "73730354e7e74301b46eccf6507519a4", "name": "AUDIO PLAY HERE", "component": { "name": "play_audio-NjFkZDU2MG", "version": "2.16.x" }, "properties": { "audio_message": { "text": "Transfering to Kore.ai SmartAssist now.", "language": "en-US" } }, "exits": [ { "_key": "0774db30-8865-46e1-980b-de6c57f09848", "name": "ok", "transition": "b161e3b7fbbf4cd7bba1f456c6241dc7" } ], "context_mappings": {}, "created_at": "2023-07-11T06:14:49.452000Z", "on_error": { "_key": "6e5b6797-e9dd-48e8-a395-86c7ba741c38", "type": "end_flow", "name": "error" } }, { "id": "ae7ecb07e1024345a2eb0836a46e2842", "name": "Auto answer Calling system", "component": { "name": "autoanswer-ZjJjOTRkMG", "version": "1.4.x" }, "properties": { "auto_answer": false }, "exits": [ { "_key": "26bb7c24-217f-4f39-b189-01089a6f4939", "name": "ok", "transition": "73730354e7e74301b46eccf6507519a4" } ], "context_mappings": {}, "created_at": "2023-07-11T07:21:19.838000Z", "on_error": { "_key": "3a84dfe7-649e-4114-b5a7-d561b1f06f32", "type": "end_flow", "name": "error" } }, { "id": "b161e3b7fbbf4cd7bba1f456c6241dc7", "name": "BiDirectional Stream.", "component": { "name": "virtual_agent-MDk2MjdhNm", "version": "1.64.x" }, "properties": { "va_parameters": { "voice_stream_url": "wss://korevg-np.kore.ai/audiosocket/talkdesk/?accountId=&sipuri=%2B1223455678&agentassist=false&token=&botId=st-xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx" }, "business_hours": "", "studio_component_type": "Virtual Agent" }, "exits": [ { "_key": "b8bc6b0a-8fa5-4030-8803-3279ec73c1c8", "name": "ok", "transition": "851b67cada884dfb912b4f09d0104615" }, { "_key": "6962035c-2a32-4d08-b60a-859991538d79", "name": "escalation", "transition": "d3976fee01e34c439b42e71fdf5957e6" }, { "_key": "43f3b141-e7f1-4f30-b49c-fdae7148c240", "name": "failure", "transition": "38f11034c7b842609fc2454fa0b0afae" } ], "context_mappings": { "escalation": "escalate_to" }, "created_at": "2023-08-07T06:59:47.340000Z" }, { "id": "38f11034c7b842609fc2454fa0b0afae", "name": "WSS stream failure", "component": { "name": "play_audio-NjFkZDU2MG", "version": "2.16.x" }, "properties": { "audio_message": { "text": "Something went wrong with the WS Stream", "language": "en-US" } }, "exits": [ { "_key": "d1af44c9-876e-4e0f-b185-56167325bee2", "name": "ok", "transition": "d8791dc128e24d8d8aa83a5ab8d95b9b" } ], "context_mappings": {}, "created_at": "2023-08-07T07:00:55.588000Z", "on_error": { "_key": "64191c42-bd8b-46e0-bcb5-abbc11c6f0e9", "type": "end_flow", "name": "error" } }, { "id": "b5c4d37521234e74967e90655a331ba4", "name": "Agent Transfer", "component": { "name": "assignment_and_dial-M2JhZTViYT", "version": "3.23.x" }, "properties": { "priority": { "priorities_list": 10 }, "time_limit": { "time": 180, "waiting_music": {} }, "users_to_ring": { "exhaust": true, "forced_queueing": false, "number_of_users": 1 }, "waiting_message": {}, "assignment_parameters": { "ring_groups": { "ring_groups_context": ["%{current_flow.escalation}"] } } }, "exits": [ { "_key": "42222e7e-534d-41b3-a441-f0c72d60ce49", "name": "call_finished", "transition": "d8791dc128e24d8d8aa83a5ab8d95b9b" }, { "_key": "ee0f667a-478e-4928-8a1e-86866ab8956a", "name": "call_no_answer", "transition": "d8791dc128e24d8d8aa83a5ab8d95b9b" }, { "_key": "a991a099-25d5-4391-99a3-bd8882a5d03f", "name": "time_limit_reached", "transition": "d8791dc128e24d8d8aa83a5ab8d95b9b" }, { "_key": "bccde160-5000-493f-be64-8568d402b63f", "name": "no_match", "transition": "d8791dc128e24d8d8aa83a5ab8d95b9b" } ], "context_mappings": {}, "created_at": "2024-02-01T12:22:37.013000Z" }, { "id": "e3aa644143694366a049d52419a8a94d", "name": "AA Node", "component": { "name": "ai_voice_stream_start", "version": "0.2.x" }, "properties": { "url": "Kore.ai AgentAssist Streaming URL" }, "exits": [ { "_key": "83ee0ab2-1b20-47d6-ada9-366f629cd06c", "name": "success", "transition": "b5c4d37521234e74967e90655a331ba4" } ], "context_mappings": {}, "created_at": "2024-02-01T12:26:20.205000Z" }, { "id": "851b67cada884dfb912b4f09d0104615", "name": "End Audio", "component": { "name": "play_audio-NjFkZDU2MG", "version": "2.16.x" }, "properties": { "audio_message": { "text": "Ending the call.", "language": "en-US" } }, "exits": [ { "_key": "d61247bb-2e96-4e44-aa99-e717854381f6", "name": "ok", "transition": "d8791dc128e24d8d8aa83a5ab8d95b9b" } ], "context_mappings": {}, "created_at": "2024-03-11T07:09:20.007000Z" }, { "id": "d3976fee01e34c439b42e71fdf5957e6", "name": "Agent Escalation", "component": { "name": "play_audio-NjFkZDU2MG", "version": "2.16.x" }, "properties": { "audio_message": { "text": "Transferring to agent Now", "language": "en-US" } }, "exits": [ { "_key": "50869390-70b5-4259-8e92-08b563146891", "name": "ok", "transition": "e3aa644143694366a049d52419a8a94d" } ], "context_mappings": {}, "created_at": "2024-03-11T07:10:59.888000Z" } ], "model": { "escalation": { "display_name": "escalation", "exposed": false, "format": { "type": "string", "$schema": "http://json-schema.org/draft-04/schema#" } } } }