I have a call flow built and cannot tell if it is being used.

0

Hello, I have a call flow built and cannot tell if it is being used. Is there an easy way to determine if a flow is currently in use (being routed to) by another flow? arn:aws:connect:us-west-2:xxx123456789 :instance/5fc65c68-a7ef-4482-9027-602a163396bc/contact-flow/00c41fd2-5a1b-427c-b645-4385a9b3xx

Ravi
已提问 9 个月前318 查看次数
3 回答
2
已接受的回答

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

profile picture
dmacias
已回答 9 个月前
profile picture
专家
已审核 1 天前
profile picture
专家
已审核 1 个月前
0

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.

profile pictureAWS
已回答 9 个月前
  • 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.

0

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.

====

  1. Go to Cloudwatch, then choose "Log groups"

  2. 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.

  1. 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:

  1. Go to Cloudwatch, then choose "Logs Insights"
  2. On the Search bar, choose your Amazon Connect instance ( Please refer to the following image as an example "Searching")
  3. 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.

  1. Once you place the query, click on "Run query"
  2. 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")

Searching.png

Active-FLow

Non Active FLow

Ravi
已回答 9 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则