- DarkLight
Non-Tethered Model
- DarkLight
Prerequisites
Make sure that the following are in place before configuring Amazon Connect CPA:
Amazon Connect Campaigns must be activated in Amazon Connect.
In addition to activating Amazon Connect Campaigns, raise a service request with Amazon Connect to activate the following under Traffic Type Request:
Campaign CPS (calls per second)
Campaign CPS Burst
Campaign Active Calls
Subscribe to and configure the Event Bridge to receive Amazon Connect events.
Importing Contact Flows in Amazon Connect
To download the Contact Flows, click here.
The contact flows 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 | Acqueon-AMD-TTS-ContactFlow | Contact flow | 0 | - |
2 | Acqueon-Default-CustomerQueue | Customer Queue | 0 | - |
3 | Acqeuon-AgentwhisperFlow | Agent whisper Flow | 0 | - |
4 | Acqueon-ContactFlow | Contact flow | 1 | - |
Acqueon-AMD-TTS-ContactFlow: This contact flow is used to play the answering machine treatment message.
Acqueon-ContactFlow: This is the master contact flow for Predictive, Progressive, and Progressive IVR. This is used to branch to other contact flows.
Acqeuon-AgentwhisperFlow: This flow uses an Agent whisper flow to play a message for the agent when the call is assigned to an agent. Customer does not hear this message.
Acqueon-Default-CustomerQueue: This represents the Customer Queue Contact flow, used to control the customer experience during the queue period before connecting with an agent. Customer queue flows are designed to be interruptible and involve actions such as playing an audio clip to apologize for any delay and providing the option for a Callback. This flow leverages the Transfer to Queue block.
Perform the following steps to Import the Contact Flows in the same order as listed:
Log in to the AWS Console > Amazon Connect.
Click Create Contact Flow.
Click Import Flow (Beta).
Select a contact flow. The contact flows are available here. Click Import.
Click Save and then click Publish to complete importing this contact flow.
Perform step 1 to 5 to import the following contact flows and modules:
Acqueon-ACOC-Default-IVR
Acqueon-ACOC-Default-AGT
Acqueon-ACOC-Whisper-CUST
Acqueon-ACOC-Whisper-AGT
Acqueon-ACOC-Default-QUE
Configuring CPA in Amazon Connect
Perform the following steps to configure Amazon Connect CPA for Native Amazon dialer:
Log in to the Amazon Web Services console.
Search and go to Amazon Connect.
Click AWS Amazon Connect Instance URL and log in to Amazon Connect instance.
In the Amazon Connect Dashboard, go to Routing > Contact Flow. The Contact Flows and Flow Modules lists the contact flows.
After importing the contact flow, perform the following tasks:
Double-click Transfer to flow and select Acqueon-ACOC-Whisper-CUST and Acqueon-ACOC-Whisper-AGT. Click Save.
Double-click Transfer to flow and select Acqueon-ACOC-Default-IVR and Acqueon-ACOC-Default-AGT. Click Save.
Map the Acqueon-ACOC-Default-QUE contact flow in the set customer queue flow node.
Configure Amazon Event Bridge
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 API destinations from the left pane and click Create API destination.
Select Create a new API destination.
Enter a Name and a Description for the destination.
Provide the API destination endpoint. For example, https://<FQDN>/<TenantName>AECATI_AmazonAdapter/api/Customer/Event
Select the HTTP method as POST.
Select Create a New Connection.
Enter a Name and a Description in the Connection section. Select the Authorization type as Basic (Username/Password). Provide the username and password for access.
Select the Destination type as Other.
In the Authorization type section, select Basic (Username/Password).
Enter a Username and a Password.
Click Create to complete creating your API destination.
Go to the Rules option in the left menu pane. Enter a Name and Description and click Next.
Select the AWS events or Event bridge partner events. Skip the Sample event section.
In the Event Pattern screen, select Custom Patterns (JSON Editor). Following is a sample event pattern.
{ "source": [ "aws.connect", "custom.connect" ], "detail-type": [ "Amazon Connect Contact Event" ], "resources": [ "arn:aws:connect: ["<Amazon Connect Instance ARN need to be filled>"] ], "detail": { "initiationMethod": [ "API", "OUTBOUND" ], "channel": [ "VOICE" ] } }
Click Next.
Select EventBridge API destination.
Select Use an existing API destination option. Select the API Destination created earlier from the dropdown.
Click Next.
Skip the Configure tags page and click Next.
Add a second target.
In the Target types section, select AWS service.
In the Select a target dropdown, select Cloudwatch log group.
Enter a name for the Cloudwatch log group.
Click Next.
In the Review and Create section, click Create rule.