Duncan_Stewart | 2022-08-12 17:37:45 UTC | #1
I'm building a call flow integration w/ Salesforce, and I'm trying to use some of the flow variables in an audio sequence. I can verify that the variables are populated, as I can output them as text data, but when I try to output them as TTS audio, there's no response.
[08.12.22 - Duncan - hold please; researching data retrieval more closely...(ignore what follows, for now)]
Here's the text output, which renders correctly: "Patient Cycler Schema found: Cycler s/n: " + Task.CyclerSN + "Email: " + Task.PatientEmail
After this, I want to play it as audio so that it can be verified by the caller, using a Data expression in the Audio sequence: Task.PatientEmail, using Text to speech.
The Text To Speech sequences before and after the data sequence play correctly, with nothing in the middle.
Duncan_Stewart | 2022-08-12 20:16:45 UTC | #2
Take II: The data action, when tested, displays the results in JSON, but the results of the Simple schema are all blank. Where would the discrepancy be, do you know?
JSON: { "cyclerSN": "35813", "patientStreet": "350 Merrimack Street", "patientEmail": "petunia@mygardens.net", "patientState": "California", "patientCity": "Lawrence", "patientPostalCode": "01843", "patientLastName": "Bush" }
Duncan_Stewart | 2022-08-15 12:51:07 UTC | #3
With the clarity of the morning, I realized that the Schema names != attribute names of the response, i.e. Schema variable 'CyclerSN' is not the same as 'cyclerSN'. Obvious ... now.
system | 2022-09-15 12:51:59 UTC | #4
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: 15865