Event Catalog

Supported Operata Events for Amazon EventBridge

πŸ“˜

Service is currently in Beta with limited event support

The AWS EventBridge for Operata service is currently in Beta. More events will be added shortly, and we thankyou for your patience.

Call Summary Events

The following JSON payload is delivered to the customer EventBridge bus after call completion.

🚧

Variable delivery delays

Please note, delivery of events post-call range from 30 seconds to 5 minutes depending on a range of conditions.

{
    "version": "0",
    "id": "efd3672a-a600-1613-245b-1d94ac187cdf",
    "detail-type": "CallSummary",
    "source": "aws.partner/app-dev.operata.io/0841f5f7-e9c0-4454-8cb3-12345678910/operata-demo-new",
    "account": "123456789",
    "time": "2020-12-07T22:30:24Z",
    "region": "us-east-1",
    "resources": [],
    "detail": {
        "contactFlow": [
            {
                "contactFlowModuleType": "SetLoggingBehavior",
                "timestamp": "2020-12-07T22:28:54.25Z"
            },
            {
                "contactFlowModuleType": "InvokeExternalResource",
                "timestamp": "2020-12-07T22:28:54.25Z"
            },
            {
                "contactFlowModuleType": "CheckAttribute",
                "timestamp": "2020-12-07T22:28:54.888Z"
            },
            {
                "contactFlowModuleType": "CheckAttribute",
                "timestamp": "2020-12-07T22:28:54.889Z"
            },
            {
                "contactFlowModuleType": "PlayPrompt",
                "timestamp": "2020-12-07T22:28:54.89Z"
            },
            {
                "contactFlowModuleType": "Resume",
                "timestamp": "2020-12-07T22:28:54.897Z"
            }
        ],
        "agent": "Tom",
        "agentCity": "Liverpool",
        "callEndTime": "2020-12-07T22:29:12.29Z",
        "durationSeconds": 10,
        "agentISP": "Telstra",
        "duration": 1,
        "mos": {
            "min": 4.425452320902975,
            "avg": 4.431209936692777,
            "max": 4.433327950361177
        },
        "protocol": "udp",
        "browser": {
            "name": "Chrome",
            "version": "86.0.4240.80"
        },
        "agentCountry": "Australia",
        "networkType": "wlan",
        "timestamp": "2020-12-07T22:29:15.4Z",
        "group": "",
        "agentExternalIPAddress": "60.242.105.246",
        "callStartTime": "2020-12-07T22:29:03.235Z",
        "ipAddress": "10.4.18.175",
        "clientInfo": {
            "operataClientId": "0841f5f7-e9c0-4454-8cb3-123456789",
            "operataClientSecret": "fahfjdafhdafjds",
        },
        "iceServer1": {
            "country": "Australia",
            "protocol": "udp",
            "fqdn": "turnnlb-93f2de0c97c4316b.elb.ap-southeast-2.amazonaws.com.",
            "port": "3478",
            "city": "Sydney",
            "isp": "amazon.com, Inc",
            "ipAddress": "13.210.2.196",
            "region": "New South Wales"
        },
        "totals": {
            "bytesReceived": 77392,
            "packetsLostFraction": 0,
            "packetsReceived": 780,
            "packetsLost": 0,
            "packetsSent": 0,
            "bytesSent": 67790
        },
        "operataBillingSummary": {
            "operataStatsDurationSec": 10,
            "operataStatsDurationRoundedMin": 1,
            "agentInteractionDurationActualSec": 9,
            "agentInteractionDurationRoundedMin": 1
        },
        "agentRegion": "New South Wales",
        "operataClientId": "0841f5f7-e9c0-4454-8cb3-0eb3230e899b",
        "jitter": {
            "min": 1,
            "avg": 2,
            "max": 9
        },
        "rtt": {
            "min": 61,
            "avg": 66,
            "max": 71
        },
        "packetLoss": {
            "min": 0,
            "avg": 0,
            "max": 0
        },
        "port": 49618,
        "callEvents": {
            "connected": "2020-12-07T22:29:03.235Z",
            "incoming": "2020-12-07T22:28:53.568Z",
            "ended": {
                "party": "Agent",
                "timestamp": "2020-12-07T22:29:12.29Z"
            },
            "connecting": "2020-12-07T22:28:53.568Z",
            "lastUpdated": "2020-12-07T22:30:20Z",
            "disconnected": "2020-12-07T22:29:12Z",
            "initiated": "2020-12-07T22:28:54Z",
            "connectedToSystem": "2020-12-07T22:29:03Z"
        },
        "operataClientSecret": "sdfdsfdsfdsffdsf",
        "attributes": {
            "Operata_App_ID": "",
            "Location": "Default",
            "Provider": ""
        },
        "agentIPAddress": "192.168.1.104",
        "callContactId": "013fd34c-5ba3-4f9a-a27f-fwsdfwer545435",
        "tags": [
            "Very High Agent connection time"
        ],
        "contactDurationSummary": {
            "contactDurationRoundedMin": 1,
            "contactDurationActualSec": 9
        },
        "operataGroupSecret": "LnfgDsc3WD9F3qNf",
        "operataGroupID": "0841f5f7-e9c0-4454-8cb3-fdgfdsgfdsgd",
        "contactId": "013fd34c-5ba3-4f9a-a27f-fwsdfwer545435",
        "callDurationRounded": 1,
        "callDurationActual": 9,
        "traceRecord": {
            "CustomerEndpoint": {
                "Type": "TELEPHONE_NUMBER",
                "Address": "+61234567891"
            },
            "MediaStreams": [
                {
                    "Type": "AUDIO"
                }
            ],
            "SystemEndpoint": {
                "Type": "TELEPHONE_NUMBER",
                "Address": "+61312345678"
            },
            "Attributes": {},
            "ConnectedToSystemTimestamp": "2020-12-07T22:29:03Z",
            "PreviousContactId": null,
            "ContactId": "013fd34c-5ba3-4f9a-a27f-fwsdfwer545435",
            "LastUpdateTimestamp": "2020-12-07T22:30:20Z",
            "InitiationMethod": "OUTBOUND",
            "ContactDetails": {},
            "InitiationTimestamp": "2020-12-07T22:28:54Z",
            "TransferredToEndpoint": null,
            "Queue": {
                "Duration": 0,
                "ARN": "arn:aws:connect:ap-southeast-2:dfsdafdsafdsfsdfsadf",
                "DequeueTimestamp": null,
                "EnqueueTimestamp": null,
                "Name": "OP_Performance_Mgmt_Outbound"
            },
            "Agent": {
                "RoutingProfile": {
                    "ARN": "arn:aws:connect:ap-southeast-2:dfsdfsdfdadsafdsa",
                    "Name": "OP_Performance_Mgmt"
                },
                "NumberOfHolds": 0,
                "CustomerHoldDuration": 0,
                "HierarchyGroups": null,
                "Username": "anitha",
                "LongestHoldDuration": 0,
                "AgentInteractionDuration": 9,
                "AfterContactWorkStartTimestamp": "2020-12-07T22:29:12Z",
                "ARN": "arn:aws:connect:ap-southeast-2:afddsfdsafdsafdsaf",
                "ConnectedToAgentTimestamp": "2020-12-07T22:29:03Z",
                "AfterContactWorkDuration": 1,
                "AfterContactWorkEndTimestamp": "2020-12-07T22:29:13Z"
            },
            "AWSContactTraceRecordFormatVersion": "2017-03-10",
            "AWSAccountId": "083560837128",
            "NextContactId": null,
            "Channel": "VOICE",
            "Recordings": null,
            "DisconnectTimestamp": "2020-12-07T22:29:12Z",
            "InitialContactId": null,
            "References": [],
            "InstanceARN": "arn:aws:connect:ap-southeast-2:fdfasdffadsfdsfdsafdsf",
            "AgentConnectionAttempts": 0,
            "Recording": null,
            "TransferCompletedTimestamp": null
        }
    }
}