Set to agents direct queue dynamically

0

Hello,

I am attempting to dynamically select a customers account manager to take incoming calls for certain accounts. I have been following the instructions here: https://docs.aws.amazon.com/connect/latest/userguide/contactflow.html#transfer-to-agent

I created a lambda function to return the agent Id

        var resultMap2 = {  
            agentID:agentid,  
        };  
          
        callback(null, resultMap2);  

This is working perfectly, and it is returning the ID to my contact flow just fine. When I go to set the working queue (by agent > use attribute > type:external attribute:agentID) It errors out.

I'm just wondering if anyone sees any glaring issues here? Or if anyone has been able to set this up? I have tried to use other agent fields like username and ARN but neither are working.

loneal
질문됨 5년 전450회 조회
1개 답변
0
수락된 답변

I've seen this when the agentId from the lambda doesn't match exactly. It's case sensitive.

This also walks you though it: https://voicefoundry.com/amazon-connect-agent-extension-dialing/

Thanks
Dan

DanBloy
답변함 5년 전

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

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

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

관련 콘텐츠