Last active
August 2, 2022 10:01
-
-
Save shinsaka/4024748c2df0ef2f43fddeeabec56211 to your computer and use it in GitHub Desktop.
Open form a new case with contact ID. (Amazon Connect CTI Adapter for Salesforce -- CTI Flow script)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"actions": [ | |
{ | |
"id": "uid-start", | |
"type": "SE_Start", | |
"meta": {}, | |
"controls": {}, | |
"ports": { | |
"done": "uid-001" | |
}, | |
"position": [ | |
0, | |
0 | |
] | |
}, | |
{ | |
"id": "uid-001", | |
"type": "SE_SFGetContactId", | |
"meta": {}, | |
"controls": { | |
"formattedPhoneNumber": "$.contact.parsedNumber.phone" | |
}, | |
"ports": { | |
"success": "uid-002", | |
"failure": "uid-end" | |
}, | |
"position": [ | |
160, | |
0 | |
] | |
}, | |
{ | |
"id": "uid-002", | |
"type": "SE_SFScreenpopNewRecord", | |
"meta": {}, | |
"controls": { | |
"entityName": "Case", | |
"defaultFieldValues": { | |
"ContactId": "$.actions.uid-001.results.sfContactId", | |
"amazonconnect__AC_Contact_Id__c": "$.contact.contactId" | |
} | |
}, | |
"ports": { | |
"success": "uid-end", | |
"failure": "uid-end" | |
}, | |
"position": [ | |
512, | |
0 | |
] | |
}, | |
{ | |
"id": "uid-end", | |
"type": "SE_End", | |
"meta": {}, | |
"controls": {}, | |
"ports": {}, | |
"position": [ | |
832, | |
112 | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment