Thank you!
I had no idea that I could test the data actions individually! I went ahead and tested but got an authentication error. I don't know if this error is from PureCloud itself or from Salesforce?
I have attached the screenshotted error.
Here is the output directly:
{
"status": 403,
"code": "not.authorized",
"message": "You are not authorized to perform the requested action.",
"messageParams": {},
"contextId": "e67234e1-d8c9-44eb-9bbc-8d3020370e44",
"details": [],
"errors": [
{
"status": 403,
"code": "NOT_AUTHORIZED",
"message": "REST call for action execute failed. Message:Request to backend service failed. Response from web service: [{\"message\":\"The users password has expired, you must call SetPassword before attempting any other API operations\",\"errorCode\":\"INVALID_OPERATION_WITH_EXPIRED_PASSWORD\"}] [e67234e1-d8c9-44eb-9bbc-8d3020370e44] [e67234e1-d8c9-44eb-9bbc-8d3020370e44]",
"messageParams": {},
"details": [],
"errors": []
}
]
}
------------------------------
Alex Meyer
Sonic Foundry, Inc.
------------------------------
Original Message:
Sent: 06-08-2018 13:53
From: Melissa Bailey
Subject: Inbound Call Flow not working properly.
Hi Alex,
Check to see if the response from the salesforce action is returning 0 or more than 1 result. Have you tried using the test function for the data action? https://help.mypurecloud.com/articles/test-data-actions-integrations/ I looked at one of the failures, the input looked like
"PHONE_NUMBER": "tel:+1608*******" (not posting some guy's phone number all over the internet)
------------------------------
Melissa Bailey
Genesys - Employees
Original Message:
Sent: 06-08-2018 13:04
From: Alex Meyer
Subject: Inbound Call Flow not working properly.
Hello all,
I have an issue with the inbound bound call flow not working properly.. We are using Salesforce integration and when a caller calls in:
- Lookup the Contact by Phone Number (Success Output is Task.ContactId)
- Get Most Recent Open Case by Contact (Success Output is Task.CaseSubject)
- Prompt user on if they are calling in about most recent case
- If yes forward to ACD queue with case information for technician
- If no forward to ACD with just contact ID information
The call flow as it stands, seems to fail at the first step. The call will immediately go to the Queue flow and the technician does get the Salesforce information to show up in their SalesForce Purecloud window.
I've opened a ticket with support but I've been disappointed with their response. Attached is the screenshot of the flow as I can't upload the call flow itself...
Any feedback is greatly appreciated!
Alex
------------------------------
Alex Meyer
Sonic Foundry, Inc.
------------------------------