arnorhaux | 2023-06-07 21:55:03 UTC | #1
Hi there
I have created a custom field in external contact which is called "ssn" and the key field is "ssn_text". Can I pass this variable into script?
What I am trying to do is having a web page (iframe) which uses ssn as a parameter. Example url would be: https://externalwebsite.com/customerinformation.html?ssn={{ssn}}
When customer makes an inbound call, the IFRAME will load the information about the customer from an external system.
Thanks in advanced
jacobshaw | 2023-06-08 15:05:32 UTC | #2
Hi @arnorhaux You can pass a variable into a script by specifying it as an input variable in the script. I tested adding a custom field to an external contact and verified that the custom field comes back in the API response to GET /api/v2/externalcontacts/contacts. So you should be able to retrieve that data using either a data action or the Get External Contact action in architect, and pass the custom field in that way
https://help.mypurecloud.com/articles/get-external-contact-action/
system | 2023-07-09 15:05:55 UTC | #3
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: 20310