1 Answer
- Newest
- Most votes
- Most comments
0
To change the outbound call number based on a contact attribute in Amazon Connect, you can use the dynamic outbound caller ID feature. Here's how you can set this up:
-
Create an outbound whisper contact flow:
- Navigate to the contact flow page in your Amazon Connect instance.
- Create a new outbound whisper flow or modify an existing one.
-
Use the "Call phone number" block:
- In your outbound whisper flow, add a "Call phone number" block.
- This block allows you to specify a custom caller ID number.
-
Set up dynamic caller ID:
- You can use an attribute to dynamically set the caller ID number.
- The attribute can be defined in a "Set contact attributes" block or returned from an AWS Lambda function.
-
Use Lambda for complex logic (optional):
- If you need to look up customer data or apply complex logic, you can use an "Invoke AWS Lambda function" block.
- The Lambda function can set an attribute based on customer data, such as location or account type.
-
Configure the "Call phone number" block:
- In the "Call phone number" block, use the attribute set by your flow or Lambda function to determine the caller ID.
- Ensure the attribute value is a phone number from your instance in E.164 format.
-
Important considerations:
- The phone number must be claimed or ported to your Amazon Connect instance.
- If the number is not in E.164 format, the system will fall back to the queue's default outbound caller ID.
- Ensure your agents have the necessary permissions to make outbound calls in their security profile.
answered 2 years ago
