Introduction
During this seciton, we'll create the various triggers to process new dataProcessing new audio files arriving in S3
In this section, we'll setup this link to automatically process step functions when new data arrivesTesting the audio processing pipeline
In this next step, we'll run an example processing file through the pipeline.Verifying the processing of the Audio File.
Now that we manually added the audio file to our monitored s3 bucket, let's check out the data processing pipelineProcessing new CTR records coming from Kinesis Streams
In this section, we'll setup this link to automatically process new CTR from kinesis streamsaws kinesis put-record --stream-name Connect-CTR-Stream --region us-west-2 --data '{"AWSAccountId":"123456789012","AWSContactTraceRecordFormatVersion":"2017-03-10","Agent":null, "AgentConnectionAttempts":0,"Attributes":{"agentAssist":"Yes","registered":"not registered", "ridePax":"2","ridePickup":"525 Market St 2nd floor, San Francisco, CA","ridePickupDate":"Sunday, November 04 at 10:45PM", "selectedPath":"status","tripID":"1262"},"Channel":"VOICE","ConnectedToSystemTimestamp":"2018-11-02T17:22:20Z","ContactId":"d9a9e57a-6204-4212-9f6e-6b6d89ee7bfa","CustomerEndpoint":{"Address":"+14166053285","Type":"TELEPHONE_NUMBER"},"DisconnectTimestamp":"2018-11-02T17:24:01Z","InitialContactId":null,"InitiationMethod":"INBOUND","InitiationTimestamp":"2018-11-02T17:22:20Z","InstanceARN":"arn:aws:connect:us-east-1:123456789012:instance/116f759b-aaa-bbb-cccc-b0810aa8eca5","LastUpdateTimestamp":"2018-11-02T17:25:05Z","MediaStreams":[{"Type":"AUDIO"}],"NextContactId":null,"PreviousContactId":null,"Queue":null,"Recording":null,"Recordings":null,"SystemEndpoint":{"Address":"+17029049033","Type":"TELEPHONE_NUMBER"},"TransferCompletedTimestamp":null,"TransferredToEndpoint":null}' --partition-key `uuidgen`
Making some simulated calls
Create some simulated calls into the call center
In this next section, we'l setup the flow to record the audio.
Now let's test a call...