Duncan_Stewart | 2017-10-20 14:05:44 UTC | #1
I have a custom action retrieving various field types from Salesforce, and testing the action directly returns all of the values that I expect. I tied it into an inbound call flow, and am using Play Audio to validate the response before I dive in to collect additional data from the caller. I have boolean values as data that are correctly reading True/False, but the Contact's first name is not resolving via Text to Speech -- it's just blank audio.
Whether I assign the value to either Task.FirstName or Flow.FirstName, or to another named attribute, I get the same result each time - Text to Speech results in a blank spot in the message, followed by the boolean resolving to True or False, depending on the values I set in Salesforce.
Since I do want to respond to the caller with the first name, as a confirmation of the transaction, I'd really like to figure this out.
Jason_Mathison | 2017-10-20 14:48:49 UTC | #2
Could you post a screenshot of audio sequence for this?
Duncan_Stewart | 2017-10-20 15:02:44 UTC | #3
<img src="//inin-prod-use1-developerforum.s3.amazonaws.com/original/1X/36a288a48d5b53b24f73af4239f8e476ce69f3da.png" width="690" height="490">
from
<img src="//inin-prod-use1-developerforum.s3.amazonaws.com/original/1X/41b29deddbb8d7b2c2defc930c736617bdd34683.png" width="335" height="500">
The test output of the action (using the same Phone Number > Contact retrieval > Contact.Id as the call) is here:
{ "firstName": "Antonia", "isPureflowwWarmer": true, "patientID": "99002.0", "shipDate": "11112017", "isPureflow": true, "deliveryDate": "11282017", "hasWastelines": false }
Jason_Mathison | 2017-10-20 15:27:37 UTC | #4
The issue seems to be that the action is returning a key of "firstName", however in architect you are trying to grab the value of the "patientName" key, which would probably be null since it isn't returned by the action.
Duncan_Stewart | 2017-10-20 15:48:26 UTC | #5
Thanks for providing a 2nd set of eyes, Jason -- consistency is key!
system | 2017-11-20 15:48:33 UTC | #6
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 1985