Skip to content

Caller name retrive - Amazon Connect to Salesforce

0

Hi,

The Salesforce is configured with Amazon Connect using the CTI adapter. So the agents can use the Amazon connect CTI adapter to handle the calls inside the Salesforce. Now, the callers information stored at the Salesforce end.

Now, how can I search the caller name from the Salesforce using the caller ID from the Amazon Connect? I believe it involves with invoking the lambda. But if anyone could guide me on this, it would be helpful. The idea is to greet the caller by their name from the IVR itself - An idea I am exploring.

Thanks, Shiva

1 Answer
0
Accepted Answer

Hi Shiva, yes, you will need to use the "sfInvokeAPI" Lambda included with the CTI adapter package to retrieve caller name from Salesforce and play it within the IVR.

We have a workshop with step to step instructions on how to retrieve any data from Salesforce. https://catalog.us-east-1.prod.workshops.aws/workshops/8c8f65e2-3d33-443d-9865-6d8f1d6d1a91/en-US

Also, here is how you can test this Lambda https://catalog.us-east-1.prod.workshops.aws/workshops/de1d9a5a-a38c-4e3c-a870-5d467cdcce5a/en-US/02-content/03-serverless-app#test-the-sfinvokeapi-aws-lambda-function

AWS

answered 2 years ago

EXPERT

reviewed 2 years ago

  • Hi Vikas,

    Thanks for your answers. I tried the existing lambda and getting the sf_count as Zero. The contact is stored in the SF, but not sure, why it's not returning the results. Screenshot attached for reference.

    Kindly take a look.

    Enter image description here

  • I am not sure what is "Web Phone" field. In my Salesforce instance it's simply called "phone". Please check with your salesforce team to find out the mapping between sf_phone and the phone number field stored in salesforce. Also, try running your query in Salesforce's "Developer Console" first to make sure your query is working before testing Lambda. Thanks.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.