- DarkLight
Tethered Model - Disconnect Flow
- DarkLight
Note:
This is applicable from V4.2.1.2307 release.
To download the Contact Flows, click here.
The Contact Flow must be imported in the following order:
S No | Contact flow name | Contact Flow Type | No of Lambda function ARN needs to modify | Name of the Lambda function to add in contact flow |
---|---|---|---|---|
1 | CallSummaryAttributes | Module | 0 | - |
2 | StopMediaStreaming | Module | 0 | - |
3 | AEC Agent Flow MAB | Contact flow | 0 | - |
4 | AEC Empty Agent Whisper Flow | Agent Whisper | 0 | - |
5 | AEC Empty Customer Whisper Flow | Customer Whisper | 0 | - |
6 | AEC Empty Queue Flow | Customer Queue | 0 | - |
7 | AEC Master CPA Flow MAB | Contact flow | 1 | GetCustomerData |
Perform the following steps to import contact flow:
Log in to AWS account.
Go to the Routing and import the contact flows and modules from Amazon Connect:
User must import the CallSummaryAttributes and StopMediaStreaming module and map in the AEC Master CPA Flow.
Click Create contact flow.
Select the required contact flow and click Import flow. Following is the sample of a contact flow designer.
In the AEC Master CPA Flow MAB, map the CallSummaryAttributes and StopMediaStreaming modules.
In the AEC Master CPA Flow MAB, find the lambda function. Click to see the function ARN name.
Select a lambda function from the dropdown and click Save.
Click Save and Publish. If you do not get a confirmation that the contact flow was saved successfully, look for a symbol near the node. Click symbol to see the error details and take appropriate actions to clear the same.
After you have imported the contact flows, save the Phone Number to the AEC Master CPA Flow MAB.
Go to Routing > Phone Number > Edit Phone number.
From the Contact flow / IVR dropdown, select AEC Master CPA flow.
Click Save.
Configure Amazon Event Bridge
Note:
This is required only of you have configured the Agent State to Initiate Tethered Call with one of the options presented. If you are not configured this field, ignore this section. The Agent State to Initiate Tethered Call can be found in the System > Dialer Configuration page.
Configure the Event Bridge to receive the real-time events. Perform the following steps:
Go to the Amazon Event Bridge from the logged-in AWS Console page.
Select Rules from the left pane.
Enter the rule Name as AECTetheredAgentStateUpdate.
Ensure the Enable the rule on the selected event bus is selected.
Select Rule with an event pattern as Rule type.
Click Next.
Select the Event Source as AWS events or EventBridge partner events.
Go to the Event pattern section in the Creation method. Enter the Event pattern JSON string as detailed:
{ "source": [ "aws.connect", "custom.connect" ], "detail-type": [ "Amazon Connect Contact Event" ], "resources": ["<Amazon Connect Instance ARN need to be filled>"], "detail": { "initiationMethod": ["INBOUND"], "eventType": ["QUEUED"], "channel": ["VOICE"] } }
Click Next.
In the Target 1, enter the following:
Select Target type as AWS service.
Select Lambda from the Select a target dropdown list.
Select AECTetheredAgentStateUpdate from the Function dropdown list. Create a New Connection.
Expand the Additional Settings.
In the Retry policy, enter the Maximum age of event as 00 hour(s) 2 minute(s) 00 second(s).
Set the Retry attempts as 3.
Click Skip to Review and Create.
Leave other fields as it is.
Click Create rule to complete the process.