- Newest
- Most votes
- Most comments
To achieve your cross-platform transfer solution using Amazon Connect's quick connect feature, you can follow these steps:
-
When the agent selects a quick connect (queue), and the transfer to queue is triggered, you can pass the QuickConnectId or QuickConnectARN as an attribute in the contact flow.
-
In your transfer queue flow, you can access this attribute to get the quick connect information.
-
To get more details about the quick connect, including its name or ARN, you can use the DescribeQuickConnect API operation in your Lambda function.
Here's a general outline of what you need to do in your Lambda function:
- Use the AWS SDK for your preferred programming language.
- Call the DescribeQuickConnect API, passing the InstanceId and QuickConnectId.
- The API will return detailed information about the quick connect, including its name, ARN, and configuration.
For example, if you're using Node.js, your Lambda function might look something like this:
const AWS = require('aws-sdk'); const connect = new AWS.Connect(); exports.handler = async (event) => { const params = { InstanceId: 'your-instance-id', // Replace with your Connect instance ID QuickConnectId: event.Details.ContactData.Attributes.QuickConnectId // Assuming you passed this as an attribute }; try { const quickConnectDetails = await connect.describeQuickConnect(params).promise(); // Now you can use quickConnectDetails.QuickConnectARN or quickConnectDetails.Name // to look up the number you need to transfer the call externally } catch (error) { console.error('Error describing quick connect:', error); } };
Remember to grant your Lambda function the necessary IAM permissions to call the DescribeQuickConnect API.
By using this approach, you can retrieve the quick connect details, including its name or ARN, which you can then use to look up the external number for transferring the call.
Sources
DescribeQuickConnect - Amazon Connect
QuickConnect - Amazon Connect
answered 2 years ago
Relevant content
asked 3 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 2 years ago

How can I get the QuickConnectId when the agent selects the quick connect?