- Newest
- Most votes
- Most comments
How I would do it:
Go to CloudWatch, Log Groups
Find your Connect log group, Search all log streams
Search for { $.ContactFlowName="Flow you're looking for"}
If you find it you'll then be able search on Contact ID to understand what other flow it's connected to.
david
Outside of Cloudwatch, you could use a Set Contact Attribute block and place a dummy attribute on the call. Once the call is complete, navigate to Contact Search to locate the call and observe if the Contact Attribute was set on the call.
Iam attaching detailed steps here for your reference.
Note: Please note that for this alternative your "Contact Flows" must have the "Set Registration Behavior" block. Since this is the block that sends logs to cloudwatch.
====
-
Go to Cloudwatch, then choose "Log groups"
-
Inside the "Log groups" search for the name of your instance and select it. In the table, you will see all calls made to your instance. When selecting a record from the table, cloudwatch will show the events related to the call. Within these events, you could see the "ContactFlowName" parameter.
Please find a example below:
{ "ContactId": "b1a9a519-da44-453c-86ff-2b3b7a486ac1", "ContactFlowId": "", "ContactFlowName": "Default customer hold", "ContactFlowModuleType": "AddToPlayLoop", "Identifier": "8f409795-d5e5-4d68-99e0-720896b1393a", "Timestamp": "2023-07-31T18:21:19.236Z", "Parameters": { "AudioPrompt": "" } }
"ContactFlowName" shows the name of the contact flow that the call went through, meaning that this Contact flow is active and in use.
- Use the search bar to search for a contact flow. If Cloudwatch shows events, the searched contact flow is active and in use. However, if no events are displayed, the contact flow is not in use.
Second alternative
After doing more research on this, we found another alternative that may be even easier than the one above. With this alternative you will be able to search a "Contact flow" across all your Amazon Connect records at once instead of searching record by record. Please find the steps below:
- Go to Cloudwatch, then choose "Logs Insights"
- On the Search bar, choose your Amazon Connect instance ( Please refer to the following image as an example "Searching")
- Place the following query:
FIELDS @timestamp, @message | filter (ContactFlowName="Default customer hold")
In "ContactFlowName" put the name of your contact flow that you want to search for. This query will help you search a "Contact flow" across all your Amazon Connect records.
- Once you place the query, click on "Run query"
- If Cloudwatch shows events and data in the histogram, then the searched contact flow is active and in use. However, if no events are displayed, the contact flow is not in use.
Kindly refer to the following image as an example of an active Contact Flow ( "Active Flow") Also, kindly refer to the following image as an example of an non-active Contact Flow ( "Non-active Flow")
Relevant content
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 6 days ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 3 years ago
is there any easy way to do so? using CLi commands? i have raised this question on behalf of my customer, however I don't have access to their Contact flow. or amazon connect instance @lewis
@Ravi yes, you can use the CLI to update a contact flow. If you don't have access to to the console, then you won't be able to observe the log afterwards. You could insert a play prompt and use TTS to play a short word or phrase on the call that would let you know the contact flow is being used.
https://docs.aws.amazon.com/cli/latest/reference/connect/update-contact-flow-content.html
@Lewis Sorry for bothering you again, if could explain how updating contact-flow content would help in determining how contact flow is being used ?? how the cli command works ? Could you please draft the clear steps to setup this test scenario, i appreciate your help on this issue.