1 Answer
- Newest
- Most votes
- Most comments
0
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

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