queue_position_fix_flashcards

(21 cards)

1
Q

GetContactMetrics API

A

AWS Connect API that returns real time metrics per contact including POSITION_IN_QUEUE and ESTIMATED_WAIT_TIME using the caller’s ContactId

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

POSITION_IN_QUEUE

A

Metric returned by GetContactMetrics giving the caller’s actual position in queue at that moment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

ESTIMATED_WAIT_TIME

A

Metric returned by GetContactMetrics giving predicted wait time in seconds based on handle time history

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Why not use ContactsInQueue for position

A

ContactsInQueue returns total queue size not the individual caller’s position. Every caller would hear the same number

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

MessageParticipantIteratively

A

Connect block that plays a message on a loop and fires MessagesInterrupted on a set interval to trigger recalculation logic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

MessagesInterrupted

A

Condition on MessageParticipantIteratively that fires when the interrupt frequency timer hits. Used to trigger the recalculation path in a queue loop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Why the recalculation path must reinvoke Lambda

A

Connect does not re-evaluate contact attributes automatically. If you don’t call the Lambda again on each loop the caller hears stale values every time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

EndFlowExecution in a customer queue flow

A

Ends the current flow module and returns control to the queue. Used at the end of the recalculation path to loop back to the hold music and announcement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

GetMetricData block

A

Connect block that pulls real time queue metrics like queue size and oldest contact age. Runs before the Lambda in the recalculation path to refresh queue-level attributes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Why remove input parameters from Lambda invocation

A

The new GetContactMetrics Lambda pulls ContactId and InstanceARN directly from ContactData. Passing old parameters like ContactsInQueue is unnecessary and can cause confusion or errors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

boto3-latest Lambda layer

A

Required when using newer boto3 API calls like get_contact_metrics. The bundled Lambda runtime boto3 version does not include newer APIs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

InstanceARN vs InstanceId in Connect Lambda

A

Connect passes the full InstanceARN in ContactData. You must split on forward slash to extract the InstanceId before passing to boto3 API calls

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Flat string map Lambda response

A

Connect requires Lambda to return a flat key-value dict with string values. Nested objects are not accessible via $.External in the flow

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

$.External in Connect flow

A

Namespace for accessing Lambda return values in Set Attributes or Compare blocks after an Invoke Lambda block

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

ContactData in Lambda event

A

Contains ContactId

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Why SSML does not resolve contact attributes

A

Connect does not interpolate $.Attributes values inside SSML tags. Use plain Text message type to dynamically read contact attributes like customerPosition and waitTime

17
Q

AccountName check in queue loop

A

Used to route different accounts down different recalculation paths. Accounts not matching any condition fall through to the default path

18
Q

IAM inline policy for Lambda

A

Scope connect:GetContactMetrics to the specific instance ARN. Do not use wildcard resource for Connect IAM permissions

19
Q

Execution role vs inline policy

A

Execution role is the Lambda’s identity. Inline policy is attached directly to that role granting specific permissions like calling Connect APIs

20
Q

Environment-specific Lambda naming

A

Each environment gets its own Lambda with env suffix (dev

21
Q

How to safely test a prod flow in sandbox

A

Export the prod flow JSON and do a string replace on all ARNs swapping instance IDs