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

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
전문가
검토됨 하루 전
profile picture
전문가
검토됨 한 달 전
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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠